cgal/Old_Packages/Doc23/doc_tex/kernel/Ref/Kernel_traits.tex

21 lines
597 B
TeX

\begin{ccRefClass}{Kernel_traits<T>}
\ccTexHtml{\ccSetThreeColumns{Point_2< Homogeneous<RT> > }{}{\hspace*{8.5cm}}}{}
\ccDefinition
This class provides access to the traits class to which \ccc{T} belongs.
This allows one to specify a return type of a global function knowing only that
the arguments are of the form \ccc{Kernel::Point_2}.
% \ccInclude{CGAL/Kernel_traits.h}
\ccTypes
\ccTypedef {typedef T::R Kernel;}
{ When \ccc{T} is a type such as \ccc{R::Point_2} of a kernel traits \ccc{R},
the \ccc{Kernel} typedef is equal to \ccc{R}. }
\ccTexHtml{\KernelRefLayout}{}
\end{ccRefClass}