public class NTV2Datum extends AbstractDatum
| Modifier and Type | Field and Description |
|---|---|
private NTV2GridShiftFileWrapper |
nadgrids |
ellps, name, proj4Id| Constructor and Description |
|---|
NTV2Datum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps,
NTV2GridShiftFileWrapper nadgrids)
Constructs a new
NTV2Datum. |
| 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, getProj4Idprivate final NTV2GridShiftFileWrapper nadgrids
public NTV2Datum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, NTV2GridShiftFileWrapper nadgrids)
NTV2Datum.name - datum nameproj4Id - PROJ.4 idellps - ellipsoidnadgrids - NTV2 grid shift file wrapperpublic 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