17 #pragma warning(disable : 4267) // for VS-2015 // MANDATORY when PCL is ON !!!
25 #include <boost/property_map/property_map.hpp>
42 boost::identity_property_map
45 return boost::identity_property_map();
49 template<
typename ValueT >
53 boost::vertex_index_t >::const_type
55 typedef typename boost::vector_property_map< ValueT, vertex_index_map_type >
60 auto index_map =
get(boost::vertex_index, pc);
84 template<
typename Po
intT >
89 typedef typename Vertex_pmap_traits< CGAL::Surface_mesh< PointT >,
90 value_type >::pmap_type pmap_type;
92 static pmap_type create(
const CGAL::Surface_mesh< PointT > &m)
94 auto index_map =
get(boost::vertex_index, m);
95 pmap_type pmap(index_map);
101 template<
typename Po
intT >
106 typedef typename Vertex_pmap_traits< CGAL::Surface_mesh< PointT >,
107 value_type >::pmap_type pmap_type;
109 static pmap_type create(
const CGAL::Surface_mesh< PointT > &m)
111 auto index_map =
get(boost::vertex_index, m);
112 pmap_type pmap(index_map);