mesh_bounding_box_xy
-
compas.datastructures.
mesh_bounding_box_xy
(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
list of point – The 4 corners of the bounding polygon in the XY plane.
Examples
>>> mesh_bounding_box_xy(mesh) [[0.0, 0.0, 0.0], [10.0, 0.0, 0.0], [10.0, 10.0, 0.0], [0.0, 10.0, 0.0]]