pyvista.CellArray.from_irregular_cells#
- classmethod CellArray.from_irregular_cells(cells: MatrixLike[int]) pyvista.CellArray[source]#
 Construct a
CellArrayfrom a (n_cells, cell_size) array of cell indices.- Parameters:
 - cells
numpy.ndarrayorlist[list[int]] Cell array of shape (n_cells, cell_size) where all cells have the same cell_size.
- cells
 - Returns:
 pyvista.CellArrayConstructed
CellArray.