10 #if !defined(GEOGRAPHICLIB_GRAVITYMODEL_HPP) 11 #define GEOGRAPHICLIB_GRAVITYMODEL_HPP 1 20 # pragma warning (push) 21 # pragma warning (disable: 4251) 87 static const int idlength_ = 8;
88 std::string
_name, _dir, _description, _date, _filename, _id;
89 real _amodel, _GMmodel,
_zeta0, _corrmult;
92 std::vector<real> _Cx, _Sx, _CC, _CS,
_zonal;
97 void ReadMetadata(
const std::string&
name);
99 real& deltaX, real& deltaY, real& deltaZ,
100 bool gradp,
bool correct)
const;
108 CAP_DELTA = 1
U<<2 | CAP_T,
137 DISTURBANCE = CAP_DELTA,
143 DISTURBING_POTENTIAL = CAP_T,
148 SPHERICAL_ANOMALY = CAP_DELTA | CAP_GAMMA,
153 GEOID_HEIGHT = CAP_T | CAP_C | CAP_GAMMA0,
184 const std::string&
path =
"");
209 real& gx, real& gy, real& gz)
const;
228 real& deltax, real& deltay, real& deltaz)
263 void SphericalAnomaly(real
lat, real
lon, real
h,
264 real& Dg01, real&
xi, real& eta)
const;
289 real& gX, real& gY, real& gZ)
const;
308 real& GX, real& GY, real& GZ)
const;
327 real& deltaX, real& deltaY, real& deltaZ)
const 328 {
return InternalT(X, Y, Z, deltaX, deltaY, deltaZ,
true,
true); }
341 return InternalT(X, Y, Z, dummy, dummy, dummy,
false,
true);
364 real& gammaX, real& gammaY, real& gammaZ)
const 365 {
return _earth.
U(X, Y, Z, gammaX, gammaY, gammaZ); }
382 {
return _earth.
Phi(X, Y, fX, fY); }
441 const std::string&
DateTime()
const {
return _date; }
502 static std::string DefaultGravityPath();
513 static std::string DefaultGravityName();
518 #if defined(_MSC_VER) 519 # pragma warning (pop) 522 #endif // GEOGRAPHICLIB_GRAVITYMODEL_HPP Math::real Phi(real X, real Y, real &fX, real &fY) const
const std::string & GravityModelName() const
Math::real T(real X, real Y, real Z, real &deltaX, real &deltaY, real &deltaZ) const
#define GEOGRAPHICLIB_EXPORT
SphericalHarmonic::normalization _norm
Math::real MajorRadius() const
const std::string & Description() const
The normal gravity of the earth.
Math::real Flattening() const
SphericalHarmonic _correction
const NormalGravity & ReferenceEllipsoid() const
Math::real MassConstant() const
const std::string & DateTime() const
Math::real Flattening() const
Math::real MassConstant() const
Header for GeographicLib::SphericalHarmonic1 class.
Namespace for GeographicLib.
Header for GeographicLib::SphericalHarmonic class.
Model of the earth's gravity field.
std::vector< real > _zonal
Math::real ReferenceMassConstant() const
Math::real AngularVelocity() const
Header for GeographicLib::NormalGravity class.
const std::string & GravityFile() const
Math::real T(real X, real Y, real Z) const
Header for GeographicLib::Constants class.
Spherical harmonic series with a correction to the coefficients.
SphericalHarmonic1 _disturbing
SphericalHarmonic _gravitational
Math::real AngularVelocity() const
Annotation for function names.
Spherical harmonic series.
Math::real Phi(real X, real Y, real &fX, real &fY) const
const std::string & GravityModelDirectory() const
Math::real MajorRadius() const
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
Gravity on a circle of latitude.