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) |
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, getProj4Id
public ThreeParameterDatum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, double dx, double dy, double dz)
public LatLon toWGS84(LatLon ll)
Datum
Ellipsoid.WGS84
datum.ll
- original lat/lon in this datumpublic LatLon fromWGS84(LatLon ll)
Datum
Ellipsoid.WGS84
to this datum.ll
- original lat/lon in WGS84