From 294b9cf1e384123421d1742e3aeeed4a1b8be50e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 3 Dec 2020 18:55:05 +0100 Subject: [PATCH] empty() -> is_empty() --- .../Polygon_mesh_processing/repair_self_intersections.h | 7 ++++--- Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/repair_self_intersections.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/repair_self_intersections.h index 61c4a85ccbb..bf1880cbb00 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/repair_self_intersections.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/repair_self_intersections.h @@ -504,7 +504,7 @@ bool remove_self_intersections_with_smoothing(std::set::halfedge_ } #ifndef CGAL_PMP_REMOVE_SELF_INTERSECTION_NO_POLYHEDRAL_ENVELOPE_CHECK - if (!cc_envelope.empty() && !cc_envelope(patch)) + if (!cc_envelope.is_empty() && !cc_envelope(patch)) { #ifdef CGAL_PMP_REMOVE_SELF_INTERSECTION_DEBUG std::cout << " DEBUG: Patch is not inside the input polyhedral envelope\n"; @@ -1266,7 +1266,7 @@ bool fill_hole_with_constraints(std::vector