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 )
const std::string & GravityFile() const
Header for NETGeographicLib::NETGeographicLib objects.
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)
.NET wrapper for GeographicLib::GravityCircle.
void SphericalAnomaly(real lat, real lon, real h, real &Dg01, real &xi, real &eta) const
Exception class for NETGeographicLib.
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 T(real X, real Y, real Z, real &deltaX, real &deltaY, real &deltaZ) const
static std::string ManagedToUnmanaged(System::String^s)
Math::real Flattening() const
Header for GeographicLib::GravityModel class.
Math::real Gravity(real lat, real lon, real h, real &gx, real &gy, real &gz) const
const GeographicLib::GravityModel * m_pGravityModel
Math::real V(real X, real Y, real Z, real &GX, real &GY, real &GZ) const
GravityModel(System::String^name, System::String^path)
const std::string & GravityModelName() const
Math::real AngularVelocity() const
Header for NETGeographicLib::GravityModel class.
.NET wrapper for GeographicLib::NormalGravity.
Math::real Disturbance(real lat, real lon, real h, real &deltax, real &deltay, real &deltaz) const
Math::real GeoidHeight(real lat, real lon) const
Header for NETGeographicLib::GravityCircle class.
Header for NETGeographicLib::NormalGravity class.
static System::String UnmanagedToManaged(const std::string &s)
static System::String DefaultGravityName()
const std::string & Description() const
GravityCircle Circle(real lat, real h, unsigned caps=ALL) const
double GeoidHeight(double lat, double lon)
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)
const NormalGravity & ReferenceEllipsoid() const
const std::string & GravityModelDirectory() 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)
double Phi(double X, double Y, [System::Runtime::InteropServices::Out] double%fX, [System::Runtime::InteropServices::Out] double%fY)
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)
Model of the earth's gravity field.
NormalGravity ReferenceEllipsoid()
static std::string DefaultGravityName()
Math::real Phi(real X, real Y, real &fX, real &fY) const
Math::real MajorRadius() const
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)
Math::real MassConstant() const
static std::string DefaultGravityPath()
const std::string & DateTime() const
GravityCircle Circle(double lat, double h, Mask caps)
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)
Math::real U(real X, real Y, real Z, real &gammaX, real &gammaY, real &gammaZ) const
.NET wrapper for GeographicLib::GravityModel.
static System::String DefaultGravityPath()
Annotation for function names.
Container::iterator get(Container &c, Position position)
Math::real ReferenceMassConstant() const
Math::real W(real X, real Y, real Z, real &gX, real &gY, real &gZ) const
Header for GeographicLib::GravityCircle class.