public class IlvAreaOfInterestTile extends IlvMapFreeTile implements IlvGeoreferencedTile
IlvMapFreeTile
that stores longitude and latitude bounds (for reprojection purposes).Constructor and Description |
---|
IlvAreaOfInterestTile(IlvInputStream stream)
Constructs a
IlvAreaOfInterestTile from the specified input stream. |
IlvAreaOfInterestTile(Point2D tileP1,
Point2D tileP2,
IlvTileController controller,
double lonMin,
double latMin,
double lonMax,
double latMax)
Constructs a
IlvAreaOfInterestTile whose bounds are specified as well as georeferenced bounds
(in longitude and latitude). |
Modifier and Type | Method and Description |
---|---|
void |
getGeoreferencedBounds(IlvRect bounds)
Returns the longitude and latitude bounds of the area represented by this tile.
|
void |
write(IlvOutputStream stream)
Writes the tile loader to an
IlvOutputStream |
addObject, removeObject
boundingBox, boundingPoints, deleteAll, equals, hashCode, isObjectShared, isPersistent, reDraw, toString
getColumn, getController, getLocks, getObject, getRow, getStatus, isLoadComplete, loadComplete, notifyError
public IlvAreaOfInterestTile(Point2D tileP1, Point2D tileP2, IlvTileController controller, double lonMin, double latMin, double lonMax, double latMax)
IlvAreaOfInterestTile
whose bounds are specified as well as georeferenced bounds
(in longitude and latitude). These georefererenced bounds are used when this tile is reprojected
The tile is created to be used with the specified tile controller.tileP1
- Upper left coordinate of the tile.tileP2
- Lower right coordinate of the tile.controller
- The IlvTileController
to which this tile will be added.lonMin
- Minimum longitude of the area represented by this tile.latMin
- Minimum latitude of the area represented by this tile.lonMax
- Maximum longitude of the area represented by this tile.latMax
- Maximum latitude of the area represented by this tile.public IlvAreaOfInterestTile(IlvInputStream stream) throws IlvReadFileException
IlvAreaOfInterestTile
from the specified input stream.stream
- The IlvInputStream
from which to construct this tile.IlvReadFileException
- if an error was encountered when deserializing this object.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
write
in interface IlvPersistentObject
write
in class IlvFreeTile
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.public void getGeoreferencedBounds(IlvRect bounds)
getGeoreferencedBounds
in interface IlvGeoreferencedTile
bounds
- The IlvRect
in which to store the georeferenced bounds.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.