MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / sketch_acircle

Function sketch_acircle

numericals.py:1481–1486  ·  view source on GitHub ↗
(args: tuple[gm.Point, ...])

Source from the content-addressed store, hash-verified

1479
1480
1481def sketch_acircle(args: tuple[gm.Point, ...]) -> Circle:
1482 a, b, c, d, f = args
1483 de = sketch_aline([c, a, b, f, d])
1484 fe = sketch_aline([a, c, b, d, f])
1485 e = line_line_intersection(de, fe)
1486 return Circle(p1=d, p2=e, p3=f)
1487
1488
1489def sketch_aline(args: tuple[gm.Point, ...]) -> HalfLine:

Callers

nothing calls this directly

Calls 3

sketch_alineFunction · 0.85
line_line_intersectionFunction · 0.85
CircleClass · 0.70

Tested by

no test coverage detected