CGAL 5.5 - Algebraic Kernel
AlgebraicKernel_d_2::CompareY_2 Concept Reference

## Definition

Compares the second coordinated of AlgebraicKernel_d_2::Algebraic_real_2s.

Refines:
AdaptableBinaryFunction
AlgebraicKernel_d_2::CompareX_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 second coordinates of $$a$$ and $$b$$.

result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, int y)
Compares the second coordinate of $$a$$ with $$y$$.

result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Bound y)
Compares the second coordinate of $$a$$ with $$y$$.

result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Coefficient y)
Compares the second coordinate of $$a$$ with $$y$$.

result_type operator() (AlgebraicKernel_d_2::Algebraic_real_2 a, AlgebraicKernel_d_2::Algebraic_real_1 y)
Compares the second coordinate of $$a$$ with $$y$$.