Hi all,<br><br>I created a triangle mesh using ITK (itk::BinaryMask3DMeshSource) and then converted it to a vtkPolyData since I needed to use ModifiedBSPTree for Line-Mesh intersection. Now, I need to check if several random points are inside or outside this closed mesh. Is there any method implemented in VTK to do this?<br>
This mesh can be very irregular, so I'm not confident that using IntersectWithLine for this purpose, being the first point the one I want to check and the second a very distant point, will be a good solution or a fast one (huge number of points to check).<br>
<br>Any ideas? Shall I try to use ITK for this purpose?<br><br>Thanks,<br>Claudia<br>