CGAL 5.5.5 - 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... | |
struct | CGAL::Constant_property_map< KeyType, ValueType > |
Property map that returns a fixed value. More... | |
struct | CGAL::Boolean_property_map< Set > |
Read-write property map turning a set (such a std::set , boost::unordered_set , std::unordered_set ) into a property map associating a Boolean to the value type of the set. More... | |
struct | CGAL::Cartesian_converter_property_map< GeomObject, Vpm > |
Read-write property map doing on-the-fly conversions between two default constructible CGAL Cartesian kernels. 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 | |
template<class Set > | |
Boolean_property_map< Set > | CGAL::make_boolean_property_map (Set &set_) |
returns Boolean_property_map<Set>(set_) | |
template<class GeomObject , class Vpm > | |
Cartesian_converter_property_map< GeomObject, Vpm > | CGAL::make_cartesian_converter_property_map (Vpm vpm) |
returns Cartesian_converter_property_map<GeomObject, Vpm>(vpm) | |
Pointer_property_map<T>::type CGAL::make_property_map | ( | T * | pointer | ) |
#include <CGAL/property_map.h>
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.