Count the number of bounding boxes that overlap this one. Parameters ---------- bboxes : sequence of `.BboxBase`
(self, bboxes)
| 598 | (vertices < self.max)).all(axis=1).sum()) |
| 599 | |
| 600 | def count_overlaps(self, bboxes): |
| 601 | """ |
| 602 | Count the number of bounding boxes that overlap this one. |
| 603 | |
| 604 | Parameters |
| 605 | ---------- |
| 606 | bboxes : sequence of `.BboxBase` |
| 607 | """ |
| 608 | return count_bboxes_overlapping_bbox( |
| 609 | self, np.atleast_3d([np.array(x) for x in bboxes])) |
| 610 | |
| 611 | def expanded(self, sw, sh): |
| 612 | """ |