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

Function GetDrawRule

libs/indexer/feature_visibility.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30} // namespace
31
32void GetDrawRule(TypesHolder const & types, int level, drule::KeysT & keys)
33{
34 ASSERT(keys.empty(), ());
35 Classificator const & c = classif();
36
37 auto const geomType = types.GetGeomType();
38 level = CorrectScale(level);
39 for (uint32_t t : types)
40 c.GetObject(t)->GetSuitable(level, geomType, keys);
41}
42
43void GetDrawRule(vector<uint32_t> const & types, int level, GeomType geomType, drule::KeysT & keys)
44{

Callers 3

DisplaceableNodeMethod · 0.85
GetMinMaxFunction · 0.85
operator()Method · 0.85

Calls 6

ASSERTFunction · 0.85
CorrectScaleFunction · 0.85
GetSuitableMethod · 0.80
GetObjectMethod · 0.80
emptyMethod · 0.45
GetGeomTypeMethod · 0.45

Tested by 1

GetMinMaxFunction · 0.68