Hi!<div><br></div><div>I have a 3-D surface mesh in which I&#39;ve manually defined a closed contour, similar to this one: <a href="http://tinypic.com/r/2qmp2s1/7" target="_blank">http://tinypic.com/r/2qmp2s1/7</a> (the closed contour being the green curve).</div>

<div><br></div><div>I want to label only the points inside this contour but, as you can see in yellow, the surface contains holes and &quot;bumps&quot; which makes difficult this labeling. What I&#39;ve decided is that I want to label _only_ those points located in the &quot;outer&quot; surface, ie without going inside the holes or below the bumps (which in the end are just another type of holes).</div>

<div><br></div><div>I&#39;m trying to make this implementation in VTK but up to know I haven&#39;t come up with ideas for solving these questions:</div><div><br></div><div>1. How to determine if a point is inside or outside the closed contour? I was looking at class vtkSelectPolyData but I don&#39;t know if it would work on a mesh with holes on the surface.</div>

<div><br></div><div>once solve the problem of points inside/outside:</div><div>2. How to take only those points inside of the closed contour but located at the outer surface?</div><div><br></div><div>Thanks!</div><div>Miguel</div>
<div><br></div><div><br></div>