155 static double Decode(System::String^ dms,
156 [System::Runtime::InteropServices::Out]
Flag% ind);
170 static double Decode(
double d,
double m,
double s )
171 {
return d + (m + s/double(60))/
double(60); }
198 static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb,
199 [System::Runtime::InteropServices::Out]
double% lat,
200 [System::Runtime::InteropServices::Out]
double% lon,
259 static System::String^
Encode(
double angle,
Component trailing,
unsigned prec,
260 Flag ind,
char dmssep );
280 static System::String^
Encode(
double angle,
unsigned prec,
Flag ind,
291 [System::Runtime::InteropServices::Out]
double% d,
292 [System::Runtime::InteropServices::Out]
double% m)
294 d = int(ang); m = 60 * (ang - d);
306 [System::Runtime::InteropServices::Out]
double% d,
307 [System::Runtime::InteropServices::Out]
double% m,
308 [System::Runtime::InteropServices::Out]
double% s)
310 d = int(ang); ang = 60 * (ang - d);
311 m = int(ang); s = 60 * (ang - m);
static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, bool swaplatlong)
static double Decode(System::String^ dms, [System::Runtime::InteropServices::Out] Flag% ind)
static double DecodeAngle(System::String^ angstr)
static System::String ^ Encode(double angle, Component trailing, unsigned prec, Flag ind, char dmssep)
static double Decode(double d, double m, double s)
.NET wrapper for GeographicLib::DMS.
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m, [System::Runtime::InteropServices::Out] double% s)
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m)
static double DecodeAzimuth(System::String^ azistr)