Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::ClosestPairDivideAndConquer::LexicographicCmp Struct Reference

Strict weak order for sorting points lexicographically by (x,y). More...

Public Member Functions

bool operator() (const Point &p1, const Point &p2) const
 

Detailed Description

Strict weak order for sorting points lexicographically by (x,y).

Used to sort the input array px by x (primary) then y (secondary).

Definition at line 859 of file geom_algorithms.H.

Member Function Documentation

◆ operator()()

bool Aleph::ClosestPairDivideAndConquer::LexicographicCmp::operator() ( const Point p1,
const Point p2 
) const
inline

Definition at line 861 of file geom_algorithms.H.

References Aleph::Point::get_x(), and Aleph::Point::get_y().


The documentation for this struct was generated from the following file: