inpolygon equivalent function in 3D?

63 visualizzazioni (ultimi 30 giorni)
Pinpress
Pinpress il 4 Mag 2012
Hi,
I need to find a way to determine if a large number of points are inside a closed polygon expressed by either a triangular or quadrilateral mesh in 3D. I know in 2D, there's a matlab function "inpolygon". Is there an equivalent method/function in 3D?
Thanks!

Risposte (3)

Pinpress
Pinpress il 7 Mag 2012
Thanks for the tip. However, I don't think that's a good solution. I believe it tries to generate a convex hull using delaunayn. However, the closed surface I have is not necessarily a convex hull (arbitrary shape).

Walter Roberson
Walter Roberson il 4 Mag 2012

Johannes Korsawe
Johannes Korsawe il 19 Set 2013
Try intriangulation on the FEX.
Regards, Johannes

Categorie

Scopri di più su Computational Geometry in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by