From 6763a0116ce8078655b94b8af95ed3f851033039 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 25 Sep 2022 13:34:38 -0500 Subject: [PATCH] CGAL: properly declare "namespace PMP"; fixes compilation with cgal 5.5 --- source/cgal/intersections.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/cgal/intersections.cc b/source/cgal/intersections.cc index f3ea9d9d90..a9d189084c 100644 --- a/source/cgal/intersections.cc +++ b/source/cgal/intersections.cc @@ -669,10 +669,10 @@ namespace CGALWrappers tet1.vertex(2), tet1.vertex(3), surf1); + namespace PMP = CGAL::Polygon_mesh_processing; const bool test_intersection = - CGAL::PMP::corefine_and_compute_intersection(surf0, surf1, sm); - if (CGAL::Polygon_mesh_processing::volume(sm) > tol && - test_intersection) + PMP::corefine_and_compute_intersection(surf0, surf1, sm); + if (PMP::volume(sm) > tol && test_intersection) { // Collect tetrahedrons Triangulation3_inexact tria; -- 2.39.5