deep_copy

UnstructuredGrid.deep_copy(to_copy: vtkmodules.vtkCommonDataModel.vtkDataObject) vtkmodules.vtkCommonDataModel.vtkDataObject

Overwrite this data object with another data object as a deep copy.

Parameters
to_copypyvista.DataObject or vtk.vtkDataObject

Data object to perform a deep copy from.