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

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

Definition

Operations

A model of this concept must provide:

Comparison_result operator() (ArrTraits::Point_2 p1, ArrTraits::Point_2 p2)
 returns SMALLER, EQUAL, or LARGER according to the \( x\)-ordering of points p1 and p2. More...
 

Member Function Documentation

◆ operator()()

Comparison_result ArrTraits::CompareX_2::operator() ( ArrTraits::Point_2  p1,
ArrTraits::Point_2  p2 
)

returns SMALLER, EQUAL, or LARGER according to the \( x\)-ordering of points p1 and p2.