mesh_oriented_bounding_box_xy_numpy
-
compas.datastructures.
mesh_oriented_bounding_box_xy_numpy
(mesh)[source] Compute the (axis aligned) bounding box of a projection of the mesh in the XY plane.
- Parameters
mesh (compas.datastructures.Mesh) – The mesh data structure.
- Returns
box_xy – The bounding box.
Examples
>>> mesh_oriented_bounding_box_xy_numpy(mesh) [[10.0, 0.0], [0.0, 0.0], [0.0, 10.0], [10.0, 10.0]]