pyvista.PolyData.obbTree

Contents

pyvista.PolyData.obbTree#

property PolyData.obbTree: vtkOBBTree#

Return the obbTree of the polydata.

An obbTree is an object to generate oriented bounding box (OBB) trees. An oriented bounding box is a bounding box that does not necessarily line up along coordinate axes. The OBB tree is a hierarchical tree structure of such boxes, where deeper levels of OBB confine smaller regions of space.

Warning

This property is expensive to compute and is therefore cached. If the mesh’s geometry is modified, the obb tree will no longer be valid.