| Trees | Indices | Toggle frames |
|---|
Implements the Cshape interface that uses rectangles with sides paralell to the coordinate axis as geometric shape.
Distance is not the euclidean distance but the rectangular or max-min distance, max( min(x0 - x1), min(y0 - y1) : (xi, yi) in recti )
Good if actors don't rotate.
Look at Cshape for other class and methods documentation.
| __init__(self, center, half_width, half_height) | |
| overlaps(self, other) | |
| distance(self, other) | |
| near_than(self, other, near_distance) | |
| touches_point(self, x, y) | |
| fits_in_box(self, packed_box) | |
| minmax(self) | |
| copy(self) |
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Wed Oct 26 10:00:13 2011 | http://epydoc.sourceforge.net |