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

Method check_nperp

graph.py:1329–1332  ·  view source on GitHub ↗
(self, points: list[Point])

Source from the content-addressed store, hash-verified

1327 return self.check_perpl(ab, cd)
1328
1329 def check_nperp(self, points: list[Point]) -> bool:
1330 if self.check_perp(points):
1331 return False
1332 return not nm.check_perp([p.num for p in points])
1333
1334 def _get_segment(self, p1: Point, p2: Point) -> Optional[Segment]:
1335 for s in self.type2nodes[Segment]:

Callers 2

checkMethod · 0.95
match_genericFunction · 0.80

Calls 1

check_perpMethod · 0.95

Tested by

no test coverage detected