Function half_edge_mesh::util::connect_pairs[][src]

pub fn connect_pairs(mesh: &mut HalfEdgeMesh) -> Result<(), &'static str>

Takes what is assumed to be a fully constructed mesh, with no pair links, and establishes pair links between adjacent edges. If this function runs successfully on a mesh, all links in the mesh should point to their adjacent pair