179 static double Decode(System::String^ dms,
180 [System::Runtime::InteropServices::Out]
Flag% ind);
194 static double Decode(
double d,
double m,
double s )
195 {
return d + (m + s/double(60))/
double(60); }
221 [System::Runtime::InteropServices::Out]
double% lat,
222 [System::Runtime::InteropServices::Out]
double% lon,
280 Flag ind,
char dmssep );
300 static System::String^
Encode(
double angle,
unsigned prec,
Flag ind,
311 [System::Runtime::InteropServices::Out]
double% d,
312 [System::Runtime::InteropServices::Out]
double% m)
314 d = int(ang); m = 60 * (ang - d);
326 [System::Runtime::InteropServices::Out]
double% d,
327 [System::Runtime::InteropServices::Out]
double% m,
328 [System::Runtime::InteropServices::Out]
double% s)
330 d = int(ang); ang = 60 * (ang - d);
331 m = int(ang); s = 60 * (ang - m);
.NET wrapper for GeographicLib::DMS.
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m)
static double Decode(double d, double m, double s)
static double DecodeAzimuth(System::String^ azistr)
static System::String ^ Encode(double angle, unsigned prec, Flag ind, char dmssep)
static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, bool longfirst)
static double DecodeAngle(System::String^ angstr)
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m, [System::Runtime::InteropServices::Out] double% s)
static System::String ^ Encode(double angle, Component trailing, unsigned prec, Flag ind, char dmssep)
static double Decode(System::String^ dms, [System::Runtime::InteropServices::Out] Flag% ind)