13 #include <boost/graph/graph_traits.hpp>
14 #include <boost/graph/properties.hpp>
44 template<
typename FaceGraph,
52 CentroidMap geom_laplacians_pm,
53 const typename GeometryTraits::Scalar smoothing_factor,
54 const GeometryTraits >)
56 typedef boost::graph_traits< FaceGraph > GraphTraits;
58 typedef typename GraphTraits::vertex_iterator vertex_iterator;
66 vertex_iterator vi = iterator_pair.first;
67 vertex_iterator vi_end = iterator_pair.second;
68 for(; vi != vi_end; ++vi)
70 geom_laplacians_pm[*vi] =
74 *vi, g, pm, smoothing_factor, gt);
78 template<
typename FaceGraph,
86 CentroidMap geom_laplacians_pm,
87 const typename GeometryTraits::Scalar smoothing_factor = 0.1)
95 g, pm, geom_laplacians_pm, smoothing_factor, gt);