34 "World Geodetic System 1972",
104 if(!wgs84 || !wgs72 || !wgs72Ellipsoid || !wgs84Ellipsoid)
110 WGS84_a = wgs84Ellipsoid->
a();
112 WGS72_a = wgs72Ellipsoid->
a();
114 da = WGS84_a - WGS72_a;
115 df = WGS84_f - WGS72_f;
117 sin_Lat = sin(aPt.
latr());
118 sin2_Lat = sin_Lat * sin_Lat;
120 Delta_Lat = (4.5 * cos(aPt.
latr())) / (WGS72_a*Q) + (df * sin(2*aPt.
latr())) / Q;
123 Delta_Hgt = 4.5 * sin_Lat + WGS72_a * df * sin2_Lat - da + 1.4;
171 if(!wgs84 || !wgs72 || !wgs72Ellipsoid || !wgs84Ellipsoid)
178 WGS84_a = wgs84Ellipsoid->
a();
180 WGS72_a = wgs72Ellipsoid->
a();
183 da = WGS72_a - WGS84_a;
184 df = WGS72_f - WGS84_f;
186 sin_Lat = sin(aPt.
latr());
187 sin2_Lat = sin_Lat * sin_Lat;
189 Delta_Lat = (-4.5 * cos(aPt.
latr())) / (WGS84_a*Q)
190 + (df * sin(2*aPt.
latr())) / Q;
193 Delta_Hgt = -4.5 * sin_Lat + WGS84_a * df * sin2_Lat - da - 1.4;
virtual ossimGpt shift(const ossimGpt &aPt) const
const ossimEllipsoid * wgs72() const
virtual ossimGpt shiftToWgs84(const ossimGpt &aPt) const =0
static ossimEllipsoidFactory * instance()
double lond() const
Will convert the radian measure to degrees.
double flattening() const
virtual ossimGpt shiftToWgs84(const ossimGpt &aPt) const
double latd() const
Will convert the radian measure to degrees.
const ossimDatum * wgs72() const
const ossimDatum * datum() const
datum().
const ossimEllipsoid * wgs84() const
const double & getA() const
virtual const ossimEllipsoid * ellipsoid() const
static ossimDatumFactory * instance()
const double & getB() const
double latr() const
latr().
const ossimDatum * wgs84() const
virtual ossimGpt shiftFromWgs84(const ossimGpt &aPt) const
RTTI_DEF1(ossimWgs72Datum, "ossimWgs72Datum", ossimThreeParamDatum)
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)