MSH2Mequalizemesh [MSH]
— Function File: [Ax, Ay, bx, by] = MSH2Mequalizemesh(msh)

To equalize the size of triangle edges, apply a baricentric regularization, i.e. move each node to the center of mass of the patch of triangles to which it belongs.

May be useful when distorting a mesh, type demo MSH2Mequalizemesh to see some examples.