CGAL 6.2 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableBinaryFunction`

See also
  `CGAL::Circle_2<Kernel>`
  `CGAL::Line_2<Kernel>`
  `CGAL::Triangle_2<Kernel>`

## Operations
A model of this concept must provide:
bool | operator() (const Kernel::Circle_2 &c, const Kernel::Point_2 &p)
| returns true iff `p` lies on the positive side of `c`.
bool | operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &p)
| returns true iff `p` lies on the positive side of `l` (`l` is considered a halfspace).
bool | operator() (const Kernel::Triangle_2 &t, const Kernel::Point_2 &p)
| returns true iff `p` lies on the positive side of `t`.