10#if !defined(GEOGRAPHICLIB_GRAVITYCIRCLE_HPP)
11#define GEOGRAPHICLIB_GRAVITYCIRCLE_HPP 1
55 real _a, _f, _lat, _h, _zZ, _pPx, _invR, _cpsi, _spsi,
56 _cphi, _sphi, _amodel, _gGMmodel, _dzonal0,
57 _corrmult, _gamma0, _gamma, _frot;
61 real Z, real P, real cphi, real sphi,
62 real amodel, real GMmodel,
63 real dzonal0, real corrmult,
64 real gamma0, real gamma, real frot,
71 real& gX, real& gY, real& gZ)
const;
73 real& gX, real& gY, real& gZ)
const;
75 real& deltaX, real& deltaY, real& deltaZ,
76 bool gradp,
bool correct)
const;
169 return W(slam, clam, gX, gY, gZ);
189 return V(slam, clam, GX, GY, GZ);
210 return InternalT(slam, clam, deltaX, deltaY, deltaZ,
true,
true);
221 real slam, clam, dummy;
223 return InternalT(slam, clam, dummy, dummy, dummy,
false,
true);
234 bool Init()
const {
return _a > 0; }
274 return (_caps & testcaps) == testcaps;
Header for GeographicLib::CircularEngine class.
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
Header for GeographicLib::GravityModel class.
Spherical harmonic sums for a circle.
Gravity on a circle of latitude.
unsigned Capabilities() const
Math::real EquatorialRadius() const
Math::real V(real lon, real &GX, real &GY, real &GZ) const
Math::real Height() const
Math::real W(real lon, real &gX, real &gY, real &gZ) const
Math::real Latitude() const
Math::real Flattening() const
Math::real T(real lon, real &deltaX, real &deltaY, real &deltaZ) const
bool Capabilities(unsigned testcaps) const
Math::real T(real lon) const
Model of the earth's gravity field.
static void sincosd(T x, T &sinx, T &cosx)
Namespace for GeographicLib.