public class NTV2Datum extends AbstractDatum
Modifier and Type | Field and Description |
---|---|
protected NTV2GridShiftFileWrapper |
nadgrids |
ellps, name, proj4Id
Constructor and Description |
---|
NTV2Datum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps,
NTV2GridShiftFileWrapper nadgrids) |
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
protected NTV2GridShiftFileWrapper nadgrids
public NTV2Datum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, NTV2GridShiftFileWrapper nadgrids)
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