(self, p: Point)
| 215 | return line_circle_intersection(self, obj) |
| 216 | |
| 217 | def distance(self, p: Point) -> float: |
| 218 | a, b, c = self.coefficients |
| 219 | return abs(self(p.x, p.y)) / math.sqrt(a * a + b * b) |
| 220 | |
| 221 | def __call__(self, x: Point, y: Point = None) -> float: |
| 222 | if isinstance(x, Point) and y is None: |
no outgoing calls