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

Function IsUsefulType

libs/indexer/feature_visibility.cpp:213–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213bool IsUsefulType(uint32_t type)
214{
215 return IsUsefulNondrawableType(type) || classif().GetObject(type)->IsDrawableAny();
216}
217
218bool CanGenerateLike(vector<uint32_t> const & types, GeomType geomType)
219{

Callers 1

RemoveUselessTypesFunction · 0.85

Calls 4

IsUsefulNondrawableTypeFunction · 0.85
IsDrawableAnyMethod · 0.80
GetObjectMethod · 0.80
IsDrawableLikeMethod · 0.80

Tested by

no test coverage detected