CGAL 5.3.1 - 2D and 3D Linear Geometry Kernel
CGAL::parallel()

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.