diff options
author | Sergey Yershov <yershov@corp.mail.ru> | 2015-07-24 17:27:28 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:48 +0300 |
commit | 67a465c565768463220135b007cde2d7ce05de6a (patch) | |
tree | 6064fb8c7dfdb14ad5541ae57b4cf63edcf7002e /geometry | |
parent | bab6d4cb56093673703a96d1d9c9d27fd5e923bc (diff) |
Implement threads for coastline cell splitter
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/cellid.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/geometry/cellid.hpp b/geometry/cellid.hpp index 1fef4c8059..e46d4fa816 100644 --- a/geometry/cellid.hpp +++ b/geometry/cellid.hpp @@ -36,6 +36,11 @@ public: return CellId(bits, level); } + inline static size_t TotalCellsOnLevel(size_t level) + { + return 1 << 2 * level; + } + ////////////////////////////////////////////////////////////////////////////////////////////////// // Simple getters |