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

Function sketch_eqangle3

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

Source from the content-addressed store, hash-verified

1662
1663
1664def sketch_eqangle3(args: tuple[gm.Point, ...]) -> Circle:
1665 a, b, d, e, f = args
1666 de = d.distance(e)
1667 ef = e.distance(f)
1668 ab = b.distance(a)
1669 ang_ax = ang_of(a, b) + ang_between(e, d, f)
1670 x = head_from(a, ang_ax, length=de / ef * ab)
1671 return Circle(p1=a, p2=b, p3=x)
1672
1673
1674def sketch_eqdia_quadrangle(args: tuple[gm.Point, ...]) -> tuple[Point, ...]:

Callers

nothing calls this directly

Calls 5

ang_ofFunction · 0.85
ang_betweenFunction · 0.85
head_fromFunction · 0.85
CircleClass · 0.70
distanceMethod · 0.45

Tested by

no test coverage detected