Set the points of the bounding box directly from a numpy array of the form: ``[[x0, y0], [x1, y1]]``. No error checking is performed, as this method is mainly for internal use.
(self, points)
| 983 | return self._points |
| 984 | |
| 985 | def set_points(self, points): |
| 986 | """ |
| 987 | Set the points of the bounding box directly from a numpy array |
| 988 | of the form: ``[[x0, y0], [x1, y1]]``. No error checking is |
| 989 | performed, as this method is mainly for internal use. |
| 990 | """ |
| 991 | if np.any(self._points != points): |
| 992 | self._points = points |
| 993 | self.invalidate() |
| 994 | |
| 995 | def set(self, other): |
| 996 | """ |