Triangulation within specified region

조회 수: 2 (최근 30일)
Robin Pillar
Robin Pillar 2019년 6월 7일
댓글: KSSV 2019년 6월 11일
I am trying to triangulate a specified region along a 2d plane. The region i wish to tringualte is specified by x and y cooridantes and the lines joining each of these points. However when I use delaunyTriangulation it triangulates the entire region, including the parts I wish to leave out. I have inserted an image below.
Is there anyway to specify the boundary or region of which I would like to triangulate or remove the large unwated trinagles from the triangulation?
Thanks
untitled.jpg
  댓글 수: 3
Robin Pillar
Robin Pillar 2019년 6월 7일
I already have the points which I have included an image below. What I want is to triangulate the narrow region between the points but not outside as keeps happening
untitled.jpg
darova
darova 2019년 6월 7일
Can you please attach this data?

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2019년 6월 7일
Read about delaunayTriangulation , you can provide edge constraints. On providing these constraints; you can avoid such triangles.
DT = delaunayTriangulation(x,y,C)
  댓글 수: 7
darova
darova 2019년 6월 11일
KSSV, how did you order those points? (Manually?)
KSSV
KSSV 2019년 6월 11일
I used another software which my colleague uses...:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by