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

Method all_same_angle

graph.py:2479–2484  ·  view source on GitHub ↗
(
      self, a: Point, b: Point, c: Point, d: Point
  )

Source from the content-addressed store, hash-verified

2477 yield p1, p2
2478
2479 def all_same_angle(
2480 self, a: Point, b: Point, c: Point, d: Point
2481 ) -> Generator[tuple[Point, Point, Point, Point], None, None]:
2482 for x, y in self.all_same_line(a, b):
2483 for m, n in self.all_same_line(c, d):
2484 yield x, y, m, n
2485
2486 def additionally_draw(self, name: str, args: list[Point]) -> None:
2487 """Draw some extra line/circles for illustration purpose."""

Callers

nothing calls this directly

Calls 1

all_same_lineMethod · 0.95

Tested by

no test coverage detected