Remove excess delaunay triangulation

조회 수: 2 (최근 30일)
Bruno Neto
Bruno Neto 2022년 6월 8일
답변: Kevin Holly 2022년 6월 22일
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.

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by