Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/alphageometry
/ diff_point
Function
diff_point
dd.py:38–42 ·
view source on GitHub ↗
(l: gm.Line, a: gm.Point)
Source
from the content-addressed store, hash-verified
36
37
38
def
diff_point(l: gm.Line, a: gm.Point) -> gm.Point:
39
for
x in l.neighbors(gm.Point):
40
if
x != a:
41
return
x
42
return
None
43
44
45
# pylint: disable=protected-access
Callers
2
match_circle_eqangle_perp
Function · 0.85
match_circle_perp_eqangle
Function · 0.85
Calls
1
neighbors
Method · 0.80
Tested by
no test coverage detected