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

Function sketch_ninepoints

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

Source from the content-addressed store, hash-verified

1386
1387
1388def sketch_ninepoints(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:
1389 a, b, c = args
1390 x = (b + c) * 0.5
1391 y = (c + a) * 0.5
1392 z = (a + b) * 0.5
1393 c = Circle(p1=x, p2=y, p3=z)
1394 return x, y, z, c.center
1395
1396
1397def sketch_2l1c(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:

Callers

nothing calls this directly

Calls 1

CircleClass · 0.70

Tested by

no test coverage detected