MCPcopy Create free account
hub / github.com/comaps/comaps / IsDrawableForIndexClassifOnly

Function IsDrawableForIndexClassifOnly

libs/indexer/feature_visibility.cpp:244–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244bool IsDrawableForIndexClassifOnly(TypesHolder const & types, int level)
245{
246 Classificator const & c = classif();
247 for (uint32_t t : types)
248 {
249 if (c.GetObject(t)->IsDrawable(level))
250 return true;
251
252 if (level == GetNondrawableStandaloneIndexScale(t))
253 return true;
254 }
255
256 return false;
257}
258} // namespace
259
260bool IsDrawableForIndex(FeatureType & ft, int level)

Callers 2

IsDrawableForIndexFunction · 0.85

Calls 3

IsDrawableMethod · 0.80
GetObjectMethod · 0.80

Tested by

no test coverage detected