Wrong result from vtkImplicitPolyDataDistance + vtkSampleFunction
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Attached is a test code to reproduce a bug with a combination of vtkImplicitPolyDataDistance + vtkSampleFunction.
In this test a triangle mesh of only one connected component is set as input to vtkImplicitPolyDataDistance then an implicit function is sampled with vtkSampleFunction. The result is contoured with vtkImageMarchingCubes and the vtkPolyData resulting from this last step shows more than one connected component.
Attached is also the snapshot of the result.
The test has being executed on reelease 6.1.