CGAL 5.1 - 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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Function Documentation

◆ parallel() [1/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Line_2< Kernel > &  l1,
const CGAL::Line_2< Kernel > &  l2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if l1 and l2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [2/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Line_3< Kernel > &  l1,
const CGAL::Line_3< Kernel > &  l2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if l1 and l2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [3/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Plane_3< Kernel > &  h1,
const CGAL::Plane_3< Kernel > &  h2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if h1 and h2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [4/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Ray_2< Kernel > &  r1,
const CGAL::Ray_2< Kernel > &  r2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if r1 and r2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [5/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Ray_3< Kernel > &  r1,
const CGAL::Ray_3< Kernel > &  r2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if r1 and r2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [6/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Segment_2< Kernel > &  s1,
const CGAL::Segment_2< Kernel > &  s2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if s1 and s2 are parallel or if one of those (or both) is degenerate.

◆ parallel() [7/7]

template<typename Kernel >
bool CGAL::parallel ( const CGAL::Segment_3< Kernel > &  s1,
const CGAL::Segment_3< Kernel > &  s2 
)

#include <CGAL/Kernel/global_functions.h>

returns true, if s1 and s2 are parallel or if one of those (or both) is degenerate.