<div dir="ltr">Hi,<div>Here is a problem I am dealing with.</div><div><br></div><div>1. I have created a polydata (vtkPolydata) consists of a set of unstructured points (vtkPoints).</div><div><br></div><div>2. I run the Delaunay filter to create the connectivity and cells for the points in the polydata.</div><div><br></div><div>3. As a result I get the surface of the polydata and then I run the "FillHolesFilter" to make sure that there are no holes in the surface. At this stage I am not sure if am successful or still there are some disconnected regions on the surface where the connectivity information is missing.</div><div><br></div><div>4. Now I try to find out for a given point p, if it is inside or outside of the polydata I get after step 3.</div><div>(ex : <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointInsideObject">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointInsideObject</a>)</div><div><br></div><div>Here I notice that some points which are strictly should be identified as outside of the surface, are determined as inside. </div><div>The above example works on the assumption that the original polydata (after step 3) should have a closed surface.</div><div><br></div><div>If my understanding is right, then how do I make sure that at stage 3, I have a polydata for which I really have a closed continuous surface ?</div><div><br></div><div><a href="http://vtk.1045678.n5.nabble.com/Find-if-a-point-is-inside-a-mesh-td5649582.html">http://vtk.1045678.n5.nabble.com/Find-if-a-point-is-inside-a-mesh-td5649582.html</a><br></div><div><br></div><div>The above thread, discussed about this problem partially, but I am still not clear if I my understanding is right and how to solve it.</div><div><br></div><div>Any help from the experts?</div><div><br></div><div>Thanks,</div><div>Chiranjib</div></div>