|
@@ -89,8 +89,10 @@ IGL_INLINE void igl::copyleft::cgal::closest_facet(
|
|
case CGAL::NEGATIVE:
|
|
case CGAL::NEGATIVE:
|
|
return false;
|
|
return false;
|
|
case CGAL::COPLANAR:
|
|
case CGAL::COPLANAR:
|
|
- throw std::runtime_error(
|
|
|
|
- "It seems input mesh contains self intersection");
|
|
|
|
|
|
+ // Warning:
|
|
|
|
+ // This can only happen if fid contains a boundary edge.
|
|
|
|
+ // Catergorized this ambiguous case as negative side.
|
|
|
|
+ return false;
|
|
default:
|
|
default:
|
|
throw std::runtime_error("Unknown CGAL state.");
|
|
throw std::runtime_error("Unknown CGAL state.");
|
|
}
|
|
}
|