cell_bounds

ExplicitStructuredGrid.cell_bounds(ind: int) List[float]

Return the bounding box of a cell.

Parameters
indint

Cell ID.

Returns
list(float)

The limits of the cell in the X, Y and Z directions respectivelly.

Examples

>>> from pyvista import examples
>>> mesh = examples.load_airplane()
>>> mesh.cell_bounds(0)
[896.9940185546875, 907.5390014648438, 48.760101318359375, 55.49020004272461, 80.74520111083984, 83.65809631347656]