Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2019-10-21 22:57:02 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2019-11-01 11:09:30 +0300
commit6f5d401af910ac8e28fdaa65aa04b385f799836b (patch)
tree1157fd824b4026b8a40ebfde3a9afe8805b4b23d /openlr/openlr_decoder.cpp
parent216c9444f584f7f293381389502d11f8991bb4b6 (diff)
[geometry] Get rid of MercatorBounds, refactor to namespace mercator
Diffstat (limited to 'openlr/openlr_decoder.cpp')
-rw-r--r--openlr/openlr_decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openlr/openlr_decoder.cpp b/openlr/openlr_decoder.cpp
index 21832fa7ca..db7a4b91ed 100644
--- a/openlr/openlr_decoder.cpp
+++ b/openlr/openlr_decoder.cpp
@@ -139,7 +139,7 @@ void ExpandFake(Graph::EdgeVector & path, Graph::EdgeVector::iterator edgeIt, Da
auto const projectedPoint = realGeometry.ClosestPointTo(fakePoint);
auto constexpr kCrossMwmMatchDistanceM = 1.0;
- if (MercatorBounds::DistanceOnEarth(fakePoint, projectedPoint) < kCrossMwmMatchDistanceM)
+ if (mercator::DistanceOnEarth(fakePoint, projectedPoint) < kCrossMwmMatchDistanceM)
return true;
return false;
});
@@ -411,7 +411,7 @@ public:
LOG(LINFO, ("Connections not found:", segment.m_segmentId));
auto const mercatorPoints = segment.GetMercatorPoints();
for (auto const & mercatorPoint : mercatorPoints)
- LOG(LINFO, (MercatorBounds::ToLatLon(mercatorPoint)));
+ LOG(LINFO, (mercator::ToLatLon(mercatorPoint)));
return false;
}