pyvista.CellArray.regular_cells

pyvista.CellArray.regular_cells#

property CellArray.regular_cells: NumpyArray[int][source]#

Return an array of shape (n_cells, cell_size) of point indices when all faces have the same size.

Returns:
numpy.ndarray

Array of face indices of shape (n_cells, cell_size).

Notes

This property does not validate that the cells are all actually the same size. If they’re not, this property may either raise a ValueError or silently return an incorrect array.