From 11704338853f0d9ccd684657c036c21d7b24d6ba Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 9 Feb 2018 14:23:40 +0000 Subject: [PATCH] Comment what default means --- .../Triangle_3_Segment_3_intersection.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Intersections_3/include/CGAL/internal/Intersections_3/Triangle_3_Segment_3_intersection.h b/Intersections_3/include/CGAL/internal/Intersections_3/Triangle_3_Segment_3_intersection.h index 9b4051fb186..320919e4593 100644 --- a/Intersections_3/include/CGAL/internal/Intersections_3/Triangle_3_Segment_3_intersection.h +++ b/Intersections_3/include/CGAL/internal/Intersections_3/Triangle_3_Segment_3_intersection.h @@ -280,7 +280,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, case NEGATIVE: // a is isolated on the positive side return t3s3_intersection_coplanar_aux(b,c,a,q,p,false,k); - default: + default: // COLLINEAR // b,c,p,q are aligned, [p,q]&[b,c] have the same direction return t3s3_intersection_collinear_aux(b,c,p,q,k); } @@ -311,7 +311,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, // the triangle lies in the negative halfspace // defined by the segment's supporting line. return intersection_return(); - default: + default: // COLLINEAR if ( collinear_ordered(p,c,q) ) // c is inside [p,q] return intersection_return(c); else @@ -328,7 +328,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, return intersection_return(b); else return intersection_return(); - default: + default: // COLLINEAR // b,c,p,q are aligned, [p,q]&[c,b] have the same direction return t3s3_intersection_collinear_aux(c,b,p,q,k); } @@ -353,7 +353,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, case NEGATIVE: // b is isolated on the positive side return t3s3_intersection_coplanar_aux(c,a,b,q,p,false,k); - default: + default: // COLLINEAR // a,c,p,q are aligned, [p,q]&[c,a] have the same direction return t3s3_intersection_collinear_aux(c,a,p,q,k); } @@ -368,7 +368,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, return intersection_return(a); else return intersection_return(); - default: + default: // COLLINEAR // a,c,p,q are aligned, [p,q]&[a,c] have the same direction return t3s3_intersection_collinear_aux(a,c,p,q,k); } @@ -381,7 +381,7 @@ intersection_coplanar(const typename K::Triangle_3 &t, case NEGATIVE: // a,b,p,q are aligned, [p,q]&[b,a] have the same direction return t3s3_intersection_collinear_aux(b,a,p,q,k); - default: + default: // COLLINEAR // case pqc == COLLINEAR is impossible since the triangle is // assumed to be non flat CGAL_error();