com.jhlabs.map.proj
Class LinearProjection

java.lang.Object
  extended by com.jhlabs.map.proj.Projection
      extended by com.jhlabs.map.proj.LinearProjection
All Implemented Interfaces:
Serializable, Cloneable

public class LinearProjection
extends Projection

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
LinearProjection()
           
 
Method Summary
 boolean hasInverse()
          Returns true if this projection has an inverse
 void inverseTransform(double[] srcPoints, int srcOffset, double[] dstPoints, int dstOffset, int numPoints)
          Inverse-project a number of points (in metres), producing a lat/long result in degrees
 Point2D.Double inverseTransform(Point2D.Double src, Point2D.Double dst)
          Inverse-project a point (in metres), producing a lat/long result in degrees
 boolean isRectilinear()
          Returns true if lat/long lines form a rectangular grid for this projection.
 String toString()
           
 void transform(double[] srcPoints, int srcOffset, double[] dstPoints, int dstOffset, int numPoints)
          Project a number of lat/long points (in degrees), producing a result in metres
 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, initialize, inside, 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, transformRadians, transformRadians, transformRadians
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearProjection

public LinearProjection()
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

transform

public void transform(double[] srcPoints,
                      int srcOffset,
                      double[] dstPoints,
                      int dstOffset,
                      int numPoints)
Description copied from class: Projection
Project a number of lat/long points (in degrees), producing a result in metres

Overrides:
transform in class Projection

inverseTransform

public Point2D.Double inverseTransform(Point2D.Double src,
                                       Point2D.Double dst)
Description copied from class: Projection
Inverse-project a point (in metres), producing a lat/long result in degrees

Overrides:
inverseTransform in class Projection

inverseTransform

public void inverseTransform(double[] srcPoints,
                             int srcOffset,
                             double[] dstPoints,
                             int dstOffset,
                             int numPoints)
Description copied from class: Projection
Inverse-project a number of points (in metres), producing a lat/long result in degrees

Overrides:
inverseTransform 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

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.