<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hmm first thing that comes to mind is using the <a href="http://www.vtk.org/doc/release/5.2/html/a00908.html">vtkOBBTree</a>, feed the polydata, use ‘BuildLocator’ and then use the 'InsideOrOutside’ method.<div><br></div><div>Cheers,</div><div>Adam</div><div><br><div><div>On Oct 8, 2014, at 12:29 PM, Simon <<a href="mailto:75779910@qq.com">75779910@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi, I have read a *.stl to a vtkPolyData, and I checked it is Not Surface<br>Closed, is it possible to know a coordinate like (x:1.232323, y:2.232323, z:<br>3.1232323) is inside or outside this vtkPolyData?<br><br>Thankx!<br><br><br><br>--<br>View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-know-a-coordinate-inside-or-outside-a-vtkPolyData-tp5729019.html">http://vtk.1045678.n5.nabble.com/How-to-know-a-coordinate-inside-or-outside-a-vtkPolyData-tp5729019.html</a><br>Sent from the VTK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>