org.openstreetmap.josm.data.projection.datum
Class CentricDatum
java.lang.Object
org.openstreetmap.josm.data.projection.datum.AbstractDatum
org.openstreetmap.josm.data.projection.datum.CentricDatum
- All Implemented Interfaces:
- Datum
public class CentricDatum
- extends AbstractDatum
A datum with different ellipsoid than WGS84, but does not require
shift, rotation or scaling.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CentricDatum
public CentricDatum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps)
toWGS84
public LatLon toWGS84(LatLon ll)
- Description copied from interface:
Datum
- Convert lat/lon from this datum to WGS84 datum.
fromWGS84
public LatLon fromWGS84(LatLon ll)
- Description copied from interface:
Datum
- Convert lat/lon from WGS84 to this datum.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
JOSM