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

Method parallel_line

numericals.py:126–127  ·  view source on GitHub ↗
(self, line: Line)

Source from the content-addressed store, hash-verified

124 raise ValueError('Dropping foot to weird type {}'.format(type(line)))
125
126 def parallel_line(self, line: Line) -> Line:
127 return line.parallel_line(self)
128
129 def norm(self) -> float:
130 return np.sqrt(self.x**2 + self.y**2)

Callers

nothing calls this directly

Calls 1

parallel_lineMethod · 0.45

Tested by

no test coverage detected