Generate mesh and refine mesh of triangles
问题 I need to find a way to mesh triangles then to refine using refine. My vertices of my original triangles are stored inside a matrix of size nb_points * 2. My faces are stored in a nb_faces * 3 matrix. The data for each face is stored in a nb_face * 1 matrix. The meshing is done by diving the area using the middles of the segments of the triangles. Example : Origin : vertices = [0 1 ; 2 3 ; 4 1 ; 4 5]; faces = [1 2 3; 2 3 4]; data = [1 2]; Result expected after meshing : vertices = [0 1; 2 3;