org.openstreetmap.josm.data.projection.datum
Class NullDatum

java.lang.Object
  extended by org.openstreetmap.josm.data.projection.datum.AbstractDatum
      extended by org.openstreetmap.josm.data.projection.datum.NullDatum
All Implemented Interfaces:
Datum
Direct Known Subclasses:
GRS80Datum, WGS84Datum

public class NullDatum
extends AbstractDatum

Null Datum does not convert from / to WGS84 ellipsoid, but simply "casts" the coordinates.


Field Summary
 
Fields inherited from class org.openstreetmap.josm.data.projection.datum.AbstractDatum
ellps, name, proj4Id
 
Constructor Summary
NullDatum(java.lang.String name, Ellipsoid ellps)
           
 
Method Summary
 LatLon fromWGS84(LatLon ll)
          Convert lat/lon from WGS84 to this datum.
 LatLon toWGS84(LatLon ll)
          Convert lat/lon from this datum to WGS84 datum.
 
Methods inherited from class org.openstreetmap.josm.data.projection.datum.AbstractDatum
getEllipsoid, getName, getProj4Id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullDatum

public NullDatum(java.lang.String name,
                 Ellipsoid ellps)
Method Detail

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.



JOSM