EGI.mesh_oriented_bounding_box_numpy
- EGI.mesh_oriented_bounding_box_numpy()
 Compute the (axis aligned) bounding box of a mesh.
- Parameters
 mesh (compas.datastructures.Mesh) – The mesh data structure.
- Returns
 list – The bounding box of the mesh as a list of corner vertex coordinates.
Examples
>>> from compas.datastructures import Mesh >>> hypar = Mesh.from_obj(compas.get('hypar.obj')) >>> box = mesh_oriented_bounding_box_numpy(hypar) >>> len(box) 8