|
__init__(self,
*args)
Create a new instance of a bounding box. |
|
|
|
|
|
|
|
|
|
intersects(self,
other)
Returns true if the bounding boxes intersect |
|
|
|
contains(self,
other)
Returns true if bb completley contains the other bb |
|
|
|
contains_vect(self,
v)
Returns true if this bb contains the vector v |
|
|
|
merge(self,
other)
Return the minimal bounding box that contains both this bb and the
other bb |
|
|
|
expand(self,
v)
Return the minimal bounding box that contans both this bounding box
and the vector v |
|
|
|
clamp_vect(self,
v)
Returns a copy of the vector v clamped to the bounding box |
|
|
|
wrap_vect(self,
v)
Returns a copy of v wrapped to the bounding box. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|