From 8baa0be80f6a3c290d570bf41b51eb593aae11f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 17 Nov 2017 17:04:48 +0100 Subject: [PATCH] Fixed 'Is_Gabriel' using wrong offsets in 27-sheeted triangulations --- .../include/CGAL/Periodic_3_Delaunay_triangulation_3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h index e84e42e5ef8..fcbdebe6f85 100644 --- a/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h +++ b/Periodic_3_triangulation_3/include/CGAL/Periodic_3_Delaunay_triangulation_3.h @@ -1019,9 +1019,9 @@ is_Gabriel(const Cell_handle c, int i, int j) const { int i1 = cc->index(v1); int i2 = cc->index(v2); int i3 = fcirc->second; - Offset off1 = int_to_off(cc->offset(i1)); - Offset off2 = int_to_off(cc->offset(i2)); - Offset off3 = int_to_off(cc->offset(i3)); + Offset off1 = get_offset(cc, i1); + Offset off2 = get_offset(cc, i2); + Offset off3 = get_offset(cc, i3); if (side_of_bounded_sphere( v1->point(), v2->point(), cc->vertex(fcirc->second)->point(), off1, off2, off3) == ON_BOUNDED_SIDE ) return false;