(pt: QPointF)
| 83 | # ── junction detection ──────────────────────────────────────────────────────── |
| 84 | |
| 85 | def _pt_key(pt: QPointF) -> tuple[int, int]: |
| 86 | return (round(pt.x()), round(pt.y())) |
| 87 | |
| 88 | |
| 89 | def _pt_on_segment(x: int, y: int, p1: QPointF, p2: QPointF) -> bool: |
no outgoing calls
no test coverage detected