CGAL 5.6.3 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Functions
CGAL::collinear()
2D and 3D Linear Geometry Kernel Reference » Global Kernel Functions

##

See also
  `CGAL::left_turn()`
  `CGAL::orientation()`
  `CGAL::right_turn()`

## Functions
template<typename Kernel >
bool | CGAL::collinear (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q, const CGAL::Point_2< Kernel > &r)
| returns `true`, iff `p`, `q`, and `r` are collinear.
template<typename Kernel >
bool | CGAL::collinear (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r)
| returns `true`, iff `p`, `q`, and `r` are collinear.