![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "map/tools/conduitsplitpick.h"#include "core/editgeometry.h"#include "core/preferencesmanager.h"#include "layers/openswmmvislayer.h"#include "layers/swmmmodellayer.h"#include "map/mapcanvas.h"#include "ui/properties/xsectshapegeom.h"#include <openswmm/engine/openswmm_links.h>#include <algorithm>#include <cmath>Namespaces | |
| namespace | ConduitSplitPick |
Functions | |
| 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. | |
| QString | ConduitSplitPick::nextNodeName (const SWMMModelLayer *layer, const QString &elementKind) |
| QString | ConduitSplitPick::nextSplitLinkName (const SWMMModelLayer *layer, const QString &baseName) |