CGAL 6.1.1 - Surface Mesh Topology

Loading...
Searching...
No Matches
List of all members | Public Types | Public Member Functions
CGAL::Surface_mesh_topology::Euclidean_length_weight_functor< Mesh > Struct Template Reference
Reference Manual » Classes

`#include <CGAL/Curves_on_surface_topology.h>`

## Definition

template<typename Mesh>
struct CGAL::Surface_mesh_topology::Euclidean_length_weight_functor< Mesh >

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 a Euclidean_length_weight_functor given a mesh.