// Maps edges to the index of the new vertex added on that edge. The keys are the indices of the two vertices defining the edge and must be in the order uv, vw or uw.
QMap<Edge,unsignedint>edge_indices;
unsignedintedge_index=vb.length();//offset in new index buffer for edge vertices