(self)
| 162 | def __neg__(self): |
| 163 | return Vec2D(-self[0], -self[1]) |
| 164 | def __abs__(self): |
| 165 | return (self[0]**2 + self[1]**2)**0.5 |
| 166 | def rotate(self, angle): |
| 167 | """rotate self counterclockwise by angle |
| 168 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected