CGAL 4.7 - 2D Arrangements: ArrTraits::CompareYAtXRight_2 Concept Reference

\( \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.7 - 2D Arrangements

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
ArrTraits::CompareYAtXRight_2 Concept Reference
Function Object Concepts

## Definition

Refines:
  AdaptableTernaryFunction

Has Models:
  ArrangementBasicTraits_2::Compare_y_at_x_right_2

## Operations

A model of this concept must provide:
Comparison_result | operator() (ArrTraits::X_monotone_curve_2 xc1, ArrTraits::X_monotone_curve_2 xc2, ArrTraits::Point_2 p)
| accepts two \( x\)-monotone curves `xc1` and `xc2` that have a common left endpoint `p`, and returns `SMALLER, EQUAL` or `LARGER` according to the relative position of the two curves immediately to the right of \( p\). More...

## Member Function Documentation

Comparison_result ArrTraits::CompareYAtXRight_2::operator() | ( | ArrTraits::X_monotone_curve_2 | xc1,
|  | ArrTraits::X_monotone_curve_2 | xc2,
|  | ArrTraits::Point_2 | p
| ) |  |

accepts two \( x\)-monotone curves `xc1` and `xc2` that have a common left endpoint `p`, and returns `SMALLER, EQUAL` or `LARGER` according to the relative position of the two curves immediately to the right of \( p\).

Note that in case one of the \( x\)-monotone curves is a vertical segment emanating upward from `p`, it is always considered to be above the other curve.