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

Method Filter

libs/search/features_filter.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18LocalityFilter::LocalityFilter(CBV const & filter) : FeaturesFilter(filter, 0 /* threshold */) {}
19
20CBV LocalityFilter::Filter(CBV const & cbv) const
21{
22 return m_filter.Intersect(cbv);
23}
24
25// ViewportFilter ----------------------------------------------------------------------------------
26ViewportFilter::ViewportFilter(CBV const & filter, uint64_t threshold) : FeaturesFilter(filter, threshold) {}

Callers

nothing calls this directly

Calls 3

TakeMethod · 0.80
IntersectMethod · 0.45
IsEmptyMethod · 0.45

Tested by

no test coverage detected