179 static double Decode(System::String^ dms,
180 [System::Runtime::InteropServices::Out]
Flag%
ind);
195 {
return d + (m + s/double(60))/
double(60); }
220 static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb,
221 [System::Runtime::InteropServices::Out]
double%
lat,
222 [System::Runtime::InteropServices::Out]
double%
lon,
279 static System::String^
Encode(
double angle,
Component trailing,
unsigned prec,
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);
static System::String Encode(double angle, Component trailing, unsigned prec, Flag ind, char dmssep)
static double DecodeAzimuth(System::String^ azistr)
static double DecodeAngle(System::String^ angstr)
static double Decode(double d, double m, double s)
.NET wrapper for GeographicLib::DMS.
static void DecodeLatLon(System::String^ dmsa, System::String^ dmsb, [System::Runtime::InteropServices::Out] double% lat, [System::Runtime::InteropServices::Out] double% lon, bool longfirst)
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m, [System::Runtime::InteropServices::Out] double% s)
static double Decode(System::String^ dms, [System::Runtime::InteropServices::Out] Flag% ind)
static void Encode(double ang, [System::Runtime::InteropServices::Out] double% d, [System::Runtime::InteropServices::Out] double% m)