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

Method IsAccepted

generator/filter_complex.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15bool FilterComplex::IsAccepted(feature::FeatureBuilder const & fb) const
16{
17 if (!fb.IsArea() && !fb.IsPoint())
18 return false;
19
20 return hierarchy::GetMainType(fb.GetTypes()) != ftype::GetEmptyValue();
21}
22} // namespace generator

Callers

nothing calls this directly

Calls 5

GetMainTypeFunction · 0.85
GetEmptyValueFunction · 0.85
IsAreaMethod · 0.80
IsPointMethod · 0.45
GetTypesMethod · 0.45

Tested by

no test coverage detected