pyvista.CellArray.from_arrays#
- static CellArray.from_arrays( ) CellArray [source]#
Construct a CellArray from offsets and connectivity arrays.
- Parameters:
- offsets
MatrixLike
[int
] Offsets array of length n_cells + 1.
- connectivity
MatrixLike
[int
] Connectivity array.
- deepbool, default:
False
Whether to deep copy the array data into the vtk arrays.
- offsets
- Returns:
CellArray
Constructed CellArray.