CGAL 6.1 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableBinaryFunction`

See also
  `CGAL::Line_2<Kernel>`
  `CGAL::Ray_2<Kernel>`
  `CGAL::Segment_2<Kernel>`

## Operations
A model of this concept must provide:
bool | operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &p)
| returns true iff `p` lies on `l`.
bool | operator() (const Kernel::Ray_2 &r, const Kernel::Point_2 &p)
| returns true iff `p` lies on `r`.
bool | operator() (const Kernel::Segment_2 &s, const Kernel::Point_2 &p)
| returns true iff `p` lies on `s`.