Reorientation of triangle soups into 2-manifold meshes.