(self, ang: float)
| 101 | return dx * dx + dy * dy |
| 102 | |
| 103 | def rotatea(self, ang: float) -> Point: |
| 104 | sinb, cosb = np.sin(ang), np.cos(ang) |
| 105 | return self.rotate(sinb, cosb) |
| 106 | |
| 107 | def rotate(self, sinb: float, cosb: float) -> Point: |
| 108 | x, y = self.x, self.y |
no test coverage detected