pyvista.Prop3D.bounds#

property Prop3D.bounds: pyvista.BoundsLike[source]#

Return the bounds of the entity.

Bounds are (-X, +X, -Y, +Y, -Z, +Z)

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> mesh = pv.Cube(x_length=0.1, y_length=0.2, z_length=0.3)
>>> actor = pl.add_mesh(mesh)
>>> actor.bounds
(-0.05, 0.05, -0.1, 0.1, -0.15, 0.15)
../../../_images/pyvista-Prop3D-bounds-1_00_00.png