MCPcopy Create free account
hub / github.com/comaps/comaps / FormatMercatorAsDMS

Function FormatMercatorAsDMS

libs/platform/measurement_utils.cpp:153–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void FormatMercatorAsDMS(m2::PointD const & mercator, std::string & lat, std::string & lon, int dac)
154{
155 lat = FormatLatLonAsDMSImpl(mercator::YToLat(mercator.y), 'N', 'S', dac);
156 lon = FormatLatLonAsDMSImpl(mercator::XToLon(mercator.x), 'E', 'W', dac);
157}
158
159std::string FormatMercatorAsDMS(m2::PointD const & mercator, int dac)
160{

Callers

nothing calls this directly

Calls 4

FormatLatLonAsDMSImplFunction · 0.85
YToLatFunction · 0.85
XToLonFunction · 0.85
FormatLatLonAsDMSFunction · 0.85

Tested by

no test coverage detected