[vtkusers] Test if point is in- or outside a surface-body
Dominik Szczerba
dominik at itis.ethz.ch
Tue Nov 18 03:24:06 EST 2008
Sounds worth trying!
Alternatively you could shoot several rays and compute 'insideness'
probability - I was doing it with great success for non-watertight meshes.
Dominik
Bryn Lloyd wrote:
> 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
>>
>
>
--
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation
http://www.itis.ethz.ch
More information about the vtkusers
mailing list