shallow_copy

DataObject.shallow_copy(to_copy: vtkmodules.vtkCommonDataModel.vtkDataObject) vtkmodules.vtkCommonDataModel.vtkDataObject

Shallow copy the given mesh to this mesh.

Parameters
to_copypyvista.DataObject or vtk.vtkDataObject

Data object to perform a shallow copy from.