Remove excess delaunay triangulation

6 次查看(过去 30 天)
Basically I have this two images:
- the left one, is a mesh created with delaunayTriangulation command (in blue) and the contours (in black), plotted as singles points ('.k');
- the right one is the the contours plotted as normal lines (right image, in blue)
What I'm trying to do is to remove the triangles outside the black dots but since I can't create a constrain with those points (since their plot as a line, it turns to get like the second image and not a single contour line), I'm not able to remove them.
Any ideias on how I can remove those triangles? I can upload some of my code if necessary

回答(1 个)

Kevin Holly
Kevin Holly 2022-6-22
See answer here.

类别

Help CenterFile Exchange 中查找有关 Delaunay Triangulation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by