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

Function PointDistance

libs/search/geometry_utils.cpp:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace search
6{
7double PointDistance(m2::PointD const & a, m2::PointD const & b)
8{
9 return mercator::DistanceOnEarth(a, b);
10}
11
12bool IsEqualMercator(m2::RectD const & r1, m2::RectD const & r2, double eps)
13{

Callers 2

IsEqualFeatureMethod · 0.85
RemoveDuplicatingLinearFunction · 0.85

Calls 1

DistanceOnEarthFunction · 0.50

Tested by

no test coverage detected