From: Matthias Maier Date: Sun, 25 Sep 2022 18:34:38 +0000 (-0500) Subject: CGAL: properly declare "namespace PMP"; fixes compilation with cgal 5.5 X-Git-Tag: v9.5.0-rc1~923^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14308%2Fhead;p=dealii.git CGAL: properly declare "namespace PMP"; fixes compilation with cgal 5.5 --- 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;