pyvista.CellArray.regular_cells

pyvista.CellArray.regular_cells#

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

Return a (n_cells, cell_size)-shaped array of point indices for equal-sized faces.

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.