19 const char BADALLOC[] =
"Failed to allocate memory for a GeographicLib::GeoCoords";
24 if ( m_pGeoCoords !=
NULL )
38 catch ( std::bad_alloc )
51 catch ( std::bad_alloc )
55 catch (
const std::exception& err )
68 catch ( std::bad_alloc )
72 catch (
const std::exception& err )
85 catch ( std::bad_alloc )
89 catch (
const std::exception& err )
102 catch (
const std::exception& err )
115 catch (
const std::exception& err )
128 catch (
const std::exception& err )
Math::real Latitude() const
System::String MGRSRepresentation(int prec)
Header for NETGeographicLib::NETGeographicLib objects.
Math::real AltNorthing() const
Exception class for NETGeographicLib.
static std::string ManagedToUnmanaged(System::String^s)
static double Flattening()
Conversion between geographic coordinates.
Math::real Northing() const
std::string AltUTMUPSRepresentation(int prec=0, bool abbrev=true) const
Header for GeographicLib::GeoCoords class.
Math::real AltEasting() const
GeographicLib::GeoCoords * m_pGeoCoords
Header for NETGeographicLib::GeoCoords class.
Math::real Convergence() const
.NET wrapper for GeographicLib::GeoCoords.
std::string GeoRepresentation(int prec=0, bool longfirst=false) const
std::string AltMGRSRepresentation(int prec=0) const
void set(Container &c, Position position, const Value &value)
System::String AltUTMUPSRepresentation(int prec, bool abbrev)
Math::real AltConvergence() const
Exception handling for GeographicLib.
std::string DMSRepresentation(int prec=0, bool longfirst=false, char dmssep=char(0)) const
Math::real AltScale() const
std::string MGRSRepresentation(int prec=0) const
System::String GeoRepresentation(int prec, bool longfirst)
Math::real Easting() const
System::String UTMUPSRepresentation(int prec, bool abbrev)
Header for NETGeographicLib::UTMUPS class.
void SetAltZone(int zone=UTMUPS::STANDARD) const
Container::iterator get(Container &c, Position position)
void Reset(System::String^s, bool centerp, bool longfirst)
System::String AltMGRSRepresentation(int prec)
void Reset(const std::string &s, bool centerp=true, bool longfirst=false)
static double MajorRadius()
Math::real Longitude() const
System::String DMSRepresentation(int prec, bool longfirst, char dmssep)
std::string UTMUPSRepresentation(int prec=0, bool abbrev=true) const