You could use inpolygon to find which points lie within the polygons formed by the red points. Then, triangulate that subset.
Constraint triangulation without edges
18 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 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!