MATLAB Answers

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

5 views (last 30 days)
wei zhang
wei zhang on 10 Jul 2020
Answered: KSSV on 10 Jul 2020
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();
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?


Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!