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

Function check_cong

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

Source from the content-addressed store, hash-verified

796
797
798def check_cong(points: list[Point]) -> bool:
799 a, b, c, d = points
800 return close_enough(a.distance(b), c.distance(d))
801
802
803def check_midp(points: list[Point]) -> bool:

Callers

nothing calls this directly

Calls 2

close_enoughFunction · 0.85
distanceMethod · 0.45

Tested by

no test coverage detected