Constraint triangulation without edges

7 ビュー (過去 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 Center および File ExchangeTriangulation Representation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by