|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.projection.proj.LonLat
public class LonLat
Simple Lat/Lon (pseudo-)projection.
Field Summary | |
---|---|
private double |
a
|
Constructor Summary | |
---|---|
LonLat()
|
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 |
Field Detail |
---|
private double a
Constructor Detail |
---|
public LonLat()
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 lat_rad, double lon_rad)
Proj
project
in interface Proj
lat_rad
- the latitude in radianslon_rad
- the longitude in radians
public double[] invproject(double east, double north)
Proj
invproject
in interface 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 ellipsoid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |