Merge the four faces belonging to a tetrahedron

조회 수: 1 (최근 30일)
Chenglin Li
Chenglin Li 2023년 3월 23일
편집: Matt J 2023년 3월 28일
Hi,I have the element information of a mesh
but the mesh is too sparse. I extract all the faces of the mesh element and apply loop refinement for encryption
loop refinement extracts the midpoint of each face and generates a new triangle
but only generates a three-dimensional matrix
How do I merge the faces of a three-dimensional matrix into a new tetrahedron by index?

채택된 답변

Matt J
Matt J 2023년 3월 23일
편집: Matt J 2023년 3월 23일
The process you've described doesn't uniquely determine what the new tetrahedron decomposition should be. However, you could use delaunayn on your augmented list of vertices (the original vertices plus the new ones) to generate one possible decomposition.
  댓글 수: 4
Chenglin Li
Chenglin Li 2023년 3월 28일
But now that I've refined the tetrahedron and generated the new triangle, do I need this function?
Matt J
Matt J 2023년 3월 28일
편집: Matt J 2023년 3월 28일
You've added new vertices, but the vertex connection list has not been revised to form new, smaller tetrahedrons. delaunayn will do that.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by