\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14 - 2D Circular Geometry Kernel
CircularKernel::CompareYatX_2 Concept Reference

Definition

A function object concept to compare a point p and an arc a on the vertical line passing through p.

Operations

A model of this concept must provide:

Comparison_result operator() (const CircularKernel::Circular_arc_point_2 &p, const CircularKernel::Circular_arc_2 &a)
 For a circular arc. More...
 
Comparison_result operator() (const CircularKernel::Circular_arc_point_2 &p, const CircularKernel::Line_arc_2 &a)
 Same for a segment.
 

Member Function Documentation

◆ operator()()

Comparison_result CircularKernel::CompareYatX_2::operator() ( const CircularKernel::Circular_arc_point_2 p,
const CircularKernel::Circular_arc_2 a 
)

For a circular arc.

Precondition
The arc a must be monotone and p must be in the vertical range of a.