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:
authorAnatoly Serdtcev <serdtcev@maps.me>2019-04-08 10:59:18 +0300
committerAnatoly Serdtcev <serdtcev@maps.me>2019-04-12 18:48:55 +0300
commit798c8302a637dbc8a11f5935b1d19fd6bd2b5d41 (patch)
tree5243dfac8370179abac3286cb77210f9d3ed78f9 /indexer
parenta685936cae13b6a51028d1db0d023c5ab8ba09ca (diff)
[generator:geo_objects] Refactor: KeyValueMem -> KeyValueStorage, remove KeyValueMap
Diffstat (limited to 'indexer')
-rw-r--r--indexer/locality_index.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/locality_index.hpp b/indexer/locality_index.hpp
index 711571232c..ecd1e55e43 100644
--- a/indexer/locality_index.hpp
+++ b/indexer/locality_index.hpp
@@ -40,6 +40,11 @@ public:
m_intervalIndex = std::make_unique<IntervalIndex<Reader, uint64_t>>(reader);
}
+ void ForEachAtPoint(ProcessObject const & processObject, m2::PointD const & point) const
+ {
+ ForEachInRect(processObject, m2::RectD(point, point));
+ }
+
void ForEachInRect(ProcessObject const & processObject, m2::RectD const & rect) const
{
covering::CoveringGetter cov(rect, covering::CoveringMode::ViewportWithLowLevels);