def overwrite(self, mesh):
        """
        Overwrites this mesh inplace with the new mesh's geometries and data

        Parameters
        ----------
        mesh : vtk.vtkDataSet
            The overwriting mesh.

        """
        self.DeepCopy(mesh)
        if is_vtki_obj(mesh):
            self.copy_meta_from(mesh)
def overwrite ( self , mesh ) : self . DeepCopy ( mesh ) if is_vtki_obj ( mesh ) : self . copy_meta_from ( mesh )
Overwrites this mesh inplace with the new mesh's geometries and data

        Parameters
        ----------
        mesh : vtk.vtkDataSet
            The overwriting mesh.