bounds#
- property RectilinearGrid.bounds: Tuple[float, float, float, float, float, float]#
Return the bounding box of this dataset.
The form is:
(xmin, xmax, ymin, ymax, zmin, zmax)
.Examples
Create a cube and return the bounds of the mesh.
>>> import pyvista >>> cube = pyvista.Cube() >>> cube.bounds (-0.5, 0.5, -0.5, 0.5, -0.5, 0.5)