bounding_box()#

TetraMeshData.bounding_box(to_world)#

Returns a bounding box that encloses the mesh.

The box is padded by a small margin to reduce the risk of numerical accuracy problems between the mesh and box representations following coordinate transforms.

Parameters:

to_world – Local to world space transform matrix.

Returns:

A BoundingBox3D object.