aabb
- m3sh.vis.aabb(points, opacity=0.15, edges=True, labels='dim', color=(1.0, 0.9804, 0.9804))[source]
Axis aligned bounding box.
Display axis aligned bounding box of points with annotation.
- Parameters:
points (Prop or array_like, shape (3, k)) – An array of \(k\) points in 3-space.
opacity (float, optional) – Opacity of bounding box.
edges (bool, optional) – Toggle edges of the bounding box.
labels (str, optional) – Either
None
, ‘dim’, ‘minmax’, or ‘both’.color (array_like, shape (3, ), optional) – Bounding box color.
- Returns:
Bounding box shape.
- Return type:
Note
Visual properties of the bounding box edges can be further customized via the returned
PolyMesh
instance.