pyvista.Prop3D.bounds#
- property Prop3D.bounds: BoundsTuple[source]#
Return the bounds of the entity.
Bounds are
(x_min, x_max, y_min, y_max, z_min, z_max)
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 BoundsTuple(x_min=-0.05, x_max=0.05, y_min=-0.1, y_max=0.1, z_min=-0.15, z_max=0.15)