(self, other: Line)
| 286 | return 0 |
| 287 | |
| 288 | def is_same(self, other: Line) -> bool: |
| 289 | a, b, c = self.coefficients |
| 290 | x, y, z = other.coefficients |
| 291 | return abs(a * y - b * x) <= ATOM and abs(b * z - c * y) <= ATOM |
| 292 | |
| 293 | def sample_within(self, points: list[Point], n: int = 5) -> list[Point]: |
| 294 | """Sample a point within the boundary of points.""" |
nothing calls this directly
no outgoing calls
no test coverage detected