pyvista.DataObject.shallow_copy

pyvista.DataObject.shallow_copy#

DataObject.shallow_copy(to_copy: Self | _vtk.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.