19 const char BADALLOC[] =
"Failed to allocate memory for a GeographicLib::NormalGravity";
24 if ( m_pNormalGravity !=
NULL )
26 delete m_pNormalGravity;
27 m_pNormalGravity =
NULL;
38 catch ( std::bad_alloc )
42 catch (
const std::exception& err )
57 catch ( std::bad_alloc )
70 catch ( std::bad_alloc )
84 [System::Runtime::InteropServices::Out]
double% gammay,
85 [System::Runtime::InteropServices::Out]
double% gammaz)
96 [System::Runtime::InteropServices::Out]
double% gammaX,
97 [System::Runtime::InteropServices::Out]
double% gammaY,
98 [System::Runtime::InteropServices::Out]
double% gammaZ)
110 [System::Runtime::InteropServices::Out]
double% GammaX,
111 [System::Runtime::InteropServices::Out]
double% GammaY,
112 [System::Runtime::InteropServices::Out]
double% GammaZ)
124 [System::Runtime::InteropServices::Out]
double% fX,
125 [System::Runtime::InteropServices::Out]
double% fY)
Header for NETGeographicLib::NETGeographicLib objects.
NormalGravity(double a, double GM, double omega, double f_J2, bool geometricp)
Exception class for NETGeographicLib.
noiseModel::Diagonal::shared_ptr model
std::ofstream out("Result.txt")
The normal gravity of the earth.
double Gravity(double lat, double h, [System::Runtime::InteropServices::Out] double% gammay, [System::Runtime::InteropServices::Out] double% gammaz)
Math::real Flattening() const
StandardModels
The enumerated standard gravity models.
double Phi(double X, double Y, [System::Runtime::InteropServices::Out] double% fX, [System::Runtime::InteropServices::Out] double% fY)
double DynamicalFormFactor(int n)
const GeographicLib::NormalGravity * m_pNormalGravity
Math::real SurfacePotential() const
void g(const string &key, int i)
.NET wrapper for GeographicLib::Geocentric.
Math::real MassConstant() const
.NET wrapper for GeographicLib::NormalGravity.
static double J2ToFlattening(double a, double GM, double omega, double J2)
Header for NETGeographicLib::NormalGravity class.
Header for NETGeographicLib::Geocentric class.
Math::real GravityFlattening() const
double U(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% gammaX, [System::Runtime::InteropServices::Out] double% gammaY, [System::Runtime::InteropServices::Out] double% gammaZ)
static NormalGravity GRS80()
static Math::real FlatteningToJ2(real a, real GM, real omega, real f)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Vector::Scalar omega(const Vector &t, const Vector &s, RealScalar angle)
static double FlatteningToJ2(double a, double GM, double omega, double f)
static Math::real J2ToFlattening(real a, real GM, real omega, real J2)
static const NormalGravity & GRS80()
Math::real EquatorialGravity() const
double SurfaceGravity(double lat)
Math::real SurfaceGravity(real lat) const
Math::real AngularVelocity() const
Header for GeographicLib::NormalGravity class.
Math::real Gravity(real lat, real h, real &gammay, real &gammaz) const
static const NormalGravity & WGS84()
Math::real V0(real X, real Y, real Z, real &GammaX, real &GammaY, real &GammaZ) const
Math::real DynamicalFormFactor(int n=2) const
Container::iterator get(Container &c, Position position)
Math::real Phi(real X, real Y, real &fX, real &fY) const
Math::real PolarGravity() const
const Geocentric & Earth() const
Math::real MajorRadius() const
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
static NormalGravity WGS84()
double V0(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% GammaX, [System::Runtime::InteropServices::Out] double% GammaY, [System::Runtime::InteropServices::Out] double% GammaZ)