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
#define GEOGRAPHICLIB_EXPORT
const std::string & GravityFile() const
SphericalHarmonic::normalization _norm
The normal gravity of the earth.
Math::real T(real X, real Y, real Z, real &deltaX, real &deltaY, real &deltaZ) const
SphericalHarmonic _correction
Math::real Flattening() const
Math::real MajorRadius() const
Math::real Flattening() const
const std::string & GravityModelName() const
Math::real AngularVelocity() const
Math::real AngularVelocity() const
const std::string & Description() const
Header for GeographicLib::SphericalHarmonic1 class.
Namespace for GeographicLib.
const NormalGravity & ReferenceEllipsoid() const
const std::string & GravityModelDirectory() const
Header for GeographicLib::SphericalHarmonic class.
Model of the earth's gravity field.
std::vector< real > _zonal
Math::real Phi(real X, real Y, real &fX, real &fY) const
Math::real MajorRadius() const
Header for GeographicLib::NormalGravity class.
Math::real MassConstant() const
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
Header for GeographicLib::Constants class.
const std::string & DateTime() const
Spherical harmonic series with a correction to the coefficients.
SphericalHarmonic1 _disturbing
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
SphericalHarmonic _gravitational
Annotation for function names.
Math::real T(real X, real Y, real Z) const
Math::real Phi(real X, real Y, real &fX, real &fY) const
Math::real ReferenceMassConstant() const
Spherical harmonic series.
Gravity on a circle of latitude.
Math::real MassConstant() const