18 const char BADALLOC[] =
"Unable to allocate memory for a GeographicLib::Geocentric";
23 if ( m_pGeocentric !=
NULL )
38 catch (std::bad_alloc)
51 catch (std::bad_alloc)
55 catch (std::exception err )
68 catch (std::bad_alloc)
76 [System::Runtime::InteropServices::Out]
double%
X,
77 [System::Runtime::InteropServices::Out]
double%
Y,
78 [System::Runtime::InteropServices::Out]
double%
Z)
89 [System::Runtime::InteropServices::Out]
double%
X,
90 [System::Runtime::InteropServices::Out]
double%
Y,
91 [System::Runtime::InteropServices::Out]
double%
Z,
95 std::vector<double> lM(9);
101 for (
int i = 0;
i < 3;
i++ )
102 for (
int j = 0;
j < 3;
j++ )
108 [System::Runtime::InteropServices::Out]
double%
lat,
109 [System::Runtime::InteropServices::Out]
double%
lon,
110 [System::Runtime::InteropServices::Out]
double%
h)
112 double llat, llon, lh;
121 [System::Runtime::InteropServices::Out]
double%
lat,
122 [System::Runtime::InteropServices::Out]
double%
lon,
123 [System::Runtime::InteropServices::Out]
double%
h,
126 std::vector<double> lM(9);
127 double llat, llon, lh;
133 for (
int i = 0;
i < 3;
i++ )
134 for (
int j = 0;
j < 3;
j++ )
Matrix< RealScalar, Dynamic, Dynamic > M
System::IntPtr GetUnmanaged()
Header for NETGeographicLib::NETGeographicLib objects.
void Forward(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double% X, [System::Runtime::InteropServices::Out] double% Y, [System::Runtime::InteropServices::Out] double% Z)
Exception class for NETGeographicLib.
void g(const string &key, int i)
.NET wrapper for GeographicLib::Geocentric.
void Forward(real lat, real lon, real h, real &X, real &Y, real &Z) const
Header for NETGeographicLib::Geocentric class.
static const Geocentric & WGS84()
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Header for GeographicLib::Geocentric class.
Math::real Flattening() const
void Reverse(double X, double Y, double Z, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, [System::Runtime::InteropServices::Out] double% h)
Math::real MajorRadius() const
void Reverse(real X, real Y, real Z, real &lat, real &lon, real &h) const
Container::iterator get(Container &c, Position position)
const GeographicLib::Geocentric * m_pGeocentric