A kD-tree.
|
|
|
_same_coords(self,
objects)
True if and only if all the given objects have the same coordinates. |
source code
|
|
|
_bounds_of_objects(self)
Bounds of the objects contained in the tree. |
source code
|
|
|
_longest_dimension(self)
Longest dimension of the tree bounds. |
source code
|
|
|
objects(self)
Returns the objects in the tree. |
source code
|
|
|
__iter__(self)
Iterator over all the objects contained in the tree. |
source code
|
|
|
|
|
|
|
split_dim(self)
Returns the dimension along which this level of the kD-tree splits. |
source code
|
|
|
bounds(self)
Returns the coordinates of the lower-left and upper-right corners of
the bounding box for this tree: low_left, up_right |
source code
|
|
|
volume(self)
Returns the volume of the bounding box of the tree. |
source code
|
|
|
|
|
operate(self,
f,
g,
boxing=64)
Operates on tree nodes exceeding boxing parameter depth. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|