(self, other: Line)
| 225 | return x * a + y * b + c |
| 226 | |
| 227 | def is_parallel(self, other: Line) -> bool: |
| 228 | a, b, _ = self.coefficients |
| 229 | x, y, _ = other.coefficients |
| 230 | return abs(a * y - b * x) < ATOM |
| 231 | |
| 232 | def is_perp(self, other: Line) -> bool: |
| 233 | a, b, _ = self.coefficients |
no outgoing calls