\( \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 4.12 - 2D and 3D Linear Geometry Kernel

Definition

Deprecated:
This class is deprecated since CGAL 4.3 and type safe ways should be preferred.
Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::Object
Kernel::Object_2
Kernel::Intersect_2

Operations

A model of this concept must provide:

template<class T >
bool operator() (T &t, const Kernel::Object_2 &o)
 assigns o to t if o was constructed from an object of type T. More...
 

Member Function Documentation

◆ operator()()

template<class T >
bool Kernel::Assign_2::operator() ( T &  t,
const Kernel::Object_2 o 
)

assigns o to t if o was constructed from an object of type T.

Returns true, if the assignment was possible.