[vtkusers] How to know a coordinate inside or outside a vtkPolyData?

Adamos Kyriakou somada141 at gmail.com
Tue Oct 7 21:36:04 EDT 2014


Hmm first thing that comes to mind is using the vtkOBBTree, feed the polydata, use ‘BuildLocator’ and then use the 'InsideOrOutside’ method.

Cheers,
Adam

On Oct 8, 2014, at 12:29 PM, Simon <75779910 at qq.com> wrote:

> Hi, I have read a *.stl to a vtkPolyData, and I checked it is Not Surface
> Closed, is it possible to know a coordinate like (x:1.232323, y:2.232323, z:
> 3.1232323) is inside or outside this vtkPolyData?
> 
> Thankx!
> 
> 
> 
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-to-know-a-coordinate-inside-or-outside-a-vtkPolyData-tp5729019.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141008/9cc7a652/attachment.html>


More information about the vtkusers mailing list