From bf63c2d41e589ebf6475cdec3453c85f465bf392 Mon Sep 17 00:00:00 2001 From: Sandeep Kumar Dey Date: Mon, 7 Jan 2013 13:37:55 +0100 Subject: [PATCH] pcr point segment case in construction is modified when point is end of segment, now we have the ray with two linear components. example: h3.cin A 0,0 AB 0,0 100, 0 C 0,50 pcr for A , AB, C will be p[0]= -25, 25 p[1]= 0,0 and d=-1,-1 --- .../CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdgap/include/CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h b/sdgap/include/CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h index 2f21079aee9..571a3f925aa 100644 --- a/sdgap/include/CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h +++ b/sdgap/include/CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h @@ -661,8 +661,9 @@ public: if (are_same_points(sitep,sites.source_site()) or are_same_points(sitep,sites.target_site())) { - npts = 1; + npts = 2; points[0] = v; + points[1] = pnt; Point_2 pseg = (are_same_points(sitep,sites.source_site())) ? seg.target() : seg.source();