volmesh_bounding_box

compas.datastructures.volmesh_bounding_box(volmesh)[source]

Compute the (axis aligned) bounding box of a volmesh.

Parameters

volmesh (compas.datastructures.VolMesh) – The mesh data structure.

Returns

  • float – The x dimension of the bounding box.

  • float – The y dimension of the bounding box.

  • float – The z dimensino of the bounding box.