[vtkusers] Check if point is inside convex hull

David Doria daviddoria+vtk at gmail.com
Tue Nov 17 12:41:19 EST 2009


> Excellent! Thanks for taking the time to do this!
>
> I was actually thinking about adding images/screenshot to the examples
> where applicable - I think you've inspired me to actually get to it.
>
> Thanks,
>
> David
>

Dirk,

I broke your example into two parts:

http://www.vtk.org/Wiki/Convex_hull

http://www.vtk.org/Wiki/Check_if_a_point_is_inside_an_object

The convex hull part works fine. However, the "point inside object" part I
am having trouble with. It compiles, but it says both points are outside the
sphere. Can someone take a look?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091117/177dac7b/attachment.htm>


More information about the vtkusers mailing list