overwrite#

PolyData.overwrite(mesh: vtkDataSet)#

Overwrite this dataset inplace with the new dataset’s geometries and data.

Deprecated since version 0.37.0: Use DataSet.copy_from() instead.

Parameters:
meshvtk.vtkDataSet

The overwriting mesh.