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,
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);