pyvista.Prop3D.bounds#

property Prop3D.bounds: Tuple[int | float, int | float, int | float, int | float, int | float, int | float][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)
https://d33wubrfki0l68.cloudfront.net/7341c8c64427601f0d999653c6926d770d8066c3/e60f0/_images/pyvista-prop3d-bounds-1_00_00.png