1 using namespace System;
10 double lat = 33.3,
lon = 44.4;
15 String^ zonestr = UTMUPS::EncodeZone(zone, northp,
true);
16 Console::WriteLine(String::Format(
"{0} {1} {2}", zonestr,
x,
y));
20 String^ zonestr =
"38N";
23 UTMUPS::DecodeZone(zonestr, zone, northp);
24 double x = 444e3,
y = 3688e3;
26 UTMUPS::Reverse(zone, northp,
x,
y,
lat,
lon,
true);
27 Console::WriteLine(String::Format(
"{0} {1}",
lat,
lon));
31 Console::WriteLine(String::Format(
"Caught exception: {0}",
e->Message));