com.jhlabs.map.proj
Class SimpleConicProjection

java.lang.Object
  extended by com.jhlabs.map.proj.Projection
      extended by com.jhlabs.map.proj.ConicProjection
          extended by com.jhlabs.map.proj.SimpleConicProjection
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Murdoch1Projection, Murdoch2Projection, Murdoch3Projection, PerspectiveConicProjection, VitkovskyProjection

public class SimpleConicProjection
extends ConicProjection

See Also:
Serialized Form

Field Summary
static int MURD1
           
static int MURD2
           
static int MURD3
           
static int PCONIC
           
static int VITK1
           
 
Fields inherited from class com.jhlabs.map.proj.ConicProjection
CONIC_LAT_DEG, projectionLatitude1, projectionLatitude2
 
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
SimpleConicProjection()
           
SimpleConicProjection(int type)
           
 
Method Summary
 boolean hasInverse()
          Returns true if this projection has an inverse
 void initialize()
          Initialize the projection.
 Point2D.Double project(double lplam, double lpphi, Point2D.Double out)
          The method which actually does the projection.
 Point2D.Double projectInverse(double xyx, double xyy, Point2D.Double out)
          The method which actually does the inverse projection.
 String toString()
           
 
Methods inherited from class com.jhlabs.map.proj.ConicProjection
getProjectionLatitude1, getProjectionLatitude1Degrees, getProjectionLatitude2, getProjectionLatitude2Degrees, setProjectionLatitude, setProjectionLatitude1, setProjectionLatitude1Degrees, setProjectionLatitude2, setProjectionLatitude2Degrees
 
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, inside, inverseTransform, inverseTransform, inverseTransform, inverseTransformRadians, inverseTransformRadians, inverseTransformRadians, isConformal, isEqualArea, isRectilinear, main, parallelsAreParallel, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setScaleFactor, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, testBinarySearchInverse, transform, transform, transform, transform, transformRadians, transformRadians, transformRadians
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MURD1

public static final int MURD1
See Also:
Constant Field Values

MURD2

public static final int MURD2
See Also:
Constant Field Values

MURD3

public static final int MURD3
See Also:
Constant Field Values

PCONIC

public static final int PCONIC
See Also:
Constant Field Values

VITK1

public static final int VITK1
See Also:
Constant Field Values
Constructor Detail

SimpleConicProjection

public SimpleConicProjection()

SimpleConicProjection

public SimpleConicProjection(int type)
Method Detail

toString

public String toString()
Overrides:
toString in class ConicProjection

project

public Point2D.Double project(double lplam,
                              double lpphi,
                              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:
lplam - Longitude in radians.
lpphi - Latitude in radians.
out - The projected point.
Returns:
The projected point, identical to parameter dst.

projectInverse

public Point2D.Double projectInverse(double xyx,
                                     double xyy,
                                     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

initialize

public void initialize()
Description copied from class: Projection
Initialize the projection. This should be called after setting parameters and before using the projection. This is for performance reasons as initialization may be expensive.

Overrides:
initialize in class Projection


Copyright © 2011. All Rights Reserved.