The class Surface_mesh_simplification::Count_ratio_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 relation between the initial and current number of edges drops below a certain ratio.
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_ratio_stop_predicate.h>
| |
Initializes the predicate establishing the ratio.
|