![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <meshminsizecleanup.h>
Public Attributes | |
| double | minCellSize = 0.0 |
| double | beta = 0.35 |
| int | maxPasses = 2 |
| int | maxUnfixable = 200 |
| cap on the reported list | |
| bool | allowIdentityCollapse = false |
| Collapse slivers the default pass refuses to touch. | |
| int | minRingVertices = 3 |
| int | maxCandidatesPerPass = 2000000 |
Knobs for collapseSubScaleCells.
| bool mesh::CleanupPolicy::allowIdentityCollapse = false |
Collapse slivers the default pass refuses to touch.
OFF by default. The default pass freezes the endpoints of EVERY constrained edge, which on a conduit-dense model is essentially every interior vertex of consequence — so it declines far more than it fixes. With this on, an interior constrained edge may collapse, and a sliver touching ONE identity vertex may be absorbed INTO that vertex.
Two rules are never relaxed: two distinct identities are never merged into each other, and a 1D-2D coupling is never lost (a dropped coupling is worse than a sliver, and still aborts the whole pass).
| double mesh::CleanupPolicy::beta = 0.35 |
Collapse only edges shorter than beta * h. Deliberately well below 1: at beta = 1 every edge of every legitimately h-sized cell becomes a candidate and the pass starts dismantling good geometry.
| int mesh::CleanupPolicy::maxCandidatesPerPass = 2000000 |
Relaxing the default protections multiplies how many edges qualify on a large mesh. Only consulted in aggressive mode.
| int mesh::CleanupPolicy::maxPasses = 2 |
| int mesh::CleanupPolicy::maxUnfixable = 200 |
cap on the reported list
| double mesh::CleanupPolicy::minCellSize = 0.0 |
h — the minimum cell size in map units. 0 disables cleanup.
| int mesh::CleanupPolicy::minRingVertices = 3 |
A ring may not be shortened below this many vertices. The mesh-output side of the same self-folding hazard pslgminsize guards on the input side: a ring collapsed to two vertices bounds no area.