CGAL 5.1 - 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.