CGAL 6.2 - dD Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel_d::Compare_lexicographically_d Concept Reference
Reference Manual » Kernel Concept

## Definition

## Operations
A model of this concept must provide:
Comparison_result | operator() (const Kernel_d::Point_d &p, const Kernel_d::Point_d &q)
| Compares the Cartesian coordinates of points `p` and `q` lexicographically in ascending order of its Cartesian components `p[i]` and `q[i]` for \( i = 0,\ldots,d-1\).

## Member Function Documentation

## ◆ operator()()

Comparison_result Kernel_d::Compare_lexicographically_d::operator() | ( | const Kernel_d::Point_d & | p,
|  | const Kernel_d::Point_d & | q
| ) |  |

Compares the Cartesian coordinates of points `p` and `q` lexicographically in ascending order of its Cartesian components `p[i]` and `q[i]` for \( i = 0,\ldots,d-1\).

Precondition
  The objects are of the same dimension.