Constraint triangulation without edges

조회 수: 1 (최근 30일)
Nicolas Rogalski
Nicolas Rogalski 2021년 9월 3일
답변: Matt J 2021년 9월 3일
Hello,
I want to triangulate scatter points with constraints. The constrained edges would be the red lines connecting the red points (see image).
I only know their coordinates. How can I define those edges ? Or is there another way to do this ?
Thank you in advance.

답변 (1개)

Matt J
Matt J 2021년 9월 3일
You could use inpolygon to find which points lie within the polygons formed by the red points. Then, triangulate that subset.

카테고리

Help CenterFile Exchange에서 Triangulation Representation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by