Divide square faces into triangles
显示 更早的评论
Hello,
i have a faces matrix and i want to divide it into triangles
e.g. faces is a 100x4 matrix
and i want the same faces as triangles e.g. 123x3 ?
i tried it with the delaunayTriangulation but it distorts my mesh.
thank you
采纳的回答
更多回答(1 个)
Matt J
2020-1-3
0 个投票
I think you would have to do the following steps in a loop over all the faces,
- FInd a 2D coordinate system for the plane passing through each face
- Convert the 3D coordinates of each of the faces vertice to 2D coordinates
- Do a 2D Delaunay tringulation
类别
在 帮助中心 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!