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:
Diffstat (limited to 'search/cities_boundaries_table.hpp')
-rw-r--r--search/cities_boundaries_table.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/search/cities_boundaries_table.hpp b/search/cities_boundaries_table.hpp
index 9a874f00c8..1c5b29c337 100644
--- a/search/cities_boundaries_table.hpp
+++ b/search/cities_boundaries_table.hpp
@@ -2,6 +2,8 @@
#include "indexer/city_boundary.hpp"
+#include "geometry/point2d.hpp"
+
#include <cstdint>
#include <unordered_map>
#include <utility>
@@ -29,6 +31,8 @@ public:
{
}
+ // Returns true iff |p| is inside any of the regions bounded by
+ // |*this|.
bool HasPoint(m2::PointD const & p) const;
private: