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

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

public class ThreeParameterDatum
extends AbstractDatum

Datum provides 3 dimensional offset and ellipsoid conversion.


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

dx

protected double dx

dy

protected double dy

dz

protected double dz
Constructor Detail

ThreeParameterDatum

public ThreeParameterDatum(java.lang.String name,
                           java.lang.String proj4Id,
                           Ellipsoid ellps,
                           double dx,
                           double dy,
                           double dz)
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