CGAL 5.1 - CGAL and Boost Property Maps
|
Functions | |
template<class T > | |
Pointer_property_map< T >::type | CGAL::make_property_map (T *pointer) |
template<class T > | |
Pointer_property_map< T >::type | CGAL::make_property_map (std::vector< T > &v) |
template<class T > | |
Pointer_property_map< T >::const_type | CGAL::make_property_map (const T *pointer) |
template<class T > | |
Pointer_property_map< T >::const_type | CGAL::make_property_map (const std::vector< T > &v) |
template<class Set > | |
Boolean_property_map< Set > | CGAL::make_boolean_property_map (Set &set_) |
template<class GeomObject , class Vpm > | |
Cartesian_converter_property_map< GeomObject, Vpm > | CGAL::make_cartesian_converter_property_map (Vpm vpm) |
Boolean_property_map<Set> CGAL::make_boolean_property_map | ( | Set & | set_ | ) |
#include <CGAL/property_map.h>
returns Boolean_property_map<Set>(set_)
Cartesian_converter_property_map<GeomObject, Vpm> CGAL::make_cartesian_converter_property_map | ( | Vpm | vpm | ) |
#include <CGAL/property_map.h>
returns Cartesian_converter_property_map<GeomObject, Vpm>(vpm)
Pointer_property_map<T>::const_type CGAL::make_property_map | ( | const std::vector< T > & | v | ) |
#include <CGAL/property_map.h>
equivalent to make_property_map(&v[0])
Note that v
must not be modified while using the property map created
Pointer_property_map<T>::const_type CGAL::make_property_map | ( | const T * | pointer | ) |
#include <CGAL/property_map.h>
Non-mutable version
Pointer_property_map<T>::type CGAL::make_property_map | ( | std::vector< T > & | v | ) |
#include <CGAL/property_map.h>
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 | ) |
#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.