The struct Data_access<Map> implements a functor that allows to retrieve
data from an associative container. The functor keeps a reference to
the container. Given an instance of the container's key type, it
returns a pair of the container's value type and a Boolean indicating
whether the retrieval was successful.
This class can be used to provide the values and gradients of the interpolation functions.
#include <CGAL/interpolation_functions.h>
typedef Map::mapped_type | Data_type; | |
typedef Map::key_type | Key_type; |
Data_access<Map> data_access ( Map map); | |
Introduces a Data_access to the container map.
|