<div dir="ltr">Could you please post your code?<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 11:09 AM, rakesh patil <span dir="ltr"><<a href="mailto:prakeshofficial@gmail.com">prakeshofficial@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<div><br></div><div>I have been trying to find whether a given point is within a polygon or not. I have been doing this using,</div>
<div><br></div><div>vtkPolygon::PointInPolygon() </div><div><br></div><div>function. But out of 10 runs, in 1 run, i get only few points inside, the polygon. Others just fails and shows 0 points selected.</div>
<div><br></div><div>Can anyone come up with a small example, for this?</div><div><br></div><div>Thanks</div><div><br></div><div>Warm Regards</div><div>Rakesh Patil</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">PhD Student<br>Dept. of Medical Physics<br>Clatterbridge Centre for Oncology<br>UK<br></div><br>
</div>