From d08e53038011c94f12addf29161fd57adb0f1496 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 12 Jan 2017 15:24:03 +0100 Subject: [PATCH 1/2] remove typename that causes a compilation error on msvc "C2899: typename cannot be used outside a template declaration" --- Polyhedron/demo/Polyhedron/Plugins/PMP/Distance_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/PMP/Distance_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/PMP/Distance_plugin.cpp index 41b29c8fada..0d8d18094ea 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/PMP/Distance_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/PMP/Distance_plugin.cpp @@ -166,7 +166,7 @@ private: tree.accelerate_distance_queries(); tree.build(); - typename Traits::Point_3 hint = m.vertices_begin()->point(); + Traits::Point_3 hint = m.vertices_begin()->point(); #ifndef CGAL_LINKED_WITH_TBB double hdist = 0; From 900a4903acb4d5188df8c7234d2f3b681f6e1686 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 12 Jan 2017 15:40:40 +0100 Subject: [PATCH 2/2] test distance_plugin --- Polyhedron/demo/Polyhedron/cgal_test_with_cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Polyhedron/demo/Polyhedron/cgal_test_with_cmake b/Polyhedron/demo/Polyhedron/cgal_test_with_cmake index e9d5c4f699d..029b2061b4d 100755 --- a/Polyhedron/demo/Polyhedron/cgal_test_with_cmake +++ b/Polyhedron/demo/Polyhedron/cgal_test_with_cmake @@ -131,6 +131,7 @@ corefinement_plugin \ create_bbox_mesh_plugin \ cut_plugin \ detect_sharp_edges_plugin \ +distance_plugin \ edit_polyhedron_plugin \ fairing_plugin \ features_detection_plugin \