|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.data.projection.proj.Mercator
public class Mercator
Mercator Projection.
| Constructor Summary | |
|---|---|
Mercator()
|
|
| Method Summary | |
|---|---|
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 east,
double north)
Convert east/north to lat/lon. |
double[] |
project(double lat_rad,
double lon_rad)
Convert lat/lon to east/north. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mercator()
| Method Detail |
|---|
public java.lang.String getName()
Proj
getName in interface Projpublic java.lang.String getProj4Id()
Proj
getProj4Id in interface Proj
public void initialize(ProjParameters params)
throws ProjectionConfigurationException
Proj
initialize in interface ProjProjectionConfigurationException - in case parameters are not suitable
public double[] project(double lat_rad,
double lon_rad)
Proj
project in interface Projlat_rad - the latitude in radianslon_rad - the longitude in radians
public double[] invproject(double east,
double north)
Proj
invproject in interface Projeast - 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 ellipsoid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||