Navigation: Up, Table of Contents, Bibliography, Index, Title Page

## Kernel::CompareX_2

A model for this must provide:

Comparison_result |
fo.operator() ( | Kernel::Point_2 p, Kernel::Point_2 q)
|  | compares the Cartesian x-coordinates of points p and q
Comparison_result |
fo.operator() ( | Kernel::Point_2 p, Kernel::Line_2 l1, Kernel::Line_2 l2)
|  | compares the x-coordinates of p and the intersection of lines l1 and l2, see (a) in the figure below.
Comparison_result |
fo.operator() ( | Kernel::Line_2 l, Kernel::Line_2 h1, Kernel::Line_2 h2)
|  | compares the x-coordinates of the intersection of line l with line h1 and with line h2, see (b) in the figure below.
Comparison_result |
fo.operator() ( | Kernel::Line_2 l1, Kernel::Line_2 l2, Kernel::Line_2 h1, Kernel::Line_2 h2)
|  | compares the x-coordinates of the intersection of lines l1 and l2 and the intersection of lines h1 and h2, see (c) in the figure below.

### Refines

AdaptableFunctor (with two arguments)

### See Also

CGAL::compare_x

Next: Kernel::CompareX_3

Navigation: Table of Contents, Bibliography, Index, Title Page

The CGAL Project . Tue, December 21, 2004 .