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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-04-06 16:19:56 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:46:29 +0300
commit5415f96bb7eb4e2037c29fcf6f1938f540956e1c (patch)
treee0c5f5510de2d4d88d32a142da6b2d87c9b85fa9 /indexer/feature.hpp
parent2f9c69429fe231c2b014510b8561c9ea13deb4f2 (diff)
Mapsme old routing algos
Diffstat (limited to 'indexer/feature.hpp')
-rw-r--r--indexer/feature.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indexer/feature.hpp b/indexer/feature.hpp
index 9e1a81884f..b74721f221 100644
--- a/indexer/feature.hpp
+++ b/indexer/feature.hpp
@@ -305,6 +305,12 @@ public:
void SwapGeometry(FeatureType & r);
+ inline void SwapPoints(buffer_vector<m2::PointD, 32> & points) const
+ {
+ ASSERT(m_bPointsParsed, ());
+ return m_points.swap(points);
+ }
+
private:
void ParseAll(int scale) const;