CGAL 5.2.2 - 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.