public class TransverseMercator extends java.lang.Object implements Proj
| Constructor and Description |
|---|
TransverseMercator() |
| Modifier and Type | Method and Description |
|---|---|
private double |
ArcLengthOfMeridian(double phi)
ArcLengthOfMeridian
Computes the ellipsoidal distance from the equator to a point at a
given latitude.
|
private double |
footpointLatitude(double y)
FootpointLatitude
Computes the footpoint latitude for use in converting transverse
Mercator coordinates to ellipsoidal coordinates.
|
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 x,
double y)
Converts x and y coordinates in the Transverse Mercator projection to
a latitude/longitude pair.
|
double[] |
project(double phi,
double lambda)
Converts a latitude/longitude pair to x and y coordinates in the
Transverse Mercator projection.
|
public TransverseMercator()
public java.lang.String getName()
Projpublic java.lang.String getProj4Id()
ProjgetProj4Id in interface Projnull.public void initialize(ProjParameters params) throws ProjectionConfigurationException
Projinitialize in interface Projparams - The projection parametersProjectionConfigurationException - in case parameters are not suitablepublic double[] project(double phi, double lambda)
public double[] invproject(double x, double y)
invproject in interface Projx - The easting of the point, in meters, divided by the semi major axis of the ellipsoidy - The northing of the point, in meters, divided by the semi major axis of the ellipsoidprivate double ArcLengthOfMeridian(double phi)
phi - Latitude of the point, in radiansprivate double footpointLatitude(double y)
y - northing coordinate, in meters, divided by the semi major axis of the ellipsoid