CGAL 5.1 - CGAL and Boost Property Maps
CGAL and Boost Property Maps Reference

Andreas Fabri and Laurent Saboret
This package provides a framework for interfacing CGAL data structures with algorithms expecting Boost Property Maps.
Introduced in: CGAL 3.5
BibTeX: cgal:fs-cbpm-21b
License: LGPL

Classes

struct  CGAL::Dereference_property_map< T >
 
struct  CGAL::Identity_property_map< T >
 
struct  CGAL::First_of_pair_property_map< Pair >
 
struct  CGAL::Second_of_pair_property_map< Pair >
 
struct  CGAL::Nth_of_tuple_property_map< N, Tuple >
 
struct  CGAL::Property_map_to_unary_function< PropertyMap >
 
struct  CGAL::Pointer_property_map< T >
 
struct  CGAL::Constant_property_map< KeyType, ValueType >
 
struct  CGAL::Boolean_property_map< Set >
 
struct  CGAL::Cartesian_converter_property_map< GeomObject, Vpm >
 

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)
 

Function Documentation

◆ make_boolean_property_map()

template<class Set >
Boolean_property_map<Set> CGAL::make_boolean_property_map ( Set &  set_)

#include <CGAL/property_map.h>

returns Boolean_property_map<Set>(set_)

◆ make_cartesian_converter_property_map()

template<class GeomObject , class Vpm >
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)

◆ make_property_map() [1/4]

template<class T >
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

◆ make_property_map() [2/4]

template<class T >
Pointer_property_map<T>::const_type CGAL::make_property_map ( const T *  pointer)

#include <CGAL/property_map.h>

Non-mutable version

◆ make_property_map() [3/4]

template<class T >
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

◆ make_property_map() [4/4]

template<class T >
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.