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)
Matrix< RealScalar, Dynamic, Dynamic > M
System::IntPtr GetUnmanaged()
Header for NETGeographicLib::NETGeographicLib objects.
Header for GeographicLib::LocalCartesian class.
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)
Exception class for NETGeographicLib.
.NET wrapper for GeographicLib::Geocentric.
Math::real Flattening() const
Header for NETGeographicLib::LocalCartesian class.
.NET wrapper for GeographicLib::LocalCartesian.
void Reverse(real x, real y, real z, real &lat, real &lon, real &h) const
Header for NETGeographicLib::Geocentric class.
static const Geocentric & WGS84()
void Reset(double lat0, double lon0, double h0)
Math::real LongitudeOrigin() const
Math::real MajorRadius() const
Math::real HeightOrigin() const
Local cartesian coordinates.
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)
void Forward(real lat, real lon, real h, real &x, real &y, real &z) const
Math::real LatitudeOrigin() 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