The class Surface_mesh_simplification::Count_stop_predicate<ECM> provides a model for the StopPredicate concept. It has one template argument: the type of surface being simplified, which must be a model of the EdgeCollapsableMesh concept. It returns true when the number of current edges drops below a certain threshold.
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_stop_predicate.h>
| |
Initializes the predicate establishing the threshold value.
|