diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h index 819d3c8a638..288ea9ab3f7 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/curvature.h @@ -92,6 +92,9 @@ angle_sum(typename boost::graph_traits::vertex_descriptor v, FT angle_sum = 0; for(auto h : halfedges_around_source(v, pmesh)) { + if(is_border(h, pmesh)) + continue; + angle_sum += approx_angle(get(vpm, target(h, pmesh)), get(vpm, source(h, pmesh)), get(vpm, source(prev(h,pmesh), pmesh)));