Find the coordinates of a triangle in a mesh
이전 댓글 표시
I am working with a 2D mesh generated by Gmsh and here I'd like to compute the area of the triangles of in my mesh. What I don't understand is how can I find the coordinates of a given triangle?
In my .m file, I have: msh.nbNod, msh.POS, msh.Max and msh.MIN, msh.LINES, msh.TRIANGLES and msh.PNT.
I think I should somehow use msh.TRIANGLES but I don't get what the numbers listed refer to. If needed, I can post my .m file. Thanks for the help.
댓글 수: 3
Turlough Hughes
2021년 11월 3일
편집: Turlough Hughes
2021년 11월 3일
Can you attach a msh.mat?
Florian Spicher
2021년 11월 3일
Florian Spicher
2021년 11월 3일
편집: Florian Spicher
2021년 11월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
