简介
rt
code
易半边为结构构成边
for(int i=0; i<mf.IN_v_pairs.size(); i++){
int a = mf.IN_v_pairs[i][0];
int b = mf.IN_v_pairs[i][1];
Mesh::HalfedgeHandle heh = mesh.find_halfedge(mesh.vertex_handle(a), mesh.vertex_handle(b));
if (heh.is_valid()) {
selectedEdge.push_back(mesh.edge_handle(heh).idx());
}
}