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

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

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

Member Function Documentation

◆ operator()() [1/4]

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.

◆ operator()() [2/4]

Comparison_result CircularKernel::CompareYtoRight_2::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.

◆ operator()() [3/4]

Comparison_result CircularKernel::CompareYtoRight_2::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.

◆ operator()() [4/4]

Comparison_result CircularKernel::CompareYtoRight_2::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.