pyvista.DataObject.deep_copy

pyvista.DataObject.deep_copy#

DataObject.deep_copy(to_copy: Self | _vtk.vtkDataObject) None[source]#

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.