qgl.aabb
index
/home/simon/svn/qgl/trunk/qgl/aabb.py

This module contains a BoudningBox implementation, which can be used to build
a volume heirarchy, which can will then provide efficient culling and 
collision testing.

 
Modules
       
Numeric

 
Classes
       
__builtin__.object
BoundingBox

 
class BoundingBox(__builtin__.object)
    An bounding box class.
 
  Methods defined here:
__add__(self, b)
Adds another bounding box volume, the new box covers both volumes.
__init__(self, position=(0.0, 0.0, 0.0), extents=(0.0, 0.0, 0.0))
__repr__(self)
intersects(self, b)
Return True if self intersects with b.
max(self, index)
Return max coordinate (specified by index x=0,y=1,z=2)
min(self, index)
Return min coordinate (specified by index x=0,y=1,z=2)

Class methods defined here:
from_extents(cls, (minx, maxx, miny, maxy, minz, maxz)) from __builtin__.type
Return a BoundingBox created from minx, max, miny, maxy, minz and 
maxz dimensions.

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'BoundingBox' objects>
list of weak references to the object (if defined)