code: def delaunay_2d(self, tol=1e-05, alpha=0.0, offset=1.0, bound=False, inplace=False):
          
          alg = vtk.vtkDelaunay2D()
          alg.SetProjectionPlaneMode(vtk.VTK_BEST_FITTING_PLANE)
          alg.SetInputDataObject(self)
          alg.SetTolerance(tol)
          alg.SetAlpha(alpha)
          alg.SetOffset(offset)
          alg.SetBoundingTriangulation(bound)
          alg.Update()
  
          mesh = _get_output(alg)
          if inplace:
              self.overwrite(mesh)
          else:
              return mesh
docs: Apply a delaunay 2D filter along the best fitting plane