22 if ( m_pGravityCircle !=
NULL )
24 delete m_pGravityCircle;
25 m_pGravityCircle =
NULL;
36 catch ( std::bad_alloc )
38 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::GravityCircle" );
44 [System::Runtime::InteropServices::Out]
double% gx,
45 [System::Runtime::InteropServices::Out]
double% gy,
46 [System::Runtime::InteropServices::Out]
double% gz)
58 [System::Runtime::InteropServices::Out]
double% deltax,
59 [System::Runtime::InteropServices::Out]
double% deltay,
60 [System::Runtime::InteropServices::Out]
double% deltaz)
62 double ldeltax, ldeltay, ldeltaz;
78 [System::Runtime::InteropServices::Out]
double% Dg01,
79 [System::Runtime::InteropServices::Out]
double%
xi,
80 [System::Runtime::InteropServices::Out]
double% eta)
82 double lDg01, lxi, leta;
91 [System::Runtime::InteropServices::Out]
double% gX,
92 [System::Runtime::InteropServices::Out]
double% gY,
93 [System::Runtime::InteropServices::Out]
double% gZ)
105 [System::Runtime::InteropServices::Out]
double% GX,
106 [System::Runtime::InteropServices::Out]
double% GY,
107 [System::Runtime::InteropServices::Out]
double% GZ)
109 double lgx, lgy, lgz;
119 [System::Runtime::InteropServices::Out]
double% deltaX,
120 [System::Runtime::InteropServices::Out]
double% deltaY,
121 [System::Runtime::InteropServices::Out]
double% deltaZ)
123 double lgx, lgy, lgz;
142 throw gcnew GeographicErr(
"GravityCircle::MajorRadius failed because the GravityCircle is not initialized.");
150 throw gcnew GeographicErr(
"GravityCircle::Flattening failed because the GravityCircle is not initialized.");
158 throw gcnew GeographicErr(
"GravityCircle::Latitude failed because the GravityCircle is not initialized.");
166 throw gcnew GeographicErr(
"GravityCircle::Height failed because the GravityCircle is not initialized.");
Math::real Height() const
double Gravity(double lon, [System::Runtime::InteropServices::Out] double%gx, [System::Runtime::InteropServices::Out] double%gy, [System::Runtime::InteropServices::Out] double%gz)
Header for NETGeographicLib::NETGeographicLib objects.
double V(double lon, [System::Runtime::InteropServices::Out] double%GX, [System::Runtime::InteropServices::Out] double%GY, [System::Runtime::InteropServices::Out] double%GZ)
.NET wrapper for GeographicLib::GravityCircle.
Exception class for NETGeographicLib.
GravityModel::Mask Capabilities()
void SphericalAnomaly(real lon, real &Dg01, real &xi, real &eta) const
Header for NETGeographicLib::GravityModel class.
void SphericalAnomaly(double lon, [System::Runtime::InteropServices::Out] double%Dg01, [System::Runtime::InteropServices::Out] double%xi, [System::Runtime::InteropServices::Out] double%eta)
GravityCircle(const GeographicLib::GravityCircle &gc)
double T(double lon, [System::Runtime::InteropServices::Out] double%deltaX, [System::Runtime::InteropServices::Out] double%deltaY, [System::Runtime::InteropServices::Out] double%deltaZ)
Header for NETGeographicLib::GravityCircle class.
Math::real W(real slam, real clam, real &gX, real &gY, real &gZ) const
double Disturbance(double lon, [System::Runtime::InteropServices::Out] double%deltax, [System::Runtime::InteropServices::Out] double%deltay, [System::Runtime::InteropServices::Out] double%deltaz)
Math::real Disturbance(real lon, real &deltax, real &deltay, real &deltaz) const
Math::real Gravity(real lon, real &gx, real &gy, real &gz) const
Math::real V(real slam, real clam, real &gX, real &gY, real &gZ) const
Math::real MajorRadius() const
Math::real Flattening() const
double GeoidHeight(double lon)
double W(double lon, [System::Runtime::InteropServices::Out] double%gX, [System::Runtime::InteropServices::Out] double%gY, [System::Runtime::InteropServices::Out] double%gZ)
unsigned Capabilities() const
Math::real GeoidHeight(real lon) const
Math::real Latitude() const
Math::real T(real lon, real &deltaX, real &deltaY, real &deltaZ) const
Container::iterator get(Container &c, Position position)
Header for GeographicLib::GravityCircle class.
const GeographicLib::GravityCircle * m_pGravityCircle
Gravity on a circle of latitude.