[vtkusers] Test if point is in- or outside a surface-body

Bryn Lloyd blloyd at vision.ee.ethz.ch
Tue Nov 18 02:22:40 EST 2008


Hi Dominik,

Axel recently explained to me, that it is more robust to cut the surface 
with a plane (which passes through the point), and then test 
"insidedness" in this plane, i.e. using a simpler but more robust 
inside-polygon test. I have not tried but thought you might be interested.

Cheers
Bryn






Dominik Szczerba wrote:
> Yes, obb tree, shooting a ray and counting intersections.
> HOWEVER, it is not very robust in VTK.
> Dominik
> 
> Charles Monty Burns wrote:
>> Hello,
>>
>> I want to prove whether a point is in- or outside a body. Is there a 
>> class to do this in a suitable way?
>>
>> Gretting
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at: 
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> 


-- 
-------------------------------------------------
Bryn Lloyd
Computer Vision Laboratory
ETH Zürich, Sternwartstrasse 7
CH - 8092 Zürich, Switzerland
Tel: +41 44 63 27690
Fax: +41 44 63 21199
-------------------------------------------------



More information about the vtkusers mailing list