ilog.views.maps.grids
Interface IlvGridZone

All Superinterfaces:
IlvPersistentObject
All Known Implementing Classes:
IlvLatLonRectangleGridZone, IlvMGRSGridZone

public interface IlvGridZone
extends IlvPersistentObject

A Grid zone is a rectangular area in projected coordinates. An instance of this interface must be able to return the projection used and the projected bounds

Since:
JViews 7.5

Method Summary
 Rectangle2D.Double computeXYBounds()
          Returns a projected bounding rectangle of this grid zone.
 IlvProjection getProjection()
          Returns the projection to be used by inside this grid zone.
 String getSubgridIdentification(double x, double y)
          Returns the identification (displayed in grid center) of the grid subzone.
 
Methods inherited from interface ilog.views.io.IlvPersistentObject
write
 

Method Detail

computeXYBounds

Rectangle2D.Double computeXYBounds()
Returns a projected bounding rectangle of this grid zone.

Returns:
The bounding Rectangle of this grid zone.

getProjection

IlvProjection getProjection()
Returns the projection to be used by inside this grid zone.

Returns:
Returns the projection to be used by inside this grid zone.

getSubgridIdentification

String getSubgridIdentification(double x,
                                double y)
Returns the identification (displayed in grid center) of the grid subzone.

Parameters:
x - Projected x coordinate of subgrid center.
y - Projected y coordinate of subgrid center.
Returns:
A string.


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