ilog.views.maps.grids
Class IlvLatLonRectangleGridZone

java.lang.Object
  extended by ilog.views.maps.grids.IlvLatLonRectangleGridZone
All Implemented Interfaces:
IlvPersistentObject, IlvGridZone
Direct Known Subclasses:
IlvMGRSGridZone

public abstract class IlvLatLonRectangleGridZone
extends Object
implements IlvPersistentObject, IlvGridZone

This class represents a grid zone included in a lat/lon rectangle.

Since:
JViews 7.5

Constructor Summary
IlvLatLonRectangleGridZone()
          Default constructor.
 
Method Summary
 Rectangle2D.Double computeXYBounds()
          Computes a bounding rectangle of this grid zone by projecting its lat/lon corners and the middle points on the lat/lon borders.
 double getLatMax()
          Returns the maximal latitude of this grid zone.
 double getLatMed()
          Returns the median latitude of this grid zone.
 double getLatMin()
          Returns the minimal latitude of this grid zone.
 double getLonMax()
          Returns the maximal longitude of this grid zone.
 double getLonMed()
          Returns the median longitude of this grid zone.
 double getLonMin()
          Returns the minimal longitude of this grid zone.
protected  void setLatMax(double latMax)
          Sets the maximum latitude of the zone.
protected  void setLatMin(double latMin)
          Sets the minimum latitude of the zone.
protected  void setLonMax(double lonMax)
          Sets the maximum longitude of the zone.
protected  void setLonMin(double lonMin)
          Sets the minimum longitude of the zone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.views.maps.grids.IlvGridZone
getProjection, getSubgridIdentification
 

Constructor Detail

IlvLatLonRectangleGridZone

public IlvLatLonRectangleGridZone()
Default constructor.

Method Detail

setLatMax

protected void setLatMax(double latMax)
Sets the maximum latitude of the zone.

Parameters:
latMax - The latMax to set.

setLatMin

protected void setLatMin(double latMin)
Sets the minimum latitude of the zone.

Parameters:
latMin - The latMin to set.

setLonMax

protected void setLonMax(double lonMax)
Sets the maximum longitude of the zone.

Parameters:
lonMax - The lonMax to set.

setLonMin

protected void setLonMin(double lonMin)
Sets the minimum longitude of the zone.

Parameters:
lonMin - The lonMin to set.

computeXYBounds

public Rectangle2D.Double computeXYBounds()
Computes a bounding rectangle of this grid zone by projecting its lat/lon corners and the middle points on the lat/lon borders.

Specified by:
computeXYBounds in interface IlvGridZone
Returns:
The bounding Rectangle of this grid zone.

getLatMax

public double getLatMax()
Returns the maximal latitude of this grid zone.

Returns:
The maximal latitude of this grid zone.

getLatMed

public double getLatMed()
Returns the median latitude of this grid zone.

Returns:
The median latitude of this grid zone.

getLatMin

public double getLatMin()
Returns the minimal latitude of this grid zone.

Returns:
The minimal latitude of this grid zone.

getLonMax

public double getLonMax()
Returns the maximal longitude of this grid zone.

Returns:
The maximal longitude of this grid zone.

getLonMed

public double getLonMed()
Returns the median longitude of this grid zone.

Returns:
The median longitude of this grid zone.

getLonMin

public double getLonMin()
Returns the minimal longitude of this grid zone.

Returns:
The minimal longitude of this grid zone.


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