fixed Arity

This commit is contained in:
Monique Teillaud 2006-03-07 16:41:44 +00:00
parent bb2ebf011b
commit a12ae8cdc8
1 changed files with 19 additions and 10 deletions

View File

@ -41,6 +41,7 @@ namespace AlgebraicFunctors {
public: public:
typedef void result_type; typedef void result_type;
typedef Arity_tag<3> Arity;
template < class OutputIterator > template < class OutputIterator >
OutputIterator OutputIterator
@ -82,6 +83,7 @@ namespace AlgebraicFunctors {
public: public:
typedef Polynomial_for_circles_2_2 result_type; typedef Polynomial_for_circles_2_2 result_type;
typedef Arity_tag<3> Arity;
result_type result_type
operator()(const RT& xc, const RT& yc, const RT& r_sq) const operator()(const RT& xc, const RT& yc, const RT& r_sq) const
@ -98,6 +100,7 @@ namespace AlgebraicFunctors {
public: public:
typedef Polynomial_1_2 result_type; typedef Polynomial_1_2 result_type;
typedef Arity_tag<3> Arity;
result_type result_type
operator()( const RT& a, const RT& b, const RT& c) const operator()( const RT& a, const RT& b, const RT& c) const
@ -114,6 +117,7 @@ namespace AlgebraicFunctors {
public: public:
typedef CGAL::Sign result_type; typedef CGAL::Sign result_type;
typedef Arity_tag<2> Arity;
result_type result_type
operator()( const Polynomial_for_circles_2_2 & equation, operator()( const Polynomial_for_circles_2_2 & equation,
@ -135,6 +139,7 @@ namespace AlgebraicFunctors {
public: public:
typedef void result_type; typedef void result_type;
typedef Arity_tag<2> Arity;
Root_for_circles_2_2 Root_for_circles_2_2
operator()(const Polynomial_for_circles_2_2 & c, operator()(const Polynomial_for_circles_2_2 & c,
@ -157,6 +162,7 @@ namespace AlgebraicFunctors {
public: public:
typedef void result_type; typedef void result_type;
typedef Arity_tag<2> Arity;
Root_for_circles_2_2 Root_for_circles_2_2
operator()(const Polynomial_for_circles_2_2 & c, operator()(const Polynomial_for_circles_2_2 & c,
@ -174,11 +180,12 @@ namespace AlgebraicFunctors {
template < class AK > template < class AK >
class Compare_x class Compare_x
{ {
public:
typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2; typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2;
typedef typename AK::RT RT; typedef typename AK::RT RT;
public:
typedef CGAL::Comparison_result result_type; typedef CGAL::Comparison_result result_type;
typedef Arity_tag<2> Arity;
result_type result_type
operator()(const Root_for_circles_2_2& r1, operator()(const Root_for_circles_2_2& r1,
@ -190,11 +197,12 @@ namespace AlgebraicFunctors {
template < class AK > template < class AK >
class Compare_y class Compare_y
{ {
public:
typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2; typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2;
typedef typename AK::RT RT; typedef typename AK::RT RT;
public:
typedef CGAL::Comparison_result result_type; typedef CGAL::Comparison_result result_type;
typedef Arity_tag<2> Arity;
result_type result_type
operator()(const Root_for_circles_2_2& r1, operator()(const Root_for_circles_2_2& r1,
@ -206,11 +214,12 @@ namespace AlgebraicFunctors {
template < class AK > template < class AK >
class Compare_xy class Compare_xy
{ {
public:
typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2; typedef typename AK::Root_for_circles_2_2 Root_for_circles_2_2;
typedef typename AK::RT RT; typedef typename AK::RT RT;
public:
typedef CGAL::Comparison_result result_type; typedef CGAL::Comparison_result result_type;
typedef Arity_tag<2> Arity;
result_type result_type
operator()(const Root_for_circles_2_2& r1, operator()(const Root_for_circles_2_2& r1,