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

Function sketch_triangle12

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

Source from the content-addressed store, hash-verified

1878
1879
1880def sketch_triangle12(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:
1881 b = Point(0.0, 0.0)
1882 c = Point(unif(1.5, 2.5), 0.0)
1883 a, _ = circle_circle_intersection(Circle(b, 1.0), Circle(c, 2.0))
1884 a, b, c = random_rfss(a, b, c)
1885 return a, b, c
1886
1887
1888def sketch_trisect(args: tuple[gm.Point, ...]) -> tuple[Point, Point]:

Callers

nothing calls this directly

Calls 4

random_rfssFunction · 0.85
PointClass · 0.70
CircleClass · 0.70

Tested by

no test coverage detected