diff --git a/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h b/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h index d7494b3892d..eeff672e407 100644 --- a/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h +++ b/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h @@ -113,6 +113,17 @@ seg_seg_do_intersect_crossing( return S2S2_inter_info(false); } +// used internally by Arr_segment_traits_2template +template +bool +seg_seg_do_intersect_crossing( + const typename K::Point_2& p1, const typename K::Point_2& p2, + const typename K::Point_2& p3, const typename K::Point_2& p4, + const K& k) +{ + return seg_seg_do_intersect_crossing(p1,p2,p3,p4,0,0,0,0,k,false).inter; +} + // lexicographic order of points p1 < p3 < p4 < p2, with segments (p1,p2) and (p3,p4) template @@ -157,6 +168,16 @@ seg_seg_do_intersect_contained( return S2S2_inter_info(false); } +// used internally by Arr_segment_traits_2 +template +bool +seg_seg_do_intersect_contained( + const typename K::Point_2& p1, const typename K::Point_2& p2, + const typename K::Point_2& p3, const typename K::Point_2& p4, + const K& k) +{ + return seg_seg_do_intersect_contained(p1,p2,p3,p4,0,0,0,0,k,false).inter; +} template S2S2_inter_info