CGAL 6.1 - dD Geometry Kernel

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

## Definition

## Operations
A model of this concept must provide:
bool | operator() (const Kernel_d::Point_d &p, const Kernel_d::Point_d &q, int i)
| returns `true` iff the \( i\)th Cartesian coordinate of `p` is smaller than the \( i\)th Cartesian coordinate of `q`.

## Member Function Documentation

## ◆ operator()()

bool Kernel_d::Less_coordinate_d::operator() | ( | const Kernel_d::Point_d & | p,
|  | const Kernel_d::Point_d & | q,
|  | int | i
| ) |  |

returns `true` iff the \( i\)th Cartesian coordinate of `p` is smaller than the \( i\)th Cartesian coordinate of `q`.

Precondition
  `p` and `q` have the same dimension.