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:
authorMaxim Pimenov <m@maps.me>2015-06-17 20:21:17 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:10 +0300
commitd616887a9875d6c7a9b6059cfb00300458b76daf (patch)
treefb17d5dd7ef304d47f661c7886b8f7a51466d8f2 /indexer/feature_visibility.hpp
parent93dcd65744b6af1e405d77aa50f53fa20a8fb633 (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r--indexer/feature_visibility.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp
index 20de212e8c..8e4df33ca1 100644
--- a/indexer/feature_visibility.hpp
+++ b/indexer/feature_visibility.hpp
@@ -19,7 +19,13 @@ namespace feature
bool IsDrawableAny(uint32_t type);
bool IsDrawableForIndex(FeatureBase const & f, int level);
+
+ // The separation into ClassifOnly and GeometryOnly versions is needed to speed up
+ // the geometrical index (see indexer/scale_index_builder.hpp).
+ // Technically, the GeometryOnly version uses the classificator, but it only does
+ // so when checking against coastlines.
bool IsDrawableForIndexClassifOnly(FeatureBase const & f, int level);
+ bool IsDrawableForIndexGeometryOnly(FeatureBase const & f, int level);
/// For FEATURE_TYPE_AREA need to have at least one area-filling type.
bool IsDrawableLike(vector<uint32_t> const & types, EGeomType ft);
@@ -28,7 +34,6 @@ namespace feature
//@}
int GetMinDrawableScale(FeatureBase const & f);
-
int GetMinDrawableScaleClassifOnly(FeatureBase const & f);
/// @return [-1, -1] if range is not drawable