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

Function CoverFeature

libs/indexer/feature_covering.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135namespace covering
136{
137std::vector<int64_t> CoverFeature(FeatureType & f, int cellDepth, uint64_t cellPenaltyArea)
138{
139 FeatureIntersector<RectId::DEPTH_LEVELS> fIsect;
140 GetIntersection(f, fIsect);
141 return CoverIntersection(fIsect, cellDepth, cellPenaltyArea);
142}
143
144void SortAndMergeIntervals(Intervals v, Intervals & res)
145{

Callers 1

operator()Method · 0.85

Calls 2

CoverIntersectionFunction · 0.85
GetIntersectionFunction · 0.70

Tested by

no test coverage detected