\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13.1 - 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\).