CGAL 6.1 - Algebraic Kernel
Loading...
Searching...
No Matches
AlgebraicKernel_d_2::CompareXY_2 Class Reference

#include <Concepts/AlgebraicKernel_d_2--CompareXY_2.h>

Definition

Compares AlgebraicKernel_d_2::Algebraic_real_2s lexicographically.

Refines
AdaptableBinaryFunction
See also
AlgebraicKernel_d_2::CompareX_2
AlgebraicKernel_d_2::CompareY_2

Types

typedef unspecified_type result_type
 Type convertible to CGAL::Comparison_result
 
typedef AlgebraicKernel_d_2::Algebraic_real_2 first_argument_type
 
typedef AlgebraicKernel_d_2::Algebraic_real_2 second_argument_type
 

Operations

result_type operator() (const first_argument_type &a, const second_argument_type &b)
 Compares \( a\) and \( b\) lexicographically.
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, int x, int y)
 Compares \( a\) with \( (x,y)\) lexicographically.
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Bound x, AlgebraicKernel_d_2::Bound y)
 Compares \( a\) with \( (x,y)\) lexicographically.
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Coefficient x, AlgebraicKernel_d_2::Coefficient y)
 Compares \( a\) with \( (x,y)\) lexicographically.
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

Type convertible to CGAL::Comparison_result

◆ second_argument_type

Member Function Documentation

◆ operator()() [1/4]

result_type AlgebraicKernel_d_2::CompareXY_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
AlgebraicKernel_d_2::Bound  x,
AlgebraicKernel_d_2::Bound  y 
)

Compares \( a\) with \( (x,y)\) lexicographically.

◆ operator()() [2/4]

result_type AlgebraicKernel_d_2::CompareXY_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
AlgebraicKernel_d_2::Coefficient  x,
AlgebraicKernel_d_2::Coefficient  y 
)

Compares \( a\) with \( (x,y)\) lexicographically.

◆ operator()() [3/4]

result_type AlgebraicKernel_d_2::CompareXY_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
int  x,
int  y 
)

Compares \( a\) with \( (x,y)\) lexicographically.

◆ operator()() [4/4]

result_type AlgebraicKernel_d_2::CompareXY_2::operator() ( const first_argument_type a,
const second_argument_type b 
)

Compares \( a\) and \( b\) lexicographically.