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

Function sketch_reflect

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

Source from the content-addressed store, hash-verified

1793
1794
1795def sketch_reflect(args: tuple[gm.Point, ...]) -> Point:
1796 a, b, c = args
1797 m = a.foot(Line(b, c))
1798 return m * 2 - a
1799
1800
1801def sketch_risos(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:

Callers

nothing calls this directly

Calls 2

footMethod · 0.80
LineClass · 0.70

Tested by

no test coverage detected