CGAL 5.6  Surface Mesh Topology

#include <CGAL/Curves_on_surface_topology.h>
A model of WeightFunctor
assigning its Euclidean length to every edge.
amesh
should have points associated with their vertices. Public Types  
using  Weight_t = double 
Number type of the weights.  
Public Member Functions  
Euclidean_length_weight_functor (const Mesh &m)  
creates an Euclidean_length_weight_functor given a mesh.  