public class SevenParameterDatum extends AbstractDatum
Modifier and Type | Field and Description |
---|---|
protected double |
dx |
protected double |
dy |
protected double |
dz |
protected double |
rx |
protected double |
ry |
protected double |
rz |
protected double |
s |
ellps, name, proj4Id
Constructor and Description |
---|
SevenParameterDatum(java.lang.String name,
java.lang.String proj4Id,
Ellipsoid ellps,
double dx,
double dy,
double dz,
double rx,
double ry,
double rz,
double s)
Constructs a new
SevenParameterDatum |
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 double dx
protected double dy
protected double dz
protected double rx
protected double ry
protected double rz
protected double s
public SevenParameterDatum(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps, double dx, double dy, double dz, double rx, double ry, double rz, double s)
SevenParameterDatum
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 metersrx
- rotational parameter in seconds of arcry
- rotational parameter in seconds of arcrz
- rotational parameter in seconds of arcs
- scale change in parts per millionpublic 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