pyvista.DataObject.shallow_copy#

DataObject.shallow_copy(to_copy: vtkDataObject) None[source]#

Shallow copy the given mesh to this mesh.

Parameters:
to_copypyvista.DataObject or vtk.vtkDataObject

Data object to perform a shallow copy from.