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

Method _get_angle

graph.py:1122–1128  ·  view source on GitHub ↗
(
      self, d1: Direction, d2: Direction
  )

Source from the content-addressed store, hash-verified

1120 return not nm.check_para([p.num for p in points])
1121
1122 def _get_angle(
1123 self, d1: Direction, d2: Direction
1124 ) -> tuple[Angle, Optional[Angle]]:
1125 for a in self.type2nodes[Angle]:
1126 if a.directions == (d1, d2):
1127 return a, a.opposite
1128 return None, None
1129
1130 def get_first_angle(
1131 self, l1: Line, l2: Line

Callers 4

check_perplMethod · 0.95
match_eqangle_perp_perpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected