CGAL 6.2 - 2D Circular Geometry Kernel

Loading...
Searching...
No Matches
List of all members
CircularKernel::CompareYtoRight_2 Concept Reference
Reference Manual » Geometric Concepts

## Definition

A function object concept to compare vertically two arcs on the right side of a common point `p`:

## Operations
A model of this concept must provide:
Comparison_result | operator() (const Circular_kernel_2::Circular_arc_2 &a1, const Circular_kernel_2::Circular_arc_2 &a2, const Circular_kernel_2::Circular_arc_point_2 &p)
| For two circular arcs.
Comparison_result | operator() (const Circular_kernel_2::Line_arc_2 &a1, const Circular_kernel_2::Line_arc_2 &a2, const Circular_kernel_2::Circular_arc_point_2 &p)
| Same for two segments.
Comparison_result | operator() (const Circular_kernel_2::Line_arc_2 &a1, const Circular_kernel_2::Circular_arc_2 &a2, const Circular_kernel_2::Circular_arc_point_2 &p)
| For a segment and an arc.
Comparison_result | operator() (const Circular_kernel_2::Circular_arc_2 &a1, const Circular_kernel_2::Line_arc_2 &a2, const Circular_kernel_2::Circular_arc_point_2 &p)
| Same as previous.

## Member Function Documentation

## ◆ operator()()

Comparison_result CircularKernel::CompareYtoRight_2::operator() | ( | const Circular_kernel_2::Circular_arc_2 & | a1,
|  | const Circular_kernel_2::Circular_arc_2 & | a2,
|  | const Circular_kernel_2::Circular_arc_point_2 & | p
| ) |  |

For two circular arcs.

Precondition
  `p` must be a common point to `a1` and `a2`, and `a1` and `a2` must be defined to the right of `p`.