diff options
author | vng <viktor.govako@gmail.com> | 2011-09-16 23:23:25 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:23:57 +0300 |
commit | 3e2ecdc1447f63f2f5f376370a60bd2bd7e21840 (patch) | |
tree | c2fca12a163a0cf0ff3a586afbd7fbe13d9194d2 /indexer/feature_impl.hpp | |
parent | 5f05cd052b531aa2a53b5f9a18f9414345709244 (diff) |
Factor out serial::SavePoint, serial::LoadPoint.
Diffstat (limited to 'indexer/feature_impl.hpp')
-rw-r--r-- | indexer/feature_impl.hpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp index 75c41bf034..eb869a4ea2 100644 --- a/indexer/feature_impl.hpp +++ b/indexer/feature_impl.hpp @@ -1,27 +1,10 @@ #pragma once -#include "point_to_int64.hpp" - #include "../geometry/point2d.hpp" namespace feature { - namespace pts - { - inline int64_t FromPoint(m2::PointD const & p, uint32_t coordBits) - { - return PointToInt64(p.x, p.y, coordBits); - } - - inline m2::PointD ToPoint(int64_t i, uint32_t coordBits) - { - CoordPointT const pt = Int64ToPoint(i, coordBits); - return m2::PointD(pt.first, pt.second); - } - } - - static int g_arrWorldScales[] = { 2, 5, 7, 9 }; // 9 = scales::GetUpperWorldScale() static int g_arrCountryScales[] = { 10, 12, 14, 17 }; // 17 = scales::GetUpperScale() |