]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CGAL: properly declare "namespace PMP"; fixes compilation with cgal 5.5 14308/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 25 Sep 2022 18:34:38 +0000 (13:34 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 25 Sep 2022 18:34:38 +0000 (13:34 -0500)
source/cgal/intersections.cc

index f3ea9d9d90eb0f091c438062250b2da5212f8517..a9d189084c92d46f326d84a52bcf625ba618a62d 100644 (file)
@@ -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;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.