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:
authorvng <viktor.govako@gmail.com>2010-12-13 00:19:35 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:35 +0300
commite66c105604755562c7a79a44c3592d8c6b0078ee (patch)
tree5a83561ddd93d086cad11231b13d5ea99e402295 /indexer/mercator.hpp
parent7bcd8b95585b56a2182a8d1099bf0d9394b7bbc9 (diff)
Added function for : cell_id -> (lat, lon) absolute epsilon.
Fix signed\unsigned warning.
Diffstat (limited to 'indexer/mercator.hpp')
-rw-r--r--indexer/mercator.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/mercator.hpp b/indexer/mercator.hpp
index f68eaa473c..026cec97d8 100644
--- a/indexer/mercator.hpp
+++ b/indexer/mercator.hpp
@@ -40,4 +40,6 @@ struct MercatorBounds
double const offset = errorInMetres / 2.0 * metresInDegree;
return m2::RectD(LonToX(lon - offset), LatToY(lat - offset), LonToX(lon + offset), LatToY(lat + offset));
}
+
+ static double GetCellID2PointAbsEpsilon() { return 1.0E-4; }
};