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); }
199 static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb,
200 [System::Runtime::InteropServices::Out]
double% lat,
201 [System::Runtime::InteropServices::Out]
double% lon,
260 static System::String^
Encode(
double angle,
Component trailing,
unsigned prec,
261 Flag ind,
char dmssep );
281 static System::String^
Encode(
double angle,
unsigned prec,
Flag ind,
292 [System::Runtime::InteropServices::Out]
double% d,
293 [System::Runtime::InteropServices::Out]
double% m)
295 d = int(ang); m = 60 * (ang - d);
307 [System::Runtime::InteropServices::Out]
double% d,
308 [System::Runtime::InteropServices::Out]
double% m,
309 [System::Runtime::InteropServices::Out]
double% s)
311 d = int(ang); ang = 60 * (ang - d);
312 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)