![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Classes | |
| struct | mesh::QuadCleanupOptions |
| struct | mesh::QuadCleanupStats |
Namespaces | |
| namespace | mesh |
Functions | |
| QuadCleanupStats | mesh::cleanupAndSmoothQuads (MeshResult &mesh, const QSet< int > &movable, const QuadCleanupOptions &opts, QVector< int > *vertexOldToNew) |
Run cleanup then smoothing. vertexOldToNew (optional) receives the vertex remap after doublet compaction (-1 = removed); identity when nothing was removed. Cells are rebuilt triangles-first afterwards. | |
| QVector< int > | mesh::reorderTrianglesFirst (MeshResult &mesh) |
| Reorder cells triangles-first, stable within each class. Returns the old→new cell index map. Shared with meshquadmatch. | |
Topological cleanup and guarded smoothing inside quad regions (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.4g–h).
Only vertices in movable are ever moved or removed; only cells incident to a movable vertex are ever rewritten. Ring vertices, constraint vertices and junction Steiners are therefore untouched, so patch stitching, node coupling and the PSLG interface are unaffected.
MeshResult::cellCouplings / infilOverrides are index-keyed and are NOT remapped here: MeshGenerator runs this before either is populated.