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

java.lang.Object
  extended by org.openstreetmap.josm.data.projection.datum.AbstractDatum
      extended by org.openstreetmap.josm.data.projection.datum.NTV2Datum
All Implemented Interfaces:
Datum

public class NTV2Datum
extends AbstractDatum

Datum based of NTV2 grid shift file.


Field Summary
protected  NTV2GridShiftFileWrapper nadgrids
           
 
Fields inherited from class org.openstreetmap.josm.data.projection.datum.AbstractDatum
ellps, name, proj4Id
 
Constructor Summary
NTV2Datum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, NTV2GridShiftFileWrapper nadgrids)
           
 
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
 

Field Detail

nadgrids

protected NTV2GridShiftFileWrapper nadgrids
Constructor Detail

NTV2Datum

public NTV2Datum(java.lang.String name,
                 java.lang.String proj4Id,
                 Ellipsoid ellps,
                 NTV2GridShiftFileWrapper nadgrids)
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