pyvista.Cell.bounds

Contents

pyvista.Cell.bounds#

property Cell.bounds: BoundsTuple[source]#

Get the cell bounds in (x_min, x_max, y_min, y_max, z_min, z_max).

Returns:
BoundsTuple

The cell bounds in (x_min, x_max, y_min, y_max, z_min, z_max).

Examples

>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).bounds
BoundsTuple(x_min=0.0, x_max=0.05405950918793678, y_min=0.0, y_max=0.011239604093134403, z_min=0.49706897139549255, z_max=0.5)