How to make delaunayTriangulation object from points and connectivity in 3D?

3 ビュー (過去 30 日間)
wei zhang
wei zhang 2020 年 7 月 10 日
回答済み: KSSV 2020 年 7 月 10 日
I am trying the tetramesh function. Before I plot the tetraheron mesh, I need to store the mesh in an delaunayTriangulation object. I have the points and connectivities. I coded as below.
DT = delaunayTriangulation();
DT.Points=node;
DT.ConnectivityList=elem;
But I found the error.
Cannot assign values to the triangulation.
In another way, "DT = delaunayTriangulation(P,C)".
DT = delaunayTriangulation(node,elem);
Came the error,
Invalid data format for delaunayTriangulation.
I think the connectivities must be 3 column for triangles, not tetrahedrons.
So, is it anyother way to create a delaunayTriangulation object for tetraheron to use tetramesh?

採用された回答

KSSV
KSSV 2020 年 7 月 10 日
You should use the function triangulation for this. Read about this.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by