CGAL 5.1.3 - Surface Mesh Topology
CGAL::Surface_mesh_topology::Euclidean_length_weight_functor< Mesh > Struct Template Reference

#include <CGAL/Curves_on_surface_topology.h>

Definition

A model of WeightFunctor assigning its Euclidean length to every edge.

Precondition
amesh should have points associated with their vertices.
Examples:
Surface_mesh_topology/edgewidth_surface_mesh.cpp, and Surface_mesh_topology/shortest_noncontractible_cycle.cpp.

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.