CGAL 6.1 - 2D Arrangements
Loading...
Searching...
No Matches
AosTraits::CompareYAtX_2 Class Reference

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

Definition

Operations

A model of this concept must provide:

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

Member Function Documentation

◆ operator()()

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

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