CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::CompareSignedDistanceToLine_2 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with four arguments)

Operations

A model of this concept must provide:

Comparison_result operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r, const Kernel::Point_2 &s)
 compares the signed distance of r and s to the directed line through p and q. More...
 
Comparison_result operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &r, const Kernel::Point_2 &s)
 compares the signed distance of r and s to the directed line l. More...
 

Member Function Documentation

◆ operator()() [1/2]

Comparison_result Kernel::CompareSignedDistanceToLine_2::operator() ( const Kernel::Line_2 l,
const Kernel::Point_2 r,
const Kernel::Point_2 s 
)

compares the signed distance of r and s to the directed line l.

◆ operator()() [2/2]

Comparison_result Kernel::CompareSignedDistanceToLine_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q,
const Kernel::Point_2 r,
const Kernel::Point_2 s 
)

compares the signed distance of r and s to the directed line through p and q.