CGAL 6.1.1 - Surface Mesh Topology

Loading...
Searching...
No Matches
List of all members
WeightFunctor Concept Reference
Reference Manual » Concepts

## Definition

The concept `WeightFunctor` defines a functor to calculate the weight of an edge.

Has models
  `CGAL::Surface_mesh_topology::Unit_weight_functor`
  `CGAL::Surface_mesh_topology::Euclidean_length_weight_functor<Mesh>`

## Public types
typedef unspecified_type | halfedge_descriptor
| A descriptor to `Dart` for combinatorial/generalized maps, or a halfedge descriptor for models of the `FaceGraph` concept.
using | Weight_t = unspecified_type
| Number type of the weights.

## Public member functions
Weight_t | operator() (halfedge_descriptor hd) const
| Returns the weight of the edge containing `hd`.