ilog.views.maps.tiling
Class IlvAreaOfInterestTile

java.lang.Object
  extended by ilog.views.tiling.IlvTile
      extended by ilog.views.tiling.IlvFreeTile
          extended by ilog.views.maps.IlvMapFreeTile
              extended by ilog.views.maps.tiling.IlvAreaOfInterestTile
All Implemented Interfaces:
IlvPersistentObject, IlvGeoreferencedTile

public class IlvAreaOfInterestTile
extends IlvMapFreeTile
implements IlvGeoreferencedTile

A IlvMapFreeTile that stores longitude and latitude bounds (for reprojection purposes).

Since:
JViews 7.5

Field Summary
 
Fields inherited from class ilog.views.tiling.IlvTile
CACHED, EMPTY, LOCKED
 
Constructor Summary
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).
 
Method Summary
 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
 
Methods inherited from class ilog.views.maps.IlvMapFreeTile
addObject, removeObject
 
Methods inherited from class ilog.views.tiling.IlvFreeTile
boundingBox, boundingPoints, deleteAll, equals, hashCode, isObjectShared, isPersistent, reDraw, toString
 
Methods inherited from class ilog.views.tiling.IlvTile
getColumn, getController, getLocks, getObject, getRow, getStatus, isLoadComplete, loadComplete, notifyError
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvAreaOfInterestTile

public 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). These georefererenced bounds are used when this tile is reprojected The tile is created to be used with the specified tile controller.

Parameters:
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.

IlvAreaOfInterestTile

public IlvAreaOfInterestTile(IlvInputStream stream)
                      throws IlvReadFileException
Constructs a IlvAreaOfInterestTile from the specified input stream.

Parameters:
stream - The IlvInputStream from which to construct this tile.
Throws:
IlvReadFileException - if an error was encountered when deserializing this object.
Method Detail

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the tile loader to an IlvOutputStream

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvFreeTile
Parameters:
stream - the output stream
Throws:
IOException - thrown when an exception occurs during the write operation for this object.

getGeoreferencedBounds

public void getGeoreferencedBounds(IlvRect bounds)
Returns the longitude and latitude bounds of the area represented by this tile.

Specified by:
getGeoreferencedBounds in interface IlvGeoreferencedTile
Parameters:
bounds - The IlvRect in which to store the georeferenced bounds.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.