com.jhlabs.map.proj
Class MollweideProjection

java.lang.Object
  extended by com.jhlabs.map.proj.Projection
      extended by com.jhlabs.map.proj.PseudoCylindricalProjection
          extended by com.jhlabs.map.proj.MollweideProjection
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Wagner4Projection, Wagner5Projection

public class MollweideProjection
extends PseudoCylindricalProjection

See Also:
Serialized Form

Field Summary
static int MOLLWEIDE
           
static int WAGNER4
           
static int WAGNER5
           
 
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
MollweideProjection()
           
MollweideProjection(double p)
           
MollweideProjection(double cx, double cy, double cp)
           
MollweideProjection(int type)
           
 
Method Summary
 boolean hasInverse()
          Returns true if this projection has an inverse
 void init(double p)
           
 boolean isEqualArea()
          Returns true if this projection is equal area
 Point2D.Double project(double lplam, double lpphi, Point2D.Double xy)
          The method which actually does the projection.
 Point2D.Double projectInverse(double x, double y, Point2D.Double lp)
          The method which actually does the inverse projection.
 String toString()
           
 
Methods inherited from class com.jhlabs.map.proj.PseudoCylindricalProjection
parallelsAreParallel
 
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, inverseTransform, inverseTransform, inverseTransformRadians, inverseTransformRadians, inverseTransformRadians, isConformal, isRectilinear, main, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MOLLWEIDE

public static final int MOLLWEIDE
See Also:
Constant Field Values

WAGNER4

public static final int WAGNER4
See Also:
Constant Field Values

WAGNER5

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

MollweideProjection

public MollweideProjection()

MollweideProjection

public MollweideProjection(int type)

MollweideProjection

public MollweideProjection(double p)

MollweideProjection

public MollweideProjection(double cx,
                           double cy,
                           double cp)
Method Detail

init

public void init(double p)

project

public Point2D.Double project(double lplam,
                              double lpphi,
                              Point2D.Double xy)
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.
xy - The projected point.
Returns:
The projected point, identical to parameter dst.

projectInverse

public Point2D.Double projectInverse(double x,
                                     double y,
                                     Point2D.Double lp)
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

isEqualArea

public boolean isEqualArea()
Description copied from class: Projection
Returns true if this projection is equal area

Overrides:
isEqualArea in class Projection

toString

public String toString()
Overrides:
toString in class PseudoCylindricalProjection


Copyright © 2011. All Rights Reserved.