Computes an oriented bounding box for a set of points.
Methods ¶
__init__()
        
Constructs an empty bounding box.
__mul__(matrix4)
  → OrientedBoundingBox
        
Return a copy of this bounding box transformed by the given matrix.
center()
  → hou.Vector3
        
Returns the position of the center of the bounding box.
contains(point)
  → bool
        
Given a sequence of 3 floats (such as a hou.Vector3) describing a position, return whether the position is inside the box.
isAlmostEqual(bbox, tolerance=0.00001)
  → bool
        
Returns whether this bounding box is equal to another, subject to numerical tolerances.
isValid()
  → bool
        
Returns whether this bounding box is valid.
rotation()
  → hou.Matrix3
        
Returns a matrix describing the orientation of the bounding box in space.
sizevec()
  → hou.Vector3
        
Returns a vector describing the size of the box in each of the x, y and z axes
    relative to its rotated coordinate system (that is, where the x axis is the first row of rotation).