Triangulation within specified region

1 回表示 (過去 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 Center および File ExchangeDelaunay Triangulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by