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

CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::LessSignedDistanceToLine_2 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableQuaternaryFunction`

See also
  `CGAL::has_smaller_signed_distance_to_line()`

## 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`.

## 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`.