com.jhlabs.map.proj
Class MercatorProjection
java.lang.Object
com.jhlabs.map.proj.Projection
com.jhlabs.map.proj.CylindricalProjection
com.jhlabs.map.proj.MercatorProjection
- All Implemented Interfaces:
- Serializable, Cloneable
public class MercatorProjection
- extends CylindricalProjection
- See Also:
- Serialized Form
Fields inherited from class com.jhlabs.map.proj.Projection |
a, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, projectionLatitude, projectionLongitude, rone_es, RTD, scaleFactor, spherical, trueScaleLatitude |
Methods inherited from class com.jhlabs.map.proj.Projection |
binarySearchInverse, binarySearchInverse, clone, getEllipsoid, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPROJ4Description, getProjectionDescription, getProjectionLatitude, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, initialize, inside, inverseTransform, inverseTransform, inverseTransform, inverseTransformRadians, inverseTransformRadians, inverseTransformRadians, isEqualArea, main, parallelsAreParallel, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setProjectionLatitude, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setScaleFactor, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, testBinarySearchInverse, transform, transform, transform, transform, transformRadians, transformRadians, transformRadians |
MercatorProjection
public MercatorProjection()
project
public Point2D.Double project(double lam,
double phi,
Point2D.Double out)
- Description copied from class:
Projection
- The method which actually does the projection. This should be overridden
for all projections.
- Overrides:
project
in class Projection
- Parameters:
lam
- Longitude in radians.phi
- Latitude in radians.out
- The projected point.
- Returns:
- The projected point, identical to parameter dst.
projectInverse
public Point2D.Double projectInverse(double x,
double y,
Point2D.Double out)
- Description copied from class:
Projection
- The method which actually does the inverse projection. This should be overridden for all projections.
- Overrides:
projectInverse
in class Projection
hasInverse
public boolean hasInverse()
- Description copied from class:
Projection
- Returns true if this projection has an inverse
- Overrides:
hasInverse
in class Projection
isConformal
public boolean isConformal()
- Description copied from class:
Projection
- Returns true if this projection is conformal
- Overrides:
isConformal
in class Projection
getEPSGCode
public int getEPSGCode()
- Returns the ESPG code for this projection, or 0 if unknown.
- Overrides:
getEPSGCode
in class Projection
toString
public String toString()
- Overrides:
toString
in class CylindricalProjection
Copyright © 2011. All Rights Reserved.