This commit is contained in:
Efi Fogel 2007-02-14 16:05:16 +00:00
parent 283f74d6ac
commit 2ab4e7290c
2 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@ public:
static bool _assert_is_point_on (const Point_2& pt, static bool _assert_is_point_on (const Point_2& pt,
const X_monotone_curve_2& cv, const X_monotone_curve_2& cv,
Tag_true tag) Tag_true)
{ {
Traits_2 traits; Traits_2 traits;
return (traits.compare_y_at_x_2_object() (pt, cv) == EQUAL); return (traits.compare_y_at_x_2_object() (pt, cv) == EQUAL);
@ -44,14 +44,14 @@ public:
static bool _assert_is_point_on (const Point_2& pt, static bool _assert_is_point_on (const Point_2& pt,
const X_monotone_curve_2& cv, const X_monotone_curve_2& cv,
Tag_false tag) Tag_false)
{ {
return (true); return (true);
} }
static bool _assert_is_point_on (const Point_2& pt, static bool _assert_is_point_on (const Point_2& pt,
const Line_2& l, const Line_2& l,
Tag_true tag) Tag_true)
{ {
Kernel kernel; Kernel kernel;
return (kernel.has_on_2_object() (l, pt)); return (kernel.has_on_2_object() (l, pt));
@ -59,7 +59,7 @@ public:
static bool _assert_is_point_on (const Point_2& pt, static bool _assert_is_point_on (const Point_2& pt,
const Line_2& l, const Line_2& l,
Tag_false tag) Tag_false)
{ {
return (true); return (true);
} }

View File

@ -179,10 +179,10 @@ public:
/*! /*!
* Implementation of the operator() in case the HasInfinite tag is false. * Implementation of the operator() in case the HasInfinite tag is false.
*/ */
Comparison_result _compare_curves_imp (const X_monotone_curve_2& , Comparison_result _compare_curves_imp (const X_monotone_curve_2&,
Curve_end,
const X_monotone_curve_2&,
Curve_end, Curve_end,
const X_monotone_curve_2& ,
Curve_end ind2,
Tag_false) const Tag_false) const
{ {
return (EQUAL); return (EQUAL);