Package horizons :: Package util :: Package shapes :: Module point :: Class ConstPoint
[hide private]
[frames] | no frames]

Class ConstPoint

source code

python.Const --+
   Shape --+   |
           |   |
       Point --+

An immutable Point

Instance Methods [hide private]
    Inherited from Point
__add__(self, other) source code
__eq__(self, other) source code
__hash__(self) source code
__init__(self, x, y) source code
nice representation for debugging purposes
source code
__sub__(self, other) source code
Returns the center of the point (this makes Point interface more coherent with Rect).
source code
contains(self, point)
For compatibility with Rect
source code
copy(self) source code
iter_without_border(self) source code
offset(self, x_offset, y_offset)
Returns a Point with an offset of x, y relative to this Point.
source code
Returns point as a tuple
source code
tuple_iter(self) source code
    Inherited from Shape
Return all coordinates in the shape as points.
source code
distance(self, other) source code
Return all coordinates in the shape.
source code
get_distance_function(self, other) source code