Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
696
def
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
703
def
check_cyclic(points: list[Point]) -> bool:
Callers
nothing calls this directly
Calls
2
is_perp
Method · 0.95
Line
Class · 0.70
Tested by
no test coverage detected