Tag Info

New answers tagged


There may well be a better way to do this for the whole triangulation, but here's a way to do it in Matlab for one triangle, which could be repeated. It uses Heron's forumula for the area of a triangle. trMesh is assumed to be the triangulation object. vertices = trMesh.ConnectivityList(ElementNo,:); vX = trMesh.Points(vertices, 1); vY = ...

Top 50 recent answers are included