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

Method __gt__

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

Source from the content-addressed store, hash-verified

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)
58
59 def __add__(self, p: Point) -> Point:
60 return Point(self.x + p.x, self.y + p.y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected