CGAL 4.11.1 - CGAL and Boost Property Maps
|
Classes | |
struct | CGAL::Dereference_property_map< T > |
Property map that converts a T* pointer (or in general an iterator over T elements) to the T object. More... | |
struct | CGAL::Identity_property_map< T > |
A LvaluePropertyMap property map mapping a key to itself (by reference). More... | |
struct | CGAL::First_of_pair_property_map< Pair > |
Property map that accesses the first item of a std::pair . More... | |
struct | CGAL::Second_of_pair_property_map< Pair > |
Property map that accesses the second item of a std::pair . More... | |
struct | CGAL::Nth_of_tuple_property_map< N, Tuple > |
Property map that accesses the Nth item of a boost::tuple or a std::tuple . More... | |
struct | CGAL::Property_map_to_unary_function< PropertyMap > |
Struct that turns a property map into a unary functor with operator()(key k) calling the get function with k More... | |
struct | CGAL::Pointer_property_map< T > |
Utility class providing shortcuts to property maps based on raw pointers. More... | |
Functions | |
template<class T > | |
Pointer_property_map< T >::type | CGAL::make_property_map (T *pointer) |
Starting from boost 1.55, the use of raw pointers as property maps has been deprecated. More... | |
template<class T > | |
Pointer_property_map< T >::type | CGAL::make_property_map (std::vector< T > &v) |
equivalent to make_property_map(&v[0]) Note that v must not be modified while using the property map created | |
template<class T > | |
Pointer_property_map< T > ::const_type | CGAL::make_property_map (const T *pointer) |
Non-mutable version. | |
template<class T > | |
Pointer_property_map< T > ::const_type | CGAL::make_property_map (const std::vector< T > &v) |
equivalent to make_property_map(&v[0]) Note that v must not be modified while using the property map created | |
Pointer_property_map<T>::type CGAL::make_property_map | ( | T * | pointer) |
Starting from boost 1.55, the use of raw pointers as property maps has been deprecated.
This function is a shortcut to the recommanded replacement: boost::make_iterator_property_map(<pointer>, boost::typed_identity_property_map<std::size_t>())
Note that the property map is a mutable LvaluePropertyMap
with std::size_t
as key.
#include <CGAL/property_map.h>