CGAL 5.5.3 - dD Geometry Kernel
Kernel_d::Intersect_d Concept Reference

Definition

Operations

A model of this concept must provide:

template<class Type1 , class Type2 >
decltype(auto) operator() (const Type1 &p, const Type2 &q)
 returns the result of the intersection of \( p\) and \( q\) in form of a stack-based discriminated union container object. More...
 

Member Function Documentation

◆ operator()()

template<class Type1 , class Type2 >
decltype(auto) Kernel_d::Intersect_d::operator() ( const Type1 &  p,
const Type2 &  q 
)

returns the result of the intersection of \( p\) and \( q\) in form of a stack-based discriminated union container object.

Type1 and Type2 may be any of Kernel_d::Segment_d, Kernel_d::Ray_d, Kernel_d::Line_d, Kernel_d::Hyperplane_d.

For a list of the possible return types, see CGAL::intersection().

Precondition
p and q have the same dimension.