public class AzimuthalEquidistant extends AbstractProj
This implementation does not include the Guam or Micronesia variants.
Modifier and Type | Class and Description |
---|---|
static class |
AzimuthalEquidistant.Mode
The four possible modes or aspects of the projection.
|
Modifier and Type | Field and Description |
---|---|
protected double |
centralMeridian
Central longitude in radians.
|
protected double |
cosph0
The cosine of the central latitude of the projection.
|
static double |
EPS10
Less strict tolerance.
|
static double |
HALF_PI
Half of π.
|
protected double |
latitudeOfOrigin
Latitude of origin in radians.
|
protected AzimuthalEquidistant.Mode |
mode
The mode or aspect of the projection.
|
protected double |
mp
Meridian distance from the equator to the pole.
|
protected double |
semiMajor
Length of semi-major axis, in metres.
|
protected double |
semiMinor
Length of semi-minor axis, in metres.
|
protected double |
sinph0
The sine of the central latitude of the projection.
|
static double |
TOL
Stricter tolerance.
|
Constructor and Description |
---|
AzimuthalEquidistant() |
Modifier and Type | Method and Description |
---|---|
Bounds |
getAlgorithmBounds()
Return the bounds where this projection is applicable.
|
java.lang.String |
getName()
Replies a human readable name of this projection.
|
java.lang.String |
getProj4Id()
Replies the Proj.4 identifier.
|
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters.
|
double[] |
invproject(double east,
double north)
Convert east/north to lat/lon.
|
(package private) double[] |
invprojectEllipsoidal(double east,
double north) |
(package private) double[] |
invprojectSpherical(double east,
double north) |
double[] |
project(double latRad,
double lonRad)
Convert lat/lon to east/north.
|
(package private) double[] |
projectEllipsoidal(double latRad,
double lonRad) |
(package private) double[] |
projectSpherical(double latRad,
double lonRad) |
aasin, cphi2, invMlfn, isGeographic, mlfn, msfn, tsfn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lonIsLinearToEast
public static final double EPS10
public static final double TOL
public static final double HALF_PI
protected double semiMajor
protected double semiMinor
protected double centralMeridian
protected double latitudeOfOrigin
protected AzimuthalEquidistant.Mode mode
protected double sinph0
protected double cosph0
protected double mp
public AzimuthalEquidistant()
public java.lang.String getName()
Proj
public java.lang.String getProj4Id()
Proj
null
.public void initialize(ProjParameters params) throws ProjectionConfigurationException
Proj
initialize
in interface Proj
initialize
in class AbstractProj
params
- The projection parametersProjectionConfigurationException
- in case parameters are not suitablepublic Bounds getAlgorithmBounds()
Proj
public double[] project(double latRad, double lonRad)
Proj
latRad
- the latitude in radianslonRad
- the longitude in radianspublic double[] invproject(double east, double north)
Proj
east
- east value in meters, divided by the semi major axis of the ellipsoidnorth
- north value in meters, divided by the semi major axis of the ellipsoiddouble[] projectSpherical(double latRad, double lonRad)
double[] invprojectSpherical(double east, double north)
double[] projectEllipsoidal(double latRad, double lonRad)
double[] invprojectEllipsoidal(double east, double north)