com.jhlabs.map.proj
Class NullProjection

java.lang.Object
  extended by com.jhlabs.map.proj.Projection
      extended by 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

Field Summary
 
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
 
Constructor Summary
NullProjection()
           
 
Method Summary
 Shape getBoundingShape()
           
 boolean isRectilinear()
          Returns true if lat/long lines form a rectangular grid for this projection.
 Shape projectPath(Shape path, AffineTransform t, boolean filled)
           
 String toString()
           
 Point2D.Double transform(Point2D.Double src, Point2D.Double dst)
          Project a lat/long point (in degrees), producing a result in metres
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullProjection

public NullProjection()
Method Detail

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.