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

#include <Concepts/ArrTraits--CompareXy_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 lexicographic \( xy\)-order of the points p1 and p2. More...
 

Member Function Documentation

◆ operator()()

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

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