CGAL 4.9 - CGAL and Boost Property Maps
|
Classes | |
struct | Input_iterator_property_map |
struct | Dereference_property_map |
Property map that converts a T* pointer (or in general an iterator over T elements) to the T object. More... | |
struct | Identity_property_map |
A LvaluePropertyMap property map mapping a key to itself (by reference). More... | |
struct | First_of_pair_property_map |
Property map that accesses the first item of a std::pair . More... | |
struct | Second_of_pair_property_map |
Property map that accesses the second item of a std::pair . More... | |
struct | Nth_of_tuple_property_map |
Property map that accesses the Nth item of a boost::tuple . More... | |
struct | Property_map_to_unary_function |
Struct that turns a property map into a unary functor with operator()(key k) calling the get function with k More... | |
struct | Pointer_property_map |
Utility class providing shortcuts to property maps based on raw pointers. More... | |
Functions | |
template<class Iter > | |
Index_property_map< Iter > | make_index_property_map (Iter first, Iter beyond) |
Free function to create an Index_property_map property map. More... | |
template<class T > | |
Pointer_property_map< T >::type | 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 | 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 | make_property_map (const T *pointer) |
Non-mutable version. | |
template<class T > | |
Pointer_property_map< T > ::const_type | 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 | |
Index_property_map<Iter> CGAL::make_index_property_map | ( | Iter | first, |
Iter | beyond | ||
) |
Free function to create an Index_property_map property map.
Iter | iterator over input elements. |
[first, beyond)
range of elements. first | iterator over the first element (index 0) |
beyond | past-the-end iterator over the elements |