Find the coordinates of a triangle in a mesh
Ältere Kommentare anzeigen
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 Kommentare
Turlough Hughes
am 3 Nov. 2021
Bearbeitet: Turlough Hughes
am 3 Nov. 2021
Can you attach a msh.mat?
Florian Spicher
am 3 Nov. 2021
Florian Spicher
am 3 Nov. 2021
Bearbeitet: Florian Spicher
am 3 Nov. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Geometry and Mesh finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
