Stop predicate for surface mesh simplification.
More...
#include <surfaceSimplification.h>
Stop predicate for surface mesh simplification.
Defines when the simplification process should stop.
- Examples
- /builddir/build/BUILD/SFCGAL-2.3.0-build/SFCGAL-v2.3.0/src/algorithm/surfaceSimplification.h.
◆ PredicateType
Type of stop predicate.
| Enumerator |
|---|
| EDGE_COUNT | Stop when edge count reaches the specified value.
The simplification stops when the number of undirected edges left in the surface mesh drops below the specified number.
|
| EDGE_COUNT_RATIO | Stop when edge count ratio reaches the specified value.
The simplification stops when the number of undirected edges drops below a given ratio of the initial edge count. The ratio is calculated as: remaining_edges / original_edges.
|
- Examples
- /builddir/build/BUILD/SFCGAL-2.3.0-build/SFCGAL-v2.3.0/src/algorithm/surfaceSimplification.h.
◆ edgeCount()
◆ edgeCountRatio()
◆ type
| PredicateType SFCGAL::algorithm::SimplificationStopPredicate::type |
◆ value
| double SFCGAL::algorithm::SimplificationStopPredicate::value |