From cba3b1c20c4f2e86f8a13ff97ba078e0d397ddd0 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 7 Sep 2017 12:07:17 +0200 Subject: [PATCH] Fix detection of border *edges* --- .../include/CGAL/Polygon_mesh_processing/detect_features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h index 937d6f21260..973dff53010 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h @@ -191,7 +191,7 @@ template::edge_descriptor ed, edges(pmesh)) { typename boost::graph_traits::halfedge_descriptor he = halfedge(ed,pmesh); - if(is_border(he,pmesh) + if(is_border_edge(he,pmesh) || angle_in_deg == FT() || (angle_in_deg != FT(180) && internal::is_sharp(pmesh,he,cos_angle)) )