CGAL 6.0.2 - 2D and 3D Linear Geometry Kernel

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

##

See also
  `CGAL::are_ordered_along_line()`
  `CGAL::are_strictly_ordered_along_line()`
  `CGAL::collinear_are_ordered_along_line()`

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

## Function Documentation

## ◆ collinear_are_strictly_ordered_along_line() [1/2]

template<typename Kernel >

bool CGAL::collinear_are_strictly_ordered_along_line | ( | const CGAL::Point_2< Kernel > & | p,
|  | const CGAL::Point_2< Kernel > & | q,
|  | const CGAL::Point_2< Kernel > & | r
| ) |  |

`#include <CGAL/Kernel/global_functions.h>`

returns `true`, iff `q` lies strictly between `p` and `r`.

Precondition
  `p, q` and `r` are collinear.

## ◆ collinear_are_strictly_ordered_along_line() [2/2]

template<typename Kernel >

bool CGAL::collinear_are_strictly_ordered_along_line | ( | const CGAL::Point_3< Kernel > & | p,
|  | const CGAL::Point_3< Kernel > & | q,
|  | const CGAL::Point_3< Kernel > & | r
| ) |  |

`#include <CGAL/Kernel/global_functions.h>`

returns `true`, iff `q` lies strictly between `p` and `r`.

Precondition
  `p, q` and `r` are collinear.