Merge the four faces belonging to a tetrahedron
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chenglin Li
el 23 de Mzo. de 2023
Hi,I have the element information of a mesh
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1334020/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1334025/image.png)
but the mesh is too sparse. I extract all the faces of the mesh element and apply loop refinement for encryption
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1334030/image.png)
loop refinement extracts the midpoint of each face and generates a new triangle
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1334035/image.png)
but only generates a three-dimensional matrix
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1334040/image.png)
How do I merge the faces of a three-dimensional matrix into a new tetrahedron by index?
0 comentarios
Respuesta aceptada
Matt J
el 23 de Mzo. de 2023
Editada: Matt J
el 23 de Mzo. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Spatial Search en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!