CGAL 5.1 - 2D Circular Geometry Kernel
CircularKernel::CompareYatX_2 Class Reference

#include <Concepts/CircularKernel--CompareYatX_2.h>

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. More...
 

Member Function Documentation

◆ operator()() [1/2]

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.

◆ operator()() [2/2]

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

Same for a segment.