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

Function GetGps

libs/routing/routing_tests/route_tests.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51location::GpsInfo GetGps(double x, double y)
52{
53 location::GpsInfo info;
54 info.m_latitude = mercator::YToLat(y);
55 info.m_longitude = mercator::XToLon(x);
56 info.m_horizontalAccuracy = 2;
57 return info;
58}
59
60vector<vector<Segment>> const GetSegments()
61{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

YToLatFunction · 0.85
XToLonFunction · 0.85

Tested by

no test coverage detected