| 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 |
nothing calls this directly
no test coverage detected