public class ThreeParameterDatum extends AbstractDatum
| Modifier and Type | Field and Description |
|---|---|
protected double |
dx |
protected double |
dy |
protected double |
dz |
ellps, name, proj4Id| Constructor and Description |
|---|
ThreeParameterDatum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps,
double dx,
double dy,
double dz)
Constructs a new
ThreeParameterDatum. |
| Modifier and Type | Method and Description |
|---|---|
LatLon |
fromWGS84(LatLon ll)
Convert lat/lon from
Ellipsoid.WGS84 to this datum. |
LatLon |
toWGS84(LatLon ll)
Convert lat/lon from this datum to
Ellipsoid.WGS84 datum. |
getEllipsoid, getName, getProj4Idpublic ThreeParameterDatum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, double dx, double dy, double dz)
ThreeParameterDatum.name - name of the datumproj4Id - Proj.4 identifier for this datum (or null)ellps - the ellipsoid useddx - x offset in metersdy - y offset in metersdz - z offset in meterspublic LatLon toWGS84(LatLon ll)
DatumEllipsoid.WGS84 datum.ll - original lat/lon in this datumpublic LatLon fromWGS84(LatLon ll)
DatumEllipsoid.WGS84 to this datum.ll - original lat/lon in WGS84