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

Method __init__

numericals.py:321–325  ·  view source on GitHub ↗
(self, tail: Point, head: Point)

Source from the content-addressed store, hash-verified

319 """Numerical ray."""
320
321 def __init__(self, tail: Point, head: Point): # pylint: disable=super-init-not-called
322 self.line = Line(tail, head)
323 self.coefficients = self.line.coefficients
324 self.tail = tail
325 self.head = head
326
327 def intersect(self, obj: Union[Line, HalfLine, Circle, HoleCircle]) -> Point:
328 if isinstance(obj, (HalfLine, Line)):

Callers

nothing calls this directly

Calls 1

LineClass · 0.70

Tested by

no test coverage detected