mirror of https://github.com/CGAL/cgal
use traits adaptor's compare_x and remove tabs
This commit is contained in:
parent
530955245e
commit
386d5c235c
|
|
@ -556,7 +556,7 @@ compare_y_at_end(const X_monotone_curve_2& xcv1,
|
|||
// Both curves have vertical asymptotes with the same sign in y.
|
||||
// Check which asymptote is the rightmost. Note that in this case
|
||||
// the vertical asymptotes cannot be equal.
|
||||
l_res = traits->compare_x_near_boundary_2_object()
|
||||
l_res = traits->compare_x_curve_ends_2_object()
|
||||
(xcv1, curve_end, xcv2, curve_end);
|
||||
CGAL_assertion (l_res != EQUAL);
|
||||
|
||||
|
|
@ -571,7 +571,7 @@ compare_y_at_end(const X_monotone_curve_2& xcv1,
|
|||
const Point_2& left2 =
|
||||
(curve_end == ARR_MIN_END) ? min_vertex(xcv2) : max_vertex(xcv2);
|
||||
|
||||
l_res = traits->compare_x_near_boundary_2_object()
|
||||
l_res = traits->compare_x_point_curve_end_2_object()
|
||||
(left2, xcv1, curve_end);
|
||||
|
||||
if (l_res == LARGER)
|
||||
|
|
@ -596,7 +596,7 @@ compare_y_at_end(const X_monotone_curve_2& xcv1,
|
|||
const Point_2& left1 =
|
||||
(curve_end == ARR_MIN_END) ? min_vertex(xcv1) : max_vertex(xcv1);
|
||||
|
||||
l_res = traits->compare_x_near_boundary_2_object()
|
||||
l_res = traits->compare_x_point_curve_end_2_object()
|
||||
(left1, xcv2, curve_end);
|
||||
|
||||
if (l_res == LARGER)
|
||||
|
|
|
|||
Loading…
Reference in New Issue