From 9ab9cdf898f5209878150aa5df3d0444c892aed7 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 25 May 2022 14:29:08 +0200 Subject: [PATCH] Add comments --- Triangulation_2/include/CGAL/Constrained_triangulation_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Triangulation_2/include/CGAL/Constrained_triangulation_2.h b/Triangulation_2/include/CGAL/Constrained_triangulation_2.h index af7846a71c4..e3082c4cba8 100644 --- a/Triangulation_2/include/CGAL/Constrained_triangulation_2.h +++ b/Triangulation_2/include/CGAL/Constrained_triangulation_2.h @@ -1099,7 +1099,7 @@ intersect(Face_handle f, int i, auto intersection_not_in_the_two_triangle = [&]() { if(orientation(pc,pd,pi) == RIGHT_TURN) { - // check if `pi` is in the trangle (pc, pd, p0) + // check if `pi` is in the triangle (pc, pd, p0) const Point& p0 = f->vertex(i)->point(); if(orientation(p0, pc, pi) == LEFT_TURN || orientation(pd, p0, pi) == LEFT_TURN) { return true; @@ -1107,7 +1107,7 @@ intersect(Face_handle f, int i, } else { // orientation(pd, pc, pi) != LEFT_TURN const auto edge = mirror_edge({f, i}); - // check if `pi` is in the trangle (pd, pc, p1) + // check if `pi` is in the triangle (pd, pc, p1) const Point& p1 = edge.first->vertex(edge.second)->point(); if(orientation(pc, p1, pi) == LEFT_TURN || orientation(p1, pd, pi) == LEFT_TURN) { return true;