CGAL 5.5.2 - 2D and 3D Linear Geometry Kernel
Kernel::LessSignedDistanceToLine_2 Concept Reference

Definition

Operations

A model of this concept must provide:

bool operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &p, const Kernel::Point_2 &q)
 returns true if the signed distance from p and the oriented line l is smaller than the signed distance of q and l.
 
bool operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r, const Kernel::Point_2 &s)
 returns true if the signed distance from r and the oriented line l defined by p and q is smaller than the signed distance of s and l. More...
 

Member Function Documentation

◆ operator()()

bool Kernel::LessSignedDistanceToLine_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q,
const Kernel::Point_2 r,
const Kernel::Point_2 s 
)

returns true if the signed distance from r and the oriented line l defined by p and q is smaller than the signed distance of s and l.

Precondition
p != q.