(self, obj: Union[Line, Circle])
| 420 | self.r2 = radius * radius |
| 421 | |
| 422 | def intersect(self, obj: Union[Line, Circle]) -> tuple[Point, ...]: |
| 423 | if isinstance(obj, Line): |
| 424 | return obj.intersect(self) |
| 425 | if isinstance(obj, Circle): |
| 426 | return circle_circle_intersection(self, obj) |
| 427 | |
| 428 | def sample_within(self, points: list[Point], n: int = 5) -> list[Point]: |
| 429 | """Sample a point within the boundary of points.""" |
nothing calls this directly
no test coverage detected