mirror of https://github.com/CGAL/cgal
return true
``` bool OK = triangulate_polygons(points, triangles, np); if (!OK) return true; ```
This commit is contained in:
parent
bcfd317c17
commit
41c6f59e8b
|
|
@ -76,7 +76,7 @@ bool does_polygon_soup_self_intersect(const PointRange& points,
|
||||||
boost::make_transform_iterator(cend(polygons), to_std_vector));
|
boost::make_transform_iterator(cend(polygons), to_std_vector));
|
||||||
bool OK = triangulate_polygons(points, triangles, np);
|
bool OK = triangulate_polygons(points, triangles, np);
|
||||||
|
|
||||||
if (!OK) return false;
|
if (!OK) return true;
|
||||||
|
|
||||||
return does_triangle_soup_self_intersect<ConcurrencyTag>(unique_points, triangles, np);
|
return does_triangle_soup_self_intersect<ConcurrencyTag>(unique_points, triangles, np);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue