pyvista.UnstructuredGrid.linear_copy#
- UnstructuredGrid.linear_copy(deep: bool = False)[source]#
Return a copy of the unstructured grid containing only linear cells.
Converts the following cell types to their linear equivalents.
- Parameters:
- Returns:
pyvista.UnstructuredGrid
UnstructuredGrid containing only linear cells when
deep=False
.