CGAL 5.5.1 - Algebraic Kernel
AlgebraicKernel_d_2::CompareX_2 Concept Reference

## Definition

Compares the first coordinates of AlgebraicKernel_d_2::Algebraic_real_2s.

Refines:
AdaptableBinaryFunction
AlgebraicKernel_d_2::CompareY_2
AlgebraicKernel_d_2::CompareXY_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

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$$.