|
SFCGAL
2.3.0
|
Stop predicate for surface mesh simplification. More...
#include <surfaceSimplification.h>
Public Types | |
| enum | PredicateType : unsigned char { PredicateType::EDGE_COUNT, PredicateType::EDGE_COUNT_RATIO } |
| Type of stop predicate. More... | |
Static Public Member Functions | |
| static auto | edgeCount (size_t count) -> SimplificationStopPredicate |
| Create an edge count stop predicate. More... | |
| static auto | edgeCountRatio (double ratio) -> SimplificationStopPredicate |
| Create an edge count ratio stop predicate. More... | |
Public Attributes | |
| PredicateType | type |
| Type of stop predicate. More... | |
| double | value |
| Target value (count or ratio) More... | |
Stop predicate for surface mesh simplification.
Defines when the simplification process should stop.
|
strong |
Type of stop predicate.
|
inlinestatic |
Create an edge count stop predicate.
| count | Target number of edges to keep |
|
inlinestatic |
Create an edge count ratio stop predicate.
| ratio | Target ratio of edges to keep (0.0 to 1.0) |
| PredicateType SFCGAL::algorithm::SimplificationStopPredicate::type |
Type of stop predicate.
| double SFCGAL::algorithm::SimplificationStopPredicate::value |
Target value (count or ratio)
1.8.10