drasys.or.geom.geo
Interface RangeI

All Known Implementing Classes:
Range

public interface RangeI
extends GeoI, RangeI

An interface to abstractly access a range in the geographic coordinate system. A geographic range is defined by two boundary points. Boundary point '1' defines the southwest corner of the range and point '2' defines the northeast corner.


Method Summary
 PointI centroid()
          Returns the centroid center point of the range.
 double east()
          Returns the longitude of the east boundary for the range.
 double north()
          Returns the latitude of the north boundary for the range.
 PointI northeast()
          Returns the boundary point that defines the northeast corner of the range.
 double south()
          Returns the latitude of the south boundary for the range.
 PointI southwest()
          Returns the boundary point that defines the southwest corner of the range.
 double west()
          Returns the longitude of the west boundary for the range.
 
Methods inherited from interface drasys.or.geom.geo.GeoI
distanceProxyTo, distanceTo, ellipsoid, nearestPointTo, range
 
Methods inherited from interface drasys.or.geom.RangeI
boundPoint, coordinateSystem, getExpandedRange, getMax, getMin, includes
 
Methods inherited from interface drasys.or.geom.GeomI
getCentroid, getDistanceProxyTo, getDistanceTo, getNearestPointTo, getRange
 

Method Detail

east

public double east()
Returns the longitude of the east boundary for the range.

west

public double west()
Returns the longitude of the west boundary for the range.

north

public double north()
Returns the latitude of the north boundary for the range.

south

public double south()
Returns the latitude of the south boundary for the range.

southwest

public PointI southwest()
Returns the boundary point that defines the southwest corner of the range.

northeast

public PointI northeast()
Returns the boundary point that defines the northeast corner of the range.

centroid

public PointI centroid()
Returns the centroid center point of the range.
Specified by:
centroid in interface GeoI


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com