21 if ( m_pAlbersEqualArea !=
NULL )
23 delete m_pAlbersEqualArea;
24 m_pAlbersEqualArea =
NULL;
46 catch ( std::bad_alloc )
48 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::AlbersEqualArea" );
63 catch ( std::bad_alloc )
65 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::AlbersEqualArea" );
80 catch ( std::bad_alloc )
82 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::AlbersEqualArea" );
88 double sinlat1,
double coslat1,
89 double sinlat2,
double coslat2,
95 a, f, sinlat1, coslat1, sinlat2, coslat2, k1 );
101 catch ( std::bad_alloc )
103 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::AlbersEqualArea" );
114 catch (
const std::exception& xcpt )
122 [System::Runtime::InteropServices::Out]
double%
x,
123 [System::Runtime::InteropServices::Out]
double%
y,
124 [System::Runtime::InteropServices::Out]
double% gamma,
125 [System::Runtime::InteropServices::Out]
double% k)
127 double lx, ly,
lgamma, lk;
137 [System::Runtime::InteropServices::Out]
double%
lat,
138 [System::Runtime::InteropServices::Out]
double%
lon,
139 [System::Runtime::InteropServices::Out]
double% gamma,
140 [System::Runtime::InteropServices::Out]
double% k)
142 double llat, llon,
lgamma, lk;
152 [System::Runtime::InteropServices::Out]
double%
x,
153 [System::Runtime::InteropServices::Out]
double%
y)
155 double lx, ly,
lgamma, lk;
163 [System::Runtime::InteropServices::Out]
double%
lat,
164 [System::Runtime::InteropServices::Out]
double%
lon)
166 double llat, llon,
lgamma, lk;
Header for NETGeographicLib::NETGeographicLib objects.
GeographicLib::AlbersEqualArea * m_pAlbersEqualArea
void SetScale(double lat, double k)
Exception class for NETGeographicLib.
static const AlbersEqualArea & CylindricalEqualArea()
void Forward(double lon0, double lat, double lon, [System::Runtime::InteropServices::Out] double% x, [System::Runtime::InteropServices::Out] double% y, [System::Runtime::InteropServices::Out] double% gamma, [System::Runtime::InteropServices::Out] double% k)
Math::real CentralScale() const
EIGEN_DEVICE_FUNC const LgammaReturnType lgamma() const
Header for NETGeographicLib::AlbersEqualArea class.
Header for GeographicLib::AlbersEqualArea class.
Albers equal area conic projection.
AlbersEqualArea(StandardTypes type)
void Forward(real lon0, real lat, real lon, real &x, real &y, real &gamma, real &k) const
static const AlbersEqualArea & AzimuthalEqualAreaNorth()
cylindrical equal area projection (stdlat = 0, and k0 = 1)
.NET Wrapper for GeographicLib::AlbersEqualArea.
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Lambert azimuthal equal area projection (stdlat = 90°, and k0 = 1)
Exception handling for GeographicLib.
Math::real MajorRadius() const
static const AlbersEqualArea & AzimuthalEqualAreaSouth()
void Reverse(real lon0, real x, real y, real &lat, real &lon, real &gamma, real &k) const
Math::real Flattening() const
Container::iterator get(Container &c, Position position)
Lambert azimuthal equal area projection (stdlat = −90°, and k0 = 1)
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
Math::real OriginLatitude() const
void Reverse(double lon0, double x, double y, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, [System::Runtime::InteropServices::Out] double% gamma, [System::Runtime::InteropServices::Out] double% k)
void SetScale(real lat, real k=real(1))