Re: inpolygon in 3D



John D'Errico wrote:
In article <e1mttn$tnj$1@xxxxxxxxxxxxx>, Gabriele Bulian <ruga@.REMOVENOSSSSPAM.libero.it> wrote:

b wrote:
If it's convex polygon, then there is function "inhull" at file
exchange which can do what ever you are loking for.
Is there something for the case of a closed 3D solid (not necessarily convex) defined by a patch a for which, at each face, the outer normal is known?


My approach, where a tessellation exists, is to compute
barycentric coordinates for each point in each simplex.

[...]

If all you have is a hull, it is still possible to
generate a tessellation, even if its not convex.

John

Hi John,
what you said could be very useful for me...however, I have to be honest, I did not get the method at all...may you give me some description or some reference where I can understand how to do?

Thanks,
Gab
.