has_on moved

construct_line and construct_circle removed
This commit is contained in:
Monique Teillaud 2006-03-01 12:29:36 +00:00
parent 923f906600
commit 8653498195
3 changed files with 9 additions and 24 deletions

View File

@ -35,22 +35,6 @@ get_equation(const typename CK::Circle_2 & c)
return CK().get_equation_object()(c);
}
template< class CK >
inline
typename CK::Circle_2
construct_circle_2(const typename CK::Polynomial_for_circles_2_2 & eq)
{
return CK().construct_circle_2_object()(eq);
}
template< class CK >
inline
bool
has_on_2(const typename CK::Circle_2 &c,
const typename CK::Circular_arc_point_2 &p)
{
return CK().has_on_2_object()(c, p);
}
} // namespace CGAL
#endif // CGAL_CURVED_KERNEL_GLOBAL_FUNCTIONS_ON_CIRCLE_2_H

View File

@ -129,6 +129,15 @@ compare_y_to_right(const Circular_arc_2<CK> &A1,
return CK().compare_y_to_right_2_object()(A1, A2, b);
}
template< class CK >
inline
bool
has_on_2(const typename CK::Circle_2 &c,
const typename CK::Circular_arc_point_2 &p)
{
return CK().has_on_2_object()(c, p);
}
template < class CK >
inline
bool

View File

@ -35,13 +35,5 @@ get_equation(const typename CK::Line_2 & l)
return CK().get_equation_object()(l);
}
template< class CK >
inline
typename CK::Line_2
construct_line_2(const typename CK::Polynomial_1_2 & eq)
{
return CK().construct_line_2_object()(eq);
}
} // namespace CGAL
#endif // CGAL_CURVED_KERNEL_GLOBAL_FUNCTIONS_ON_LINE_2_H