CGAL 5.4.4 - 2D Arrangements
ArrTraits::CompareYAtXLeft_2 Concept Reference

Definition

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 right endpoint p, and returns CGAL::SMALLER, CGAL::EQUAL or CGAL::LARGER according to the relative position of the two curves immediately to the left of \(p\). More...
 

Member Function Documentation

◆ operator()()

Comparison_result ArrTraits::CompareYAtXLeft_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 right endpoint p, and returns CGAL::SMALLER, CGAL::EQUAL or CGAL::LARGER according to the relative position of the two curves immediately to the left of \(p\).

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