\( \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.13 - CGAL and Boost Property Maps
CGAL::Property_map_to_unary_function< PropertyMap > Struct Template Reference

#include <CGAL/property_map.h>

Definition

Struct that turns a property map into a unary functor with operator()(key k) calling the get function with k

Public Types

typedef boost::property_traits< PropertyMap >::key_type argument_type
 
typedef boost::property_traits< PropertyMap >::reference result_type
 

Public Member Functions

 Property_map_to_unary_function (PropertyMap m=PropertyMap())
 
template<class KeyType >
result_type operator() (const KeyType &a) const
 

Public Attributes

PropertyMap map