\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13 - 2D and 3D Linear Geometry Kernel

Functions

template<typename Kernel >
bool CGAL::parallel (const CGAL::Line_2< Kernel > &l1, const CGAL::Line_2< Kernel > &l2)
 returns true, if l1 and l2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Ray_2< Kernel > &r1, const CGAL::Ray_2< Kernel > &r2)
 returns true, if r1 and r2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Segment_2< Kernel > &s1, const CGAL::Segment_2< Kernel > &s2)
 returns true, if s1 and s2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Line_3< Kernel > &l1, const CGAL::Line_3< Kernel > &l2)
 returns true, if l1 and l2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Plane_3< Kernel > &h1, const CGAL::Plane_3< Kernel > &h2)
 returns true, if h1 and h2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Ray_3< Kernel > &r1, const CGAL::Ray_3< Kernel > &r2)
 returns true, if r1 and r2 are parallel or if one of those (or both) is degenerate.
 
template<typename Kernel >
bool CGAL::parallel (const CGAL::Segment_3< Kernel > &s1, const CGAL::Segment_3< Kernel > &s2)
 returns true, if s1 and s2 are parallel or if one of those (or both) is degenerate.