21 if ( m_pGeoid !=
NULL )
30 bool cubic,
bool threadsafe)
32 if ( name ==
nullptr )
throw gcnew GeographicErr(
"name cannot be a null pointer.");
33 if ( path ==
nullptr )
throw gcnew GeographicErr(
"path cannot be a null pointer.");
41 catch ( std::bad_alloc )
43 throw gcnew GeographicErr(
"Failed to allocate memory for a GeographicLib::Geoid" );
57 catch (
const std::exception& err )
70 catch (
const std::exception& err )
89 catch (
const std::exception& err )
102 static_cast<GeographicLib::Geoid::convertflag>(d) );
104 catch (
const std::exception& err )
118 catch (
const std::exception& err )
132 catch (
const std::exception& err )
const std::string & GeoidFile() const
Header for NETGeographicLib::NETGeographicLib objects.
Math::real RMSError() const
double ConvertHeight(double lat, double lon, double h, ConvertFlag d)
const std::string Interpolation() const
Exception class for NETGeographicLib.
Math::real Offset() const
static System::String DefaultGeoidName()
void CacheArea(real south, real west, real north, real east) const
const std::string & GeoidName() const
Header for NETGeographicLib::Geoid class.
static std::string DefaultGeoidPath()
Math::real ConvertHeight(real lat, real lon, real h, convertflag d) const
Math::real CacheNorth() const
Math::real MaxError() const
static System::String UnmanagedToManaged(const std::string &s)
const std::string & Description() const
double Height(double lat, double lon)
static System::String DefaultGeoidPath()
Exception handling for GeographicLib.
Math::real CacheSouth() const
static std::string ManagedToUnmanaged(System::String^ s)
Math::real CacheWest() const
Geoid(System::String^ name, System::String^ path, bool cubic, bool threadsafe)
static std::string DefaultGeoidName()
const GeographicLib::Geoid * m_pGeoid
Math::real Flattening() const
Annotation for function names.
Container::iterator get(Container &c, Position position)
Header for GeographicLib::Geoid class.
void CacheArea(double south, double west, double north, double east)
const std::string & DateTime() const
const std::string & GeoidDirectory() const
Math::real MajorRadius() const
Math::real CacheEast() const
Looking up the height of the geoid above the ellipsoid.
.NET wrapper for GeographicLib::Geoid.