[vtkusers] VTKPolyData Inside Points

Sam sistephan at gmail.com
Sun Feb 27 19:06:50 EST 2011


Hello,

Given a point in VTK Space, I want to know whether this point is inside or
outside a VTKPolyData model.  I have tried using vtkSelectEnclosedPoints but
it is slow and does now seem to function properly.  

Instead, I would like to do this following:

I want to cast a ray from the give point and count how many times I cross
the VTKPolyData model's surface.  How do I do this?

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/VTKPolyData-Inside-Points-tp3402679p3402679.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list