7 Geoid^ egm96 =
gcnew Geoid(
"egm96-5",
"",
true,
false);
9 double lat = 42,
lon = -75, height_above_geoid = 20;
12 height_above_ellipsoid = (height_above_geoid +
13 (double)Geoid::ConvertFlag::GEOIDTOELLIPSOID * geoid_height);
14 Console::WriteLine(height_above_ellipsoid);
17 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
int main(array< System::String^>^)
Exception class for NETGeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
double Height(double lat, double lon)
.NET wrapper for GeographicLib::Geoid.