CGAL 5.1 - 2D Arrangements
ArrTraits::CompareYAtX_2 Class Reference

#include <Concepts/ArrTraits--CompareYAtX_2.h>

Definition

Operations

A model of this concept must provide:

Comparison_result operator() (ArrTraits::Point_2 p, ArrTraits::X_monotone_curve_2 xc)
 compares the \( y\)-coordinates of p and the vertical projection of p on xc, and returns SMALLER, EQUAL, or LARGER according to the result. More...
 

Member Function Documentation

◆ operator()()

Comparison_result ArrTraits::CompareYAtX_2::operator() ( ArrTraits::Point_2  p,
ArrTraits::X_monotone_curve_2  xc 
)

compares the \( y\)-coordinates of p and the vertical projection of p on xc, and returns SMALLER, EQUAL, or LARGER according to the result.