(self, other: Line)
| 230 | return abs(a * y - b * x) < ATOM |
| 231 | |
| 232 | def is_perp(self, other: Line) -> bool: |
| 233 | a, b, _ = self.coefficients |
| 234 | x, y, _ = other.coefficients |
| 235 | return abs(a * x + b * y) < ATOM |
| 236 | |
| 237 | def cross(self, other: Line) -> float: |
| 238 | a, b, _ = self.coefficients |
no outgoing calls