public class EquidistantCylindrical extends AbstractProj
standard_parallel_1
is 0°, this projection is also called Plate Carree or Equirectangular.
This is used in, for example, WGS84 / Plate Carree (EPSG:32662).
References:
Modifier and Type | Field and Description |
---|---|
private double |
cosStandardParallel
Cosinus of the
"standard_parallel_1" parameter. |
Constructor and Description |
---|
EquidistantCylindrical() |
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.
|
double[] |
project(double latRad,
double lonRad)
Convert lat/lon to east/north.
|
aasin, cphi2, invMlfn, isGeographic, mlfn, msfn, tsfn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lonIsLinearToEast
private double cosStandardParallel
"standard_parallel_1"
parameter.public EquidistantCylindrical()
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 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 ellipsoidpublic Bounds getAlgorithmBounds()
Proj