Supposing I have applied delaunay triangulation on a convex mesh, and I have all information (edges, vertices etc.) I would like to transform the triangles to quads
I was reading that inverse process, quad to triangle, one takes the vertices like:
quad 1 2 3 4
==>
triangle 1 2 3
triangle 3 4 1
each time we read a quad (4 vertices), we transform it to 2 triangles using these 4 vertices.
What would be the best approach to do triangles to quad?
I was thinking on pairing together adjacent triangular elements, and converting them into quadrilateral elements by eliminating their shared edges
Do you know any sample code, would be best in c#