Package empro :: Module empro :: Module geometry :: Class BoundingBox3D
[frames] | no frames]

Class BoundingBox3D

core.Updatable --+    
                 |    
   core.Selectable --+
                     |
                    BoundingBox3D

A bounding box in 3 dimensions.

Class Hierarchy for BoundingBox3D
Class Hierarchy for BoundingBox3D

constructor BoundingBox3D():

constructor BoundingBox3D(iLower, iUpper):

Instance Methods
Vector3d
center()
The center of the bounding box.
bool
contains(iPoint)
Check if another bounding box is within the bounding box.
Vector3d
extent()
The extent of the bounding box.
None
forceInclusion(iPoint)
Expands the bounding box to include a point.
bool
intersects()
Determines wheter the two bounding boxes intersect or not.
 
volume(...)
No documentation available.

Inherited from core.Selectable: clone, isSelected

Inherited from core.Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties
Vector3dNone lower
The lower corner point.
Vector3dNone upper
The upper corner point.

Inherited from core.Selectable: metaData, name, notes

Method Details

contains(iPoint)

 

Check if another bounding box is within the bounding box.

Parameters:
Returns: bool

forceInclusion(iPoint)

 

Expands the bounding box to include a point.

Parameters:
  • iPoint (Vector3d) - The point to forcefully include in the bounding box allowing expansion.
Returns: None