Return the axes-aligned bounding box that bounds the result of rotating this `Bbox` by an angle of *radians*.
(self, radians)
| 652 | return np.array([[x0, y0], [x0, y1], [x1, y0], [x1, y1]]) |
| 653 | |
| 654 | def rotated(self, radians): |
| 655 | """ |
| 656 | Return the axes-aligned bounding box that bounds the result of rotating |
| 657 | this `Bbox` by an angle of *radians*. |
| 658 | """ |
| 659 | corners = self.corners() |
| 660 | corners_rotated = Affine2D().rotate(radians).transform(corners) |
| 661 | bbox = Bbox.unit() |
| 662 | bbox.update_from_data_xy(corners_rotated, ignore=True) |
| 663 | return bbox |
| 664 | |
| 665 | @staticmethod |
| 666 | def union(bboxes): |