8 double lat = 27.99,
h = 8820;
10 grav->
Gravity(lat,
h, gammay, gammaz);
11 Console::WriteLine(String::Format(
"{0} {1}", gammay, gammaz));
14 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
Exception class for NETGeographicLib.
double Gravity(double lat, double h, [System::Runtime::InteropServices::Out] double% gammay, [System::Runtime::InteropServices::Out] double% gammaz)
.NET wrapper for GeographicLib::NormalGravity.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
int main(array< System::String ^> ^)