public class CentricDatum extends AbstractDatum
ellps, name, proj4Id
Constructor and Description |
---|
CentricDatum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps)
Constructs a new
CentricDatum . |
Modifier and Type | Method and Description |
---|---|
LatLon |
fromWGS84(LatLon ll)
Convert lat/lon from
Ellipsoid.WGS84 to this datum. |
java.lang.String |
toString() |
LatLon |
toWGS84(LatLon ll)
Convert lat/lon from this datum to
Ellipsoid.WGS84 datum. |
getEllipsoid, getName, getProj4Id
public CentricDatum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps)
CentricDatum
.name
- Datum nameproj4Id
- proj.4 identifierellps
- Ellipsoid. Must be non-null and different from WGS84public 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 WGS84public java.lang.String toString()
toString
in class java.lang.Object