pyvista.CellArray.from_arrays

pyvista.CellArray.from_arrays#

static CellArray.from_arrays(
offsets: MatrixLike[int],
connectivity: MatrixLike[int],
deep: bool = False,
) CellArray[ソース]#

Construct a CellArray from offsets and connectivity arrays.

パラメータ:
offsetsMatrixLike[int]

Offsets array of length n_cells + 1.

connectivityMatrixLike[int]

コネクティビティ配列.

deepbool, default: False

Whether to deep copy the array data into the vtk arrays.

戻り値:
CellArray

Constructed CellArray.