(points: list[Point])
| 658 | |
| 659 | |
| 660 | def check_coll(points: list[Point]) -> bool: |
| 661 | a, b = points[:2] |
| 662 | l = Line(a, b) |
| 663 | for p in points[2:]: |
| 664 | if abs(l(p.x, p.y)) > ATOM: |
| 665 | return False |
| 666 | return True |
| 667 | |
| 668 | |
| 669 | def check_ncoll(points: list[Point]) -> bool: |