drasys.or.geom.geo.proj
Interface ProjectionI

All Known Subinterfaces:
ConicI
All Known Implementing Classes:
Conic, Projection, Mercator, Albers, LambertConic

public interface ProjectionI
extends TransformI

An interface used to abstractly access all geographic projections.

References:

Map Projections : A Reference Manual
    Lev M. Bugayevskiy, John P. Snyder / Hardcover / Published 1995
Flattening the Earth : Two Thousand Years of Map Projections
    John P. Synder, John P. Snyder / Paperback / Published 1997


Method Summary
 PointI forward(PointI point)
          Returns a projected point.
 RangeI forward(RangeI range)
          Returns a projected range.
 double getEasting()
          Gets the easting value for the projection.
 double getNorthing()
          Gets the northing value for the projection.
 PointI inverse(PointI point)
          Returns an inverse projected point.
 RangeI inverse(RangeI range)
          Returns an inverse projected range.
 void setEasting(double easting)
          Sets the easting value for the projection.
 void setEllipsoid(EllipsoidI ellipsoid)
           
 void setNorthing(double northing)
          Sets the northing value for the projection.
 
Methods inherited from interface drasys.or.geom.TransformI
forwardTransform, forwardTransform, inputCoordinateSystem, inverseTransform, inverseTransform, outputCoordinateSystem
 

Method Detail

setEllipsoid

public void setEllipsoid(EllipsoidI ellipsoid)

setEasting

public void setEasting(double easting)
Sets the easting value for the projection. The easting value will be added to all projected 'x' coordinates after the transform and subtracted from from all inverse projected 'x' coordinates before the inverse transform.

getEasting

public double getEasting()
Gets the easting value for the projection. The easting value will be added to all projected 'x' coordinates after the transform and subtracted from from all inverse projected 'x' coordinates before the inverse transform.

setNorthing

public void setNorthing(double northing)
Sets the northing value for the projection. The northing value will be added to all projected 'y' coordinates after the transform and subtracted from from all inverse projected 'y' coordinates before the inverse transform.

getNorthing

public double getNorthing()
Gets the northing value for the projection. The northing value will be added to all projected 'y' coordinates after the transform and subtracted from from all inverse projected 'y' coordinates before the inverse transform.

forward

public PointI forward(PointI point)
               throws GeomException
Returns a projected point. Converts from the 'geo' coordinate system to the 'rect2' coordinate system.

inverse

public PointI inverse(PointI point)
               throws GeomException
Returns an inverse projected point. Converts from the 'rect2' coordinate system to the 'geo' coordinate system.

forward

public RangeI forward(RangeI range)
               throws GeomException
Returns a projected range. Converts from the 'geo' coordinate system to the 'rect2' coordinate system.

inverse

public RangeI inverse(RangeI range)
               throws GeomException
Returns an inverse projected range. Converts from the 'rect2' coordinate system to the 'geo' coordinate system.


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