13 #include <boost/graph/graph_traits.hpp>
14 #include <boost/graph/properties.hpp>
44 template<
typename FaceGraph,
53 angles_based_centroids_pm,
54 const typename GeometryTraits::Scalar smoothing_factor,
55 const GeometryTraits >)
57 typedef boost::graph_traits< FaceGraph > GraphTraits;
59 typedef typename GraphTraits::vertex_iterator vertex_iterator;
68 vertex_iterator vi = iterator_pair.first;
69 vertex_iterator vi_end = iterator_pair.second;
71 for(; vi != vi_end; ++vi)
74 angles_based_centroids_pm[*vi] =
78 *vi, g, pm, smoothing_factor, gt);
82 template<
typename FaceGraph,
91 angles_based_centroids_pm,
92 const typename GeometryTraits::Scalar smoothing_factor = 0.1)
100 g, pm, angles_based_centroids_pm, smoothing_factor, gt);