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

Method __lt__

numericals.py:53–54  ·  view source on GitHub ↗
(self, other: Point)

Source from the content-addressed store, hash-verified

51 self.y = y
52
53 def __lt__(self, other: Point) -> bool:
54 return (self.x, self.y) < (other.x, other.y)
55
56 def __gt__(self, other: Point) -> bool:
57 return (self.x, self.y) > (other.x, other.y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected