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

Function sketch_isos

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

Source from the content-addressed store, hash-verified

1693
1694
1695def sketch_isos(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:
1696 base = unif(0.5, 1.5)
1697 height = unif(0.5, 1.5)
1698
1699 b = Point(-base / 2, 0.0)
1700 c = Point(base / 2, 0.0)
1701 a = Point(0.0, height)
1702 a, b, c = random_rfss(a, b, c)
1703 return a, b, c
1704
1705
1706def sketch_line(args: tuple[gm.Point, ...]) -> Line:

Callers

nothing calls this directly

Calls 2

random_rfssFunction · 0.85
PointClass · 0.70

Tested by

no test coverage detected