MCPcopy Create free account
hub / github.com/davisking/dlib / overlaps_any_box

Function overlaps_any_box

dlib/image_processing/box_overlap_testing.h:186–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184// ----------------------------------------------------------------------------------------
185
186 inline bool overlaps_any_box (
187 const test_box_overlap& tester,
188 const std::vector<rectangle>& rects,
189 const rectangle& rect
190 )
191 {
192 for (unsigned long i = 0; i < rects.size(); ++i)
193 {
194 if (tester(rects[i],rect))
195 return true;
196 }
197 return false;
198 }
199
200// ----------------------------------------------------------------------------------------
201

Callers

nothing calls this directly

Calls 3

testerClass · 0.85
test_box_overlapClass · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected