(current: Entity, e: Entity)
| 296 | |
| 297 | |
| 298 | def get_angle(current: Entity, e: Entity) -> Tuple[float, Segment]: |
| 299 | |
| 300 | if current is e: |
| 301 | return inf, Segment(Point(inf, inf), Point(inf, inf)) |
| 302 | |
| 303 | if isinstance(current, Point): |
| 304 | if isinstance(e, Point): |
| 305 | return pt_pt(current, e) |
| 306 | else: |
| 307 | return pt_arc(current, e) |
| 308 | else: |
| 309 | if isinstance(e, Point): |
| 310 | return arc_pt(current, e) |
| 311 | else: |
| 312 | return arc_arc(current, e) |
| 313 | |
| 314 | |
| 315 | def update_hull( |