Merge the four faces belonging to a tetrahedron

3 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Matt J
Matt J il 23 Mar 2023
Modificato: Matt J il 23 Mar 2023
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 Commenti
Chenglin Li
Chenglin Li il 28 Mar 2023
But now that I've refined the tetrahedron and generated the new triangle, do I need this function?
Matt J
Matt J il 28 Mar 2023
Modificato: Matt J il 28 Mar 2023
You've added new vertices, but the vertex connection list has not been revised to form new, smaller tetrahedrons. delaunayn will do that.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Spatial Search in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by