<div dir="ltr">Hi David<br>thank you for the reply.<br><br>I'm sorry but I've misunderstood your answer.<br>Is the problem with the surface which includes outliers? <br>My surface is clearly structured in a specific location (at least no outlier is presented)<br>
so why the extracted points aren't on the surface?<br><br>how it's possible to check where an index is located on a surface? (is it posible to insert my surface and an index and the point will be presented correspondingly?)<br>
<br><br>Best Regards,<br>Hila<br><br><div class="gmail_quote">On Thu, May 17, 2012 at 2:52 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, May 17, 2012 at 1:57 AM, Hila Hiler <<a href="mailto:hilahiler@gmail.com">hilahiler@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I encountered with an unreasonable problem.<br>
> I inserted my surface (it's the head's skin like present in my profile) and<br>
> walk with a vtkIdType index on its points.<br>
> my expectation is that just the points which on this surface will be<br>
> visited, but the strange part is that other points were visited too.<br>
><br>
> this is my code:<br>
><br>
> vtkIdType numPointsOnSurface = mySurface->GetNumberOfPoints();<br>
><br>
> for( vtkIdType idx= 1; idx < numPointsOnSurface; idx++)<br>
> {<br>
> mySurface->GetPoint(idx,physical_point_on_surface);<br>
><br>
> ...<br>
><br>
> so I checked and saw that physical_point_on_surface isn't on the surface in<br>
> some cases.<br>
><br>
> What have I missed?<br>
><br>
> Best Regards,<br>
> Hila<br>
<br>
</div></div>There is nothing preventing a data set from containing a surface as<br>
well as points that are not on the surface. You must have a problem<br>
with your data set collection/construction.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br></div>