shallow_copy#

UniformGrid.shallow_copy(to_copy: vtkDataObject) vtkDataObject#

Shallow copy the given mesh to this mesh.

Parameters
to_copypyvista.DataObject or vtk.vtkDataObject

Data object to perform a shallow copy from.