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

Function check_midp

numericals.py:803–805  ·  view source on GitHub ↗
(points: list[Point])

Source from the content-addressed store, hash-verified

801
802
803def check_midp(points: list[Point]) -> bool:
804 a, b, c = points
805 return check_coll(points) and close_enough(a.distance(b), a.distance(c))
806
807
808def check_simtri(points: list[Point]) -> bool:

Callers

nothing calls this directly

Calls 3

check_collFunction · 0.85
close_enoughFunction · 0.85
distanceMethod · 0.45

Tested by

no test coverage detected