CGAL 5.4.1 - 2D Arrangements
ArrTraits::CompareYOnBoundary_2 Concept Reference

Definition

Refines:
AdaptableBinaryFunction
Has Models:

ArrangementClosedLeftTraits_2::Compare_y_on_boundary_2

ArrangementClosedRightTraits_2::Compare_y_on_boundary_2

ArrangementIdentifiedVerticalTraits_2::Compare_y_on_boundary_2

Operations

A model of this concept must provide:

Comparison_result operator() (const ArrTraits::Point_2 &p1, const ArrTraits::Point_2 &p2)
 Given two points p1 and p2 returns CGAL::SMALLER, CGAL::EQUAL, or CGAL::LARGER according to the lexicographic \(xy\)-order of the points p1 and p2. More...
 

Member Function Documentation

◆ operator()()

Comparison_result ArrTraits::CompareYOnBoundary_2::operator() ( const ArrTraits::Point_2 p1,
const ArrTraits::Point_2 p2 
)

Given two points p1 and p2 returns CGAL::SMALLER, CGAL::EQUAL, or CGAL::LARGER according to the lexicographic \(xy\)-order of the points p1 and p2.

Precondition
Parameter_space_in_x_2 (p1) \(\neq\) CGAL::ARR_INTERIOR or Parameter_space_in_x_2 (p2) \(\neq\) CGAL::ARR_INTERIOR.