10 #if !defined(GEOGRAPHICLIB_GRAVITYCIRCLE_HPP) 11 #define GEOGRAPHICLIB_GRAVITYCIRCLE_HPP 1 55 real _a, _f, _lat, _h,
_Z, _Px, _invR, _cpsi, _spsi,
56 _cphi, _sphi, _amodel, _GMmodel, _dzonal0,
57 _corrmult, _gamma0, _gamma, _frot;
61 real
Z, real
P, real cphi, real sphi,
62 real amodel, real GMmodel, real dzonal0, real corrmult,
63 real gamma0, real
gamma, real frot,
70 , _lat(
Math::LatFix(lat))
86 , _gravitational(gravitational)
87 , _disturbing(disturbing)
88 , _correction(correction)
93 real& gX, real& gY, real& gZ)
const;
95 real& gX, real& gY, real& gZ)
const;
97 real& deltaX, real& deltaY, real& deltaZ,
98 bool gradp,
bool correct)
const;
125 Math::real Gravity(real
lon, real& gx, real& gy, real& gz)
const;
140 Math::real Disturbance(real lon, real& deltax, real& deltay, real& deltaz)
171 void SphericalAnomaly(real lon, real& Dg01, real&
xi, real& eta)
191 return W(slam, clam, gX, gY, gZ);
211 return V(slam, clam, GX, GY, GZ);
232 return InternalT(slam, clam, deltaX, deltaY, deltaZ,
true,
true);
243 real slam, clam, dummy;
245 return InternalT(slam, clam, dummy, dummy, dummy,
false,
true);
256 bool Init()
const {
return _a > 0; }
296 return (_caps & testcaps) == testcaps;
303 #endif // GEOGRAPHICLIB_GRAVITYCIRCLE_HPP CircularEngine _gravitational
Math::real Height() const
#define GEOGRAPHICLIB_EXPORT
Mathematical functions needed by GeographicLib.
static void sincosd(T x, T &sinx, T &cosx)
Header for GeographicLib::GravityModel class.
Math::real V(real lon, real &GX, real &GY, real &GZ) const
const mpreal gamma(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
Math::real T(real lon) const
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Namespace for GeographicLib.
Math::real MajorRadius() const
Header for GeographicLib::CircularEngine class.
Spherical harmonic sums for a circle.
Model of the earth's gravity field.
Math::real Flattening() const
unsigned Capabilities() const
const mpreal hypot(const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::get_default_rnd())
Header for GeographicLib::Constants class.
Math::real W(real lon, real &gX, real &gY, real &gZ) const
Math::real Latitude() const
bool Capabilities(unsigned testcaps) const
Math::real T(real lon, real &deltaX, real &deltaY, real &deltaZ) const
GravityCircle(mask caps, real a, real f, real lat, real h, real Z, real P, real cphi, real sphi, real amodel, real GMmodel, real dzonal0, real corrmult, real gamma0, real gamma, real frot, const CircularEngine &gravitational, const CircularEngine &disturbing, const CircularEngine &correction)
Gravity on a circle of latitude.