13 #include <boost/graph/graph_traits.hpp>
14 #include <boost/graph/properties.hpp>
42 template<
typename FaceGraph,
50 CentroidMap barycenters_pm,
51 const typename GeometryTraits::Scalar smoothing_factor,
52 const GeometryTraits >)
54 typedef boost::graph_traits< FaceGraph > GraphTraits;
56 typedef typename GraphTraits::vertex_iterator vertex_iterator;
65 vertex_iterator vi = iterator_pair.first;
66 vertex_iterator vi_end = iterator_pair.second;
67 for(; vi != vi_end; ++vi)
73 *vi, g, pm, smoothing_factor, gt);
77 template<
typename FaceGraph,
85 CentroidMap barycenters_pm,
86 const typename GeometryTraits::Scalar smoothing_factor = 0.1)
94 g, pm, barycenters_pm, smoothing_factor, gt);