19 const char BADALLOC[] =
"Failed to allocate memory for a GeographicLib::LocalCartesian";
24 if ( m_pLocalCartesian !=
NULL )
26 delete m_pLocalCartesian;
27 m_pLocalCartesian =
NULL;
42 catch ( std::bad_alloc )
56 catch ( std::bad_alloc )
72 catch ( std::bad_alloc )
86 catch ( std::bad_alloc )
100 [System::Runtime::InteropServices::Out]
double%
x,
101 [System::Runtime::InteropServices::Out]
double%
y,
102 [System::Runtime::InteropServices::Out]
double%
z)
113 [System::Runtime::InteropServices::Out]
double%
x,
114 [System::Runtime::InteropServices::Out]
double%
y,
115 [System::Runtime::InteropServices::Out]
double%
z,
119 std::vector<double> lM(9);
125 for (
int i = 0;
i < 3;
i++ )
126 for (
int j = 0;
j < 3;
j++ )
132 [System::Runtime::InteropServices::Out]
double%
lat,
133 [System::Runtime::InteropServices::Out]
double%
lon,
134 [System::Runtime::InteropServices::Out]
double%
h)
136 double llat, llon, lh;
145 [System::Runtime::InteropServices::Out]
double%
lat,
146 [System::Runtime::InteropServices::Out]
double%
lon,
147 [System::Runtime::InteropServices::Out]
double%
h,
150 double llat, llon, lh;
151 std::vector<double> lM(9);
157 for (
int i = 0;
i < 3;
i++ )
158 for (
int j = 0;
j < 3;
j++ )
void Reset(real lat0, real lon0, real h0=0)
Math::real HeightOrigin() const
Math::real LongitudeOrigin() const
Matrix< RealScalar, Dynamic, Dynamic > M
System::IntPtr GetUnmanaged()
Header for NETGeographicLib::NETGeographicLib objects.
Math::real Flattening() const
Header for GeographicLib::LocalCartesian class.
Exception class for NETGeographicLib.
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)
.NET wrapper for GeographicLib::Geocentric.
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)
Header for NETGeographicLib::LocalCartesian class.
.NET wrapper for GeographicLib::LocalCartesian.
Header for NETGeographicLib::Geocentric class.
static const Geocentric & WGS84()
void Reset(double lat0, double lon0, double h0)
Math::real LatitudeOrigin() const
Local cartesian coordinates.
void Forward(real lat, real lon, real h, real &x, real &y, real &z) const
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)
GeographicLib::LocalCartesian * m_pLocalCartesian
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x