![]() |
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::AutoCoupleResult |
| Result of findCoincidentNodes. More... | |
Namespaces | |
| namespace | mesh |
Functions | |
| double | mesh::defaultCoincidenceTol (const MeshResult &mesh) |
| Scale-free coincidence tolerance: 1e-6 × the mesh bbox diagonal (min 1e-9) — exact coordinate match with float / .inp-rounding slop. | |
| AutoCoupleResult | mesh::findCoincidentNodes (const MeshResult &mesh, const QVector< QPair< QString, QPointF > > &nodes, const QList< int > &targets={}, double tol=-1.0) |
| Match SWMM nodes to coincident mesh vertices. | |
Coincident-node matching for the mesh toolbar's Auto-couple action: pairs mesh vertices with the SWMM node sitting at the same map coordinate so the coupling can be applied automatically. Pure functions over MeshResult — no Qt-widgets, no layer dependency — so the matching is unit-testable.