Go to the documentation of this file.
24 if ( m_pGravityModel !=
NULL )
26 delete m_pGravityModel;
27 m_pGravityModel =
NULL;
34 if (
name ==
nullptr )
throw gcnew GeographicErr(
"name cannot be a null pointer.");
35 if (
path ==
nullptr )
throw gcnew GeographicErr(
"path cannot be a null pointer.");
42 catch ( std::bad_alloc err )
44 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::GravityModel" );
46 catch (
const std::exception& err )
54 [System::Runtime::InteropServices::Out]
double% gx,
55 [System::Runtime::InteropServices::Out]
double% gy,
56 [System::Runtime::InteropServices::Out]
double% gz)
68 [System::Runtime::InteropServices::Out]
double% deltax,
69 [System::Runtime::InteropServices::Out]
double% deltay,
70 [System::Runtime::InteropServices::Out]
double% deltaz)
88 [System::Runtime::InteropServices::Out]
double% Dg01,
89 [System::Runtime::InteropServices::Out]
double%
xi,
90 [System::Runtime::InteropServices::Out]
double% eta)
101 [System::Runtime::InteropServices::Out]
double% gX,
102 [System::Runtime::InteropServices::Out]
double% gY,
103 [System::Runtime::InteropServices::Out]
double% gZ)
105 double lgx, lgy, lgz;
115 [System::Runtime::InteropServices::Out]
double% GX,
116 [System::Runtime::InteropServices::Out]
double% GY,
117 [System::Runtime::InteropServices::Out]
double% GZ)
119 double lgx, lgy, lgz;
129 [System::Runtime::InteropServices::Out]
double% deltaX,
130 [System::Runtime::InteropServices::Out]
double% deltaY,
131 [System::Runtime::InteropServices::Out]
double% deltaZ)
133 double lgx, lgy, lgz;
149 [System::Runtime::InteropServices::Out]
double% gammaX,
150 [System::Runtime::InteropServices::Out]
double% gammaY,
151 [System::Runtime::InteropServices::Out]
double% gammaZ)
153 double lgx, lgy, lgz;
163 [System::Runtime::InteropServices::Out]
double% fX,
164 [System::Runtime::InteropServices::Out]
double% fY)
180 catch (
const std::exception& err )
223 catch (
const std::exception& err )
236 catch (
const std::exception& err )
250 {
return m_pGravityModel->MajorRadius(); }
254 {
return m_pGravityModel->MassConstant(); }
258 {
return m_pGravityModel->ReferenceMassConstant(); }
262 {
return m_pGravityModel->AngularVelocity(); }
266 {
return m_pGravityModel->Flattening(); }
double W(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% gX, [System::Runtime::InteropServices::Out] double% gY, [System::Runtime::InteropServices::Out] double% gZ)
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
Annotation for function names.
static System::String DefaultGravityPath()
.NET wrapper for GeographicLib::GravityCircle.
Math::real Phi(real X, real Y, real &fX, real &fY) const
GaussianFactorGraphValuePair Y
double V(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% GX, [System::Runtime::InteropServices::Out] double% GY, [System::Runtime::InteropServices::Out] double% GZ)
double Disturbance(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double% deltax, [System::Runtime::InteropServices::Out] double% deltay, [System::Runtime::InteropServices::Out] double% deltaz)
.NET wrapper for GeographicLib::GravityModel.
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)
Header for NETGeographicLib::GravityModel class.
Exception class for NETGeographicLib.
Header for GeographicLib::GravityModel class.
const NormalGravity & ReferenceEllipsoid() const
static System::String UnmanagedToManaged(const std::string &s)
GravityModel(System::String^ name, System::String^ path)
.NET wrapper for GeographicLib::NormalGravity.
Header for GeographicLib::GravityCircle class.
Math::real Gravity(real lat, real lon, real h, real &gx, real &gy, real &gz) const
GravityCircle Circle(double lat, double h, Mask caps)
double GeoidHeight(double lat, double lon)
Math::real Disturbance(real lat, real lon, real h, real &deltax, real &deltay, real &deltaz) const
double Phi(double X, double Y, [System::Runtime::InteropServices::Out] double% fX, [System::Runtime::InteropServices::Out] double% fY)
Header for NETGeographicLib::NormalGravity class.
static System::String DefaultGravityName()
void SphericalAnomaly(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double% Dg01, [System::Runtime::InteropServices::Out] double% xi, [System::Runtime::InteropServices::Out] double% eta)
Header for NETGeographicLib::NETGeographicLib objects.
std::ofstream out("Result.txt")
static std::string DefaultGravityName()
Header for NETGeographicLib::GravityCircle class.
const GeographicLib::GravityModel * m_pGravityModel
double Gravity(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double% gx, [System::Runtime::InteropServices::Out] double% gy, [System::Runtime::InteropServices::Out] double% gz)
static std::string DefaultGravityPath()
GravityCircle Circle(real lat, real h, unsigned caps=ALL) const
Math::real V(real X, real Y, real Z, real &GX, real &GY, real &GZ) const
void SphericalAnomaly(real lat, real lon, real h, real &Dg01, real &xi, real &eta) const
NormalGravity ReferenceEllipsoid()
double T(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% deltaX, [System::Runtime::InteropServices::Out] double% deltaY, [System::Runtime::InteropServices::Out] double% deltaZ)
Model of the earth's gravity field.
Container::iterator get(Container &c, Position position)
Math::real GeoidHeight(real lat, real lon) const
Math::real W(real X, real Y, real Z, real &gX, real &gY, real &gZ) const
static std::string ManagedToUnmanaged(System::String^ s)
Math::real T(real X, real Y, real Z, real &deltaX, real &deltaY, real &deltaZ) const
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:23