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=6763a0116ce8078655b94b8af95ed3f851033039;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;