How do I discretize a line using delaunay triangulation

2 ビュー (過去 30 日間)
Mark
Mark 2015 年 8 月 20 日
コメント済み: Mark 2015 年 8 月 20 日
I want to discretize a line segment using the matlab function X = [0.3 0; 0.3 0.4;0 0.2; 0.6 0.2; 0.7 0.7; 0.7 0.3;0.63 0.40;0.8 0.65]; DT = delaunayTriangulation(X); It does create the triangulation, but I keep getting triangles that pass through the line segment. How can I avoid this please?
Thank you,

採用された回答

Steven Lord
Steven Lord 2015 年 8 月 20 日
Add constraints to the Delaunay triangulation that forces the triangulation to use the line segments as triangle edges, perhaps?
  1 件のコメント
Mark
Mark 2015 年 8 月 20 日
Thanks Steven, it did just that!

サインインしてコメントする。

その他の回答 (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