From 704b8c8c2d26a5cd182bb20d4999466ea883c2ef Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 30 May 2017 19:06:43 +0200 Subject: [PATCH] If there is only 1 connected component there is no corner --- .../internal/Isotropic_remeshing/remesh_impl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index 68a271cea24..6d6c5dfd3ec 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h @@ -1436,6 +1436,9 @@ private: bool is_corner(const vertex_descriptor& v) const { + if(! has_border_){ + return false; + } unsigned int nb_incident_features = 0; BOOST_FOREACH(halfedge_descriptor h, halfedges_around_target(v, mesh_)) {