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

Function sketch_bline

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

Source from the content-addressed store, hash-verified

1538
1539
1540def sketch_bline(args: tuple[gm.Point, ...]) -> Line:
1541 a, b = args
1542 m = (a + b) * 0.5
1543 return m.perpendicular_line(Line(a, b))
1544
1545
1546def sketch_dia(args: tuple[gm.Point, ...]) -> Circle:

Callers

nothing calls this directly

Calls 2

LineClass · 0.70
perpendicular_lineMethod · 0.45

Tested by

no test coverage detected