![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Classes | |
| struct | ConduitHit |
Functions | |
| ConduitHit | pickConduit (const MapCanvas *canvas, const QPoint &pixel) |
Hit-test CONDUITS only (pumps, weirs, orifices and outlets have no length to divide) across the canvas's visible SWMM model layers, with a 12-pixel tolerance at the current zoom. Computes the arclength position t of the closest point, kept off the ends so no sliver conduit results, and whether the conduit is a STREET section. | |
| QString | nextNodeName (const SWMMModelLayer *layer, const QString &elementKind) |
| QString | nextSplitLinkName (const SWMMModelLayer *layer, const QString &baseName) |
| QString ConduitSplitPick::nextNodeName | ( | const SWMMModelLayer * | layer, |
| const QString & | elementKind | ||
| ) |
<prefix>1, <prefix>2, … — first name free in layer, where the prefix is PreferencesManager::elementNamePrefix(elementKind).
| QString ConduitSplitPick::nextSplitLinkName | ( | const SWMMModelLayer * | layer, |
| const QString & | baseName | ||
| ) |
<base>_B, then <base>_B1, <base>_B2, … — the downstream half's name.
| ConduitHit ConduitSplitPick::pickConduit | ( | const MapCanvas * | canvas, |
| const QPoint & | pixel | ||
| ) |
Hit-test CONDUITS only (pumps, weirs, orifices and outlets have no length to divide) across the canvas's visible SWMM model layers, with a 12-pixel tolerance at the current zoom. Computes the arclength position t of the closest point, kept off the ends so no sliver conduit results, and whether the conduit is a STREET section.