Find all IDs in pointLocation for point located on boundary of polygon.
조회 수: 1 (최근 30일)
이전 댓글 표시
When we search for a point located on boundary then the largest ID is returned, but I want all the IDs how can I do that?
Is there any other way to find it?
댓글 수: 2
답변 (2개)
Matt J
2022년 1월 11일
If it's a convex cloud, you can just use convhull(). If it is not convex, then you need to define what you mean by the boundary, since there are many 3D envelopes possible for a point cloud. You might consider alphashape(), however..
댓글 수: 2
Matt J
2022년 1월 11일
Did you intend to attach code or a plot? I see none.
In any case, my advice applies in 2D as well.
참고 항목
카테고리
Help Center 및 File Exchange에서 Triangulation Representation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!