\( \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 5.0 - dD Geometry Kernel
Kernel_d::Intersect_d Concept Reference

Definition

Operations

A model of this concept must provide:

template<class Type1 , class Type2 >
cpp11::result_of< Kernel::Intersect_d(Type1, Type2)>::type 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 >
cpp11::result_of<Kernel::Intersect_d(Type1, Type2)>::type 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.