13 double lat = 33.3,
lon = 44.4;
19 c.
Reset(
"1d38'W 55d30'N");
22 catch (
const exception&
e) {
23 cerr <<
"Caught exception: " << e.what() <<
"\n";
Math::real Latitude() const
Conversion between geographic coordinates.
Header for GeographicLib::GeoCoords class.
std::string GeoRepresentation(int prec=0, bool longfirst=false) const
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::string DMSRepresentation(int prec=0, bool longfirst=false, char dmssep=char(0)) const
std::string MGRSRepresentation(int prec=0) const
void Reset(const std::string &s, bool centerp=true, bool longfirst=false)
Math::real Longitude() const