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

Function check_perp

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

Source from the content-addressed store, hash-verified

694
695
696def check_perp(points: list[Point]) -> bool:
697 a, b, c, d = points
698 ab = Line(a, b)
699 cd = Line(c, d)
700 return ab.is_perp(cd)
701
702
703def check_cyclic(points: list[Point]) -> bool:

Callers

nothing calls this directly

Calls 2

is_perpMethod · 0.95
LineClass · 0.70

Tested by

no test coverage detected