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,
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;
309 #endif // GEOGRAPHICLIB_GRAVITYCIRCLE_HPP
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
Math::real EquatorialRadius() const
bool Capabilities(unsigned testcaps) const
Header for GeographicLib::GravityModel class.
Math::real Flattening() const
Math::real Height() const
unsigned Capabilities() const
Math::real T(real lon, real &deltaX, real &deltaY, real &deltaZ) const
Math::real MajorRadius() const
Namespace for GeographicLib.
Header for GeographicLib::CircularEngine class.
Spherical harmonic sums for a circle.
Model of the earth's gravity field.
Math::real Latitude() const
Header for GeographicLib::Constants class.
Math::real W(real lon, real &gX, real &gY, real &gZ) const
Math::real T(real lon) const
static void sincosd(T x, T &sinx, T &cosx)
Math::real V(real lon, real &GX, real &GY, real &GZ) const
Gravity on a circle of latitude.