|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.projection.proj.TransverseMercator
public class TransverseMercator
Transverse Mercator projection.
Field Summary | |
---|---|
protected double |
a
|
protected double |
b
|
Constructor Summary | |
---|---|
TransverseMercator()
|
Method Summary | |
---|---|
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()
A Human readable name of this projection. |
java.lang.String |
getProj4Id()
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double a
protected double b
Constructor Detail |
---|
public TransverseMercator()
Method Detail |
---|
public java.lang.String getName()
Proj
getName
in interface Proj
public java.lang.String getProj4Id()
Proj
getProj4Id
in interface Proj
public void initialize(ProjParameters params) throws ProjectionConfigurationException
Proj
initialize
in interface Proj
ProjectionConfigurationException
- in case parameters are not suitablepublic double[] project(double phi, double lambda)
project
in interface Proj
phi
- Latitude of the point, in radianslambda
- Longitude of the point, in radians
public double[] invproject(double x, double y)
invproject
in interface Proj
x
- 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 ellipsoid
private double ArcLengthOfMeridian(double phi)
phi
- Latitude of the point, in radians
private double footpointLatitude(double y)
y
- northing coordinate, in meters, divided by the semi major axis of the ellipsoid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |