19 const char BADALLOC[] =
"Failed to allocate memory for a GeographicLib::CassiniSoldner";
24 if ( m_pCassiniSoldner !=
NULL )
26 delete m_pCassiniSoldner;
27 m_pCassiniSoldner =
NULL;
39 catch ( std::bad_alloc )
57 catch ( std::bad_alloc )
71 [System::Runtime::InteropServices::Out]
double%
x,
72 [System::Runtime::InteropServices::Out]
double%
y,
73 [System::Runtime::InteropServices::Out]
double% azi,
74 [System::Runtime::InteropServices::Out]
double% rk)
76 double lx, ly, lazi, lrk;
86 [System::Runtime::InteropServices::Out]
double%
lat,
87 [System::Runtime::InteropServices::Out]
double%
lon,
88 [System::Runtime::InteropServices::Out]
double% azi,
89 [System::Runtime::InteropServices::Out]
double% rk)
91 double llat, llon, lazi, lrk;
100 [System::Runtime::InteropServices::Out]
double%
x,
101 [System::Runtime::InteropServices::Out]
double%
y)
103 double lx, ly, azi, rk;
111 [System::Runtime::InteropServices::Out]
double%
lat,
112 [System::Runtime::InteropServices::Out]
double%
lon)
114 double llat, llon, lazi, lrk;
Math::real LatitudeOrigin() const
.NET wrapper for GeographicLib::CassiniSoldner.
Header for NETGeographicLib::NETGeographicLib objects.
Header for GeographicLib::CassiniSoldner class.
static const Geodesic & WGS84()
Exception class for NETGeographicLib.
void Reset(double lat0, double lon0)
void Forward(real lat, real lon, real &x, real &y, real &azi, real &rk) const
Cassini-Soldner projection.
void Reverse(double x, double y, [System::Runtime::InteropServices::Out] double%lat, [System::Runtime::InteropServices::Out] double%lon, [System::Runtime::InteropServices::Out] double%azi, [System::Runtime::InteropServices::Out] double%rk)
void Reverse(real x, real y, real &lat, real &lon, real &azi, real &rk) const
Header for NETGeographicLib::CassiniSoldner class.
System::IntPtr GetUnmanaged()
CassiniSoldner(double lat0, double lon0)
.NET wrapper for GeographicLib::Geodesic.
Math::real Flattening() const
Math::real MajorRadius() const
Container::iterator get(Container &c, Position position)
Header for NETGeographicLib::Geodesic class.
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
void Reset(real lat0, real lon0)
GeographicLib::CassiniSoldner * m_pCassiniSoldner
void Forward(double lat, double lon, [System::Runtime::InteropServices::Out] double%x, [System::Runtime::InteropServices::Out] double%y, [System::Runtime::InteropServices::Out] double%azi, [System::Runtime::InteropServices::Out] double%rk)
Math::real LongitudeOrigin() const