CGAL 5.1 - 2D and 3D Linear Geometry Kernel

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::parallel()

Operations

A model of this concept must provide:

bool operator() (const Kernel::Line_2 &l1, const Kernel::Line_2 &l2)
 returns true, if l1 and l2 are parallel or if one of those (or both) is degenerate. More...
 
bool operator() (const Kernel::Ray_2 &r1, const Kernel::Ray_2 &r2)
 returns true, if r1 and r2 are parallel or if one of those (or both) is degenerate. More...
 
bool operator() (const Kernel::Segment_2 &s1, const Kernel::Segment_2 &s2)
 returns true, if s1 and s2 are parallel or if one of those (or both) is degenerate. More...
 

Member Function Documentation

◆ operator()() [1/3]

bool Kernel::AreParallel_2::operator() ( const Kernel::Line_2 l1,
const Kernel::Line_2 l2 
)

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

◆ operator()() [2/3]

bool Kernel::AreParallel_2::operator() ( const Kernel::Ray_2 r1,
const Kernel::Ray_2 r2 
)

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

◆ operator()() [3/3]

bool Kernel::AreParallel_2::operator() ( const Kernel::Segment_2 s1,
const Kernel::Segment_2 s2 
)

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