CGAL 6.2 - 2D and 3D Linear Geometry Kernel: Kernel::AreParallel_2 Concept Reference

CGAL 6.2 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableBinaryFunction`

See also
  `CGAL::parallel()`

## Operations
A model of this concept must provide:
bool | operator() (const Kernel::Line_2 &l1, const Kernel::Line_2 &l2)
| returns `true`, if `l1` and `l2` are parallel or if one of those (or both) is degenerate.
bool | operator() (const Kernel::Ray_2 &r1, const Kernel::Ray_2 &r2)
| returns `true`, if `r1` and `r2` are parallel or if one of those (or both) is degenerate.
bool | operator() (const Kernel::Segment_2 &s1, const Kernel::Segment_2 &s2)
| returns `true`, if `s1` and `s2` are parallel or if one of those (or both) is degenerate.