Dear vtkusers,<br><br>I am very new to vtk and am still learning the most basic aspects. <br><br>I have a set curves in 3D, each curve is defined by a set of ordered points. Also there is a region in 3D defined by a voxel volume with 1s indicating the interior of the region and 0s the exterior. I would like to know which curves intersect the region and which do not. <br>
<br>I have seen the example "PointInsideObject" and that might work; however I wonder if it will miss the case where a curve intersects the region close to the boundary, so that no points are inside the region, but a line segment between two points intersects the region. <br>
<br>If someone could point me in the right direction, I would be most grateful.<br><br>Regards,<br>SY<br><br>( <meta charset="utf-8"><a href="http://www.vtk.org/Wiki/Check_if_a_point_is_inside_an_object">http://www.vtk.org/Wiki/Check_if_a_point_is_inside_an_object</a> )<br>
<br>