8 System::String^ dms =
"30d14'45.6\"S";
10 double ang = DMS::Decode(dms, type);
11 Console::WriteLine(String::Format(
"Type: {0} String: {1}", type, ang));
14 double ang = -30.245715;
15 System::String^ dms = DMS::Encode(ang, 6, DMS::Flag::LATITUDE, 0);
16 Console::WriteLine(String::Format(
"Latitude: {0}", dms));
20 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.)