CGAL 5.1 - Algebraic Kernel
AlgebraicKernel_d_2::CompareX_2 Class Reference

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

Definition

Types

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

Operations

The following operators and their symmetric counterparts are required:

result_type operator() (const first_argument_type &a, const second_argument_type &b)
 Compares the first coordinates of \( a\) and \( b\). More...
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, int x)
 Compares the first coordinate of \( a\) with \( x\). More...
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Bound x)
 Compares the first coordinate of \( a\) with \( x\). More...
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Coefficient x)
 Compares the first coordinate of \( a\) with \( x\). More...
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Algebraic_real_1 x)
 Compares the first coordinate of \( a\) with \( x\). More...
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

Type convertible to CGAL::Comparison_result

◆ second_argument_type

Member Function Documentation

◆ operator()() [1/5]

result_type AlgebraicKernel_d_2::CompareX_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
AlgebraicKernel_d_2::Algebraic_real_1  x 
)

Compares the first coordinate of \( a\) with \( x\).

◆ operator()() [2/5]

result_type AlgebraicKernel_d_2::CompareX_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
AlgebraicKernel_d_2::Bound  x 
)

Compares the first coordinate of \( a\) with \( x\).

◆ operator()() [3/5]

result_type AlgebraicKernel_d_2::CompareX_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
AlgebraicKernel_d_2::Coefficient  x 
)

Compares the first coordinate of \( a\) with \( x\).

◆ operator()() [4/5]

result_type AlgebraicKernel_d_2::CompareX_2::operator() ( AlgebraicKernel_d_2::Algebraic_real_2  a,
int  x 
)

Compares the first coordinate of \( a\) with \( x\).

◆ operator()() [5/5]

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

Compares the first coordinates of \( a\) and \( b\).