Reset the underlying matrix to the identity transform.
(self)
| 2021 | self.invalidate() |
| 2022 | |
| 2023 | def clear(self): |
| 2024 | """ |
| 2025 | Reset the underlying matrix to the identity transform. |
| 2026 | """ |
| 2027 | # A bit faster than np.identity(3). |
| 2028 | self._mtx = IdentityTransform._mtx.copy() |
| 2029 | self.invalidate() |
| 2030 | return self |
| 2031 | |
| 2032 | def rotate(self, theta): |
| 2033 | """ |