SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
xsectsampler.cpp File Reference
#include "ui/sectionview/xsectsampler.h"
#include <openswmm/engine/openswmm_infrastructure.h>
#include <openswmm/engine/openswmm_links.h>
#include <openswmm/engine/openswmm_xsect.h>
#include <algorithm>
#include <QtMath>
#include <cmath>
#include <utility>
Include dependency graph for xsectsampler.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::sectionview
 

Functions

XsectSampler openswmmvis::sectionview::samplerFromStreetIndex (SWMM_Engine engine, int streetIdx, bool si)
 Sampler for the street at streetIdx, built from [STREETS].
 
XsectSampler openswmmvis::sectionview::samplerForLink (SWMM_Engine engine, int linkIdx, int shape, double g1, double g2, double g3, double g4, bool si)
 Sampler for a link's cross-section, given the values swmm_link_get_xsect reported for it.
 
double openswmmvis::sectionview::linkFullDepth (SWMM_Engine engine, int linkIdx, int shape, double g1, double g2, double g3, double g4, bool si, bool *outOpenTop=nullptr)
 A link's true full depth (crown height above the invert).
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later