com.jhlabs.map.proj
Class NullProjection
java.lang.Object
com.jhlabs.map.proj.Projection
com.jhlabs.map.proj.NullProjection
- All Implemented Interfaces:
- Serializable, Cloneable
public class NullProjection
- extends Projection
A projection which does nothing. Use this for drawing non-geographical overlays.
- 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, getEPSGCode, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPROJ4Description, getProjectionDescription, getProjectionLatitude, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, hasInverse, initialize, inside, inverseTransform, inverseTransform, inverseTransform, inverseTransformRadians, inverseTransformRadians, inverseTransformRadians, isConformal, isEqualArea, main, parallelsAreParallel, project, projectInverse, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setProjectionLatitude, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setScaleFactor, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, testBinarySearchInverse, transform, transform, transform, transformRadians, transformRadians, transformRadians |
NullProjection
public NullProjection()
transform
public Point2D.Double transform(Point2D.Double src,
Point2D.Double dst)
- Description copied from class:
Projection
- Project a lat/long point (in degrees), producing a result in metres
- Overrides:
transform
in class Projection
projectPath
public Shape projectPath(Shape path,
AffineTransform t,
boolean filled)
getBoundingShape
public Shape getBoundingShape()
isRectilinear
public boolean isRectilinear()
- Description copied from class:
Projection
- Returns true if lat/long lines form a rectangular grid for this projection.
This is generally only the case for cylindrical projections, but not
for oblique cylindrical projections.
- Overrides:
isRectilinear
in class Projection
toString
public String toString()
- Overrides:
toString
in class Projection
Copyright © 2011. All Rights Reserved.