CGAL 5.6 - Algebraic Kernel
AlgebraicKernel_d_2::CompareX_2 Concept Reference

Definition

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

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\).
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, int x)
 Compares the first coordinate of \( a\) with \( x\).
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Bound x)
 Compares the first coordinate of \( a\) with \( x\).
 
result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Coefficient x)
 Compares the first coordinate of \( a\) with \( x\).
 
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\).