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>2011-10-21 18:21:47 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:25 +0300
commit16aaf56c307001b9897bf9f6febf4e911f2a9009 (patch)
tree166b47a7d4021e9ef38dfbc392b5d297c93c330b /geometry
parent485c280e20b0ab5459ab6af48574feab9940483d (diff)
Add serialized country polygons for 'feature belongs to country' routine.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/region2d.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/geometry/region2d.hpp b/geometry/region2d.hpp
index a6cb66855c..1024e8dca8 100644
--- a/geometry/region2d.hpp
+++ b/geometry/region2d.hpp
@@ -127,6 +127,8 @@ namespace m2
std::swap(m_rect, rhs.m_rect);
}
+ ContainerT Data() const { return m_points; }
+
public:
/// Taken from Computational Geometry in C and modified
template <class EqualF>