inpolygon equivalent function in 3D?

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!

답변 (3개)

Pinpress
Pinpress 2012년 5월 7일

2 개 추천

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).
Johannes Korsawe
Johannes Korsawe 2013년 9월 19일

0 개 추천

Try intriangulation on the FEX.
Regards, Johannes

카테고리

도움말 센터File Exchange에서 Traveling Salesman (TSP)에 대해 자세히 알아보기

태그

질문:

2012년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by