A point in 2D space. >>> Point(0, 0) Point(x=0, y=0) >>> Point(1, -3) Point(x=1, y=-3)
| 15 | |
| 16 | |
| 17 | class Point(NamedTuple): |
| 18 | """A point in 2D space. |
| 19 | |
| 20 | >>> Point(0, 0) |
| 21 | Point(x=0, y=0) |
| 22 | >>> Point(1, -3) |
| 23 | Point(x=1, y=-3) |
| 24 | """ |
| 25 | |
| 26 | x: float |
| 27 | y: float |
| 28 | |
| 29 | |
| 30 | def direction(pivot: Point, target: Point, query: Point) -> float: |
no outgoing calls
no test coverage detected