From a2f3175044f5cf16e0a2d1ecd127b89914aa35f9 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 8 Oct 2015 17:36:06 +0200 Subject: [PATCH] bug fix. set_next was not called for the opposite edges --- BGL/include/CGAL/boost/graph/helpers.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BGL/include/CGAL/boost/graph/helpers.h b/BGL/include/CGAL/boost/graph/helpers.h index 1dce42e7838..062d5244678 100644 --- a/BGL/include/CGAL/boost/graph/helpers.h +++ b/BGL/include/CGAL/boost/graph/helpers.h @@ -457,6 +457,9 @@ make_triangle(const P& p0, const P& p1, const P& p2, Graph& g) h0 = opposite(h0,g); h1 = opposite(h1,g); h2 = opposite(h2,g); + set_next(h0, h2, g); + set_next(h2, h1, g); + set_next(h1, h0, g); set_target(h0, v0, g); set_target(h1, v1, g); set_target(h2, v2, g);