11 double lat = 40.3,
lon = -74.7;
14 Console::WriteLine(String::Format(
"{0} {1}", x, y));
18 double x = 25e3,
y = 4461e3;
20 proj->
Reverse(lon0, x, y, lat, lon);
21 Console::WriteLine(String::Format(
"{0} {1}", lat, lon));
25 Console::WriteLine(String::Format(
"Caught exception: {0}", e->Message));
void Reverse(double lon0, double x, double y, [System::Runtime::InteropServices::Out] double%lat, [System::Runtime::InteropServices::Out] double%lon, [System::Runtime::InteropServices::Out] double%gamma, [System::Runtime::InteropServices::Out] double%k)
Exception class for NETGeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
.NET wrapper for GeographicLib::TransverseMercator.
int main(array< System::String^>^)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
void Forward(double lon0, double lat, double lon, [System::Runtime::InteropServices::Out] double%x, [System::Runtime::InteropServices::Out] double%y, [System::Runtime::InteropServices::Out] double%gamma, [System::Runtime::InteropServices::Out] double%k)