drasys.or.geom.geo.proj
Class Mercator
java.lang.Object
|
+--drasys.or.geom.geo.proj.Projection
|
+--drasys.or.geom.geo.proj.Mercator
- public class Mercator
- extends Projection
- implements ProjectionI
A class that implements the mercator cylindrical projection.
The ellipsoid used for the projection is initialized to the current ellipsoid in 'geo.CoordinateSystem'.
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
Methods inherited from class drasys.or.geom.geo.proj.Projection |
forward,
forwardTransform,
forwardTransform,
getEasting,
getEllipsoid,
getNorthing,
inputCoordinateSystem,
inverse,
inverseTransform,
inverseTransform,
msfn,
msfn,
outputCoordinateSystem,
phi1,
phi2,
qsfn,
setEasting,
setEllipsoid,
setNorthing,
tsfn,
tsfn |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Mercator
public Mercator(RangeI range)
Mercator
public Mercator(double centralMeridian)
getCentralMeridian
public double getCentralMeridian()
- Returns the central meridian which is the single parameter for the Mercator projection.
forward
public PointI forward(PointI point)
throws GeomException
- Returns a projected point.
Converts from the 'geo' coordinate system to the 'rect2' coordinate system.
- Specified by:
- forward in interface ProjectionI
- Throws:
- GeomException - if the latitude is not strictly greater than -90.0 and less than 90.0.
inverse
public PointI inverse(PointI point)
throws GeomException
- Returns an inverse projected point.
Converts from the 'rect2' coordinate system to the 'geo' coordinate system.
- Specified by:
- inverse in interface ProjectionI
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com