setEnsureValid method
Controls whether simplified polygons will be "fixed" to have valid topology. The caller may choose to disable this because:
- valid topology is not required
- fixing topology is a relative expensive operation
- in some pathological cases the topology fixing operation may either fail or run for too long
The default is to fix polygon topology.
@param isEnsureValidTopology
Implementation
void setEnsureValid(bool isEnsureValidTopology) {
_isEnsureValidTopology = isEnsureValidTopology;
}