(
self, a: Point, b: Point
)
| 2467 | self.cache[hashed] = premises |
| 2468 | |
| 2469 | def all_same_line( |
| 2470 | self, a: Point, b: Point |
| 2471 | ) -> Generator[tuple[Point, Point], None, None]: |
| 2472 | ab = self._get_line(a, b) |
| 2473 | if ab is None: |
| 2474 | return |
| 2475 | for p1, p2 in utils.comb2(ab.neighbors(Point)): |
| 2476 | if {p1, p2} != {a, b}: |
| 2477 | yield p1, p2 |
| 2478 | |
| 2479 | def all_same_angle( |
| 2480 | self, a: Point, b: Point, c: Point, d: Point |
no test coverage detected