How can we find list of edges and triangles connected to each edge in 3D?

6 ビュー (過去 30 日間)
Ahmad Kamal Khan
Ahmad Kamal Khan 2022 年 1 月 18 日
回答済み: Srija Kethiri 2022 年 2 月 16 日
list of edges and triangles connecte to each edge
% Edges(i,:)= nodes forming edge i
% T(i,:)= list of triangles connected to edge i
  2 件のコメント
Steven Lord
Steven Lord 2022 年 1 月 18 日
In what format is your data stored?
Is it a delaunayTriangulation?
A triangulation?
A graph or digraph network object?
A plain text file (in which case, in what format is the data stored in the file)?
An N-by-2 or N-by-3 set of point coordinates that you want to triangulate?
Ahmad Kamal Khan
Ahmad Kamal Khan 2022 年 1 月 19 日
it is a delaunayTriangulation.

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

回答 (1 件)

Srija Kethiri
Srija Kethiri 2022 年 2 月 16 日
Hi Ahmad,
To find the list of edges use the command
Edges = edges(TR)
To find the list of triangles use the command
T = edgeAttachments(TR,startIndex,endIndex)
For further information check the Delaunay Triangulation Object in the link below:

カテゴリ

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