(tail: Point, head: Point)
| 1247 | |
| 1248 | |
| 1249 | def ang_of(tail: Point, head: Point) -> float: |
| 1250 | vector = head - tail |
| 1251 | arctan = np.arctan2(vector.y, vector.x) % (2 * np.pi) |
| 1252 | return arctan |
| 1253 | |
| 1254 | |
| 1255 | def ang_between(tail: Point, head1: Point, head2: Point) -> float: |
no outgoing calls
no test coverage detected