(self, p: Point)
| 176 | return Line(coefficients=(a, b, -a * p.x - b * p.y)) # pylint: disable=invalid-unary-operand-type |
| 177 | |
| 178 | def perpendicular_line(self, p: Point) -> Line: |
| 179 | a, b, _ = self.coefficients |
| 180 | return Line(p, p + Point(a, b)) |
| 181 | |
| 182 | def greater_than(self, other: Line) -> bool: |
| 183 | a, b, _ = self.coefficients |