diff options
author | vng <viktor.govako@gmail.com> | 2012-02-21 21:25:05 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:34:15 +0300 |
commit | 78169147bb310663c0cf1fae56900944b7900384 (patch) | |
tree | 98cdff285fb493452e3b6896f91e8499f71cf74a /indexer/feature_covering.cpp | |
parent | 0d6c85b09b019b0423449794c930c0b3f7472833 (diff) |
Add named constants for feature geometry getting.
Diffstat (limited to 'indexer/feature_covering.cpp')
-rw-r--r-- | indexer/feature_covering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/feature_covering.cpp b/indexer/feature_covering.cpp index c927c26445..101519014a 100644 --- a/indexer/feature_covering.cpp +++ b/indexer/feature_covering.cpp @@ -99,11 +99,11 @@ namespace covering vector<int64_t> CoverFeature(FeatureType const & f, int cellDepth, uint64_t cellPenaltyArea) { FeatureIntersector featureIntersector; - f.ForEachPointRef(featureIntersector, -1); - f.ForEachTriangleRef(featureIntersector, -1); + f.ForEachPointRef(featureIntersector, FeatureType::BEST_GEOMETRY); + f.ForEachTriangleRef(featureIntersector, FeatureType::BEST_GEOMETRY); CHECK(!featureIntersector.m_Trg.empty() || !featureIntersector.m_Polyline.empty(), \ - (f.DebugString(-1))); + (f.DebugString(FeatureType::BEST_GEOMETRY))); if (featureIntersector.m_Trg.empty() && featureIntersector.m_Polyline.size() == 1) { |