8 double lat = 27.99,
lon0 = 86.93,
h = 8820;
12 for (
int i = -5;
i <= 5; ++
i) {
15 grav->
Gravity(lat, lon,
h, gx, gy, gz);
16 Console::WriteLine(String::Format(
"{0} {1} {2} {3}", lon, gx, gy, gz));
23 for (
int i = -5;
i <= 5; ++
i) {
27 Console::WriteLine(String::Format(
"{0} {1} {2} {3}", lon, gx, gy, gz));
32 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
double Gravity(double lon, [System::Runtime::InteropServices::Out] double%gx, [System::Runtime::InteropServices::Out] double%gy, [System::Runtime::InteropServices::Out] double%gz)
.NET wrapper for GeographicLib::GravityCircle.
Exception class for NETGeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
double Gravity(double lat, double lon, double h, [System::Runtime::InteropServices::Out] double%gx, [System::Runtime::InteropServices::Out] double%gy, [System::Runtime::InteropServices::Out] double%gz)
GravityCircle Circle(double lat, double h, Mask caps)
.NET wrapper for GeographicLib::GravityModel.
int main(array< System::String^>^)