public class MolleweideProjection extends PseudoCylindricalProjection
Modifier and Type | Field and Description |
---|---|
static int |
MOLLEWEIDE |
static int |
WAGNER4 |
static int |
WAGNER5 |
a, alpha, DTR, e, ellipsoid, EPS10, es, falseEasting, falseNorthing, fromMetres, geocentric, lonc, maxLatitude, maxLongitude, minLatitude, minLongitude, name, one_es, projectionLatitude, projectionLatitude1, projectionLatitude2, projectionLongitude, rone_es, RTD, scaleFactor, spherical, totalScale, trueScaleLatitude, unit
Constructor and Description |
---|
MolleweideProjection() |
MolleweideProjection(double p) |
MolleweideProjection(double cx,
double cy,
double cp) |
MolleweideProjection(int type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that)
Represents quality between possible outputs of
Projection.project(ProjCoordinate, ProjCoordinate) . |
int |
hashCode()
Hash of those fields considered in Projection equalituy.
|
boolean |
hasInverse()
Tests whether this projection has an inverse.
|
void |
init(double p) |
boolean |
isEqualArea()
Tests whether this projection is equal-area
An equal-area projection preserves relative sizes
of projected areas.
|
ProjCoordinate |
project(double lplam,
double lpphi,
ProjCoordinate xy)
Computes the projection of a given point
(i.e. from geographics to projection space).
|
ProjCoordinate |
projectInverse(double x,
double y,
ProjCoordinate lp)
Computes the inverse projection of a given point
(i.e. from projection space to geographics).
|
String |
toString() |
isRectilinear
clone, getAlpha, getAxisOrder, getEllipsoid, getEPSGCode, getEquatorRadius, getFalseEasting, getFalseNorthing, getFromMetres, getHeightOfOrbit, getLonC, getMaxLatitude, getMaxLatitudeDegrees, getMaxLongitude, getMaxLongitudeDegrees, getMinLatitude, getMinLatitudeDegrees, getMinLongitude, getMinLongitudeDegrees, getName, getPrimeMeridian, getPROJ4Description, getProjectionLatitude, getProjectionLatitude1, getProjectionLatitude1Degrees, getProjectionLatitude2, getProjectionLatitude2Degrees, getProjectionLatitudeDegrees, getProjectionLongitude, getProjectionLongitudeDegrees, getScaleFactor, getSouthernHemisphere, getTrueScaleLatitude, getTrueScaleLatitudeDegrees, getUnits, initialize, inside, inverseProject, inverseProjectRadians, isConformal, isGeographic, normalizeLongitude, normalizeLongitudeRadians, parallelsAreParallel, project, projectRadians, setAlphaDegrees, setAxisOrder, setEllipsoid, setFalseEasting, setFalseNorthing, setFromMetres, setGamma, setHeightOfOrbit, setLonCDegrees, setMaxLatitude, setMaxLongitude, setMaxLongitudeDegrees, setMinLatitude, setMinLongitude, setMinLongitudeDegrees, setName, setPrimeMeridian, setProjectionLatitude, setProjectionLatitude1, setProjectionLatitude1Degrees, setProjectionLatitude2, setProjectionLatitude2Degrees, setProjectionLatitudeDegrees, setProjectionLongitude, setProjectionLongitudeDegrees, setRadius, setScaleFactor, setSouthernHemisphere, setTrueScaleLatitude, setTrueScaleLatitudeDegrees, setUnits
public static final int MOLLEWEIDE
public static final int WAGNER4
public static final int WAGNER5
public MolleweideProjection()
public MolleweideProjection(int type)
public MolleweideProjection(double p)
public MolleweideProjection(double cx, double cy, double cp)
public void init(double p)
public ProjCoordinate project(double lplam, double lpphi, ProjCoordinate xy)
Projection
project
in class Projection
lplam
- the geographic x ordinate (in radians)lpphi
- the geographic y ordinatee (in radians)xy
- the projected coordinate (in coordinate system units)public ProjCoordinate projectInverse(double x, double y, ProjCoordinate lp)
Projection
projectInverse
in class Projection
x
- the projected x ordinate (in coordinate system units)y
- the projected y ordinate (in coordinate system units)lp
- the inverse-projected geographic coordinate (in radians)public boolean hasInverse()
Projection
Projection.inverseProject(ProjCoordinate, ProjCoordinate)
and Projection.inverseProjectRadians(ProjCoordinate, ProjCoordinate)
methods will return meaningful results.hasInverse
in class Projection
public boolean isEqualArea()
Projection
isEqualArea
in class Projection
public String toString()
toString
in class PseudoCylindricalProjection
public boolean equals(Object that)
Projection
Projection.project(ProjCoordinate, ProjCoordinate)
.
Subclasses of Projection should capture additional state that is used in the project method and delgate to base.
Note: The name of the projection is not part of equality.equals
in class Projection
public int hashCode()
Projection
hashCode
in class Projection
Copyright © 2021. All rights reserved.