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
ProfileBuilder::NodeStatic Struct Reference

Time-invariant per-node properties needed by the profile plot. The "rim" elevation is always invertElev + maxDepth — terrain DEMs only override the ground line drawn behind the manhole glyph (see PathStatic::terrainSamples), never the rim itself. More...

#include <profilebuilder.h>

Collaboration diagram for ProfileBuilder::NodeStatic:

Public Attributes

QString name
 
double invertElev = 0.0
 
double maxDepth = 0.0
 
double surchargeDepth = 0.0
 
NodeKind kind = NodeKind::Junction
 
bool isInlet = false
 
QVector< BranchLinkbranches
 

Detailed Description

Time-invariant per-node properties needed by the profile plot. The "rim" elevation is always invertElev + maxDepth — terrain DEMs only override the ground line drawn behind the manhole glyph (see PathStatic::terrainSamples), never the rim itself.

For a virtual junction maxDepth carries the node's rendering rim depth (the optional [VIRTUAL_JUNCTIONS] MaxDepth) when it has one, falling back to the derived pipe crown when it does not — the adapter resolves that, so this struct stays a plain rim carrier.

Member Data Documentation

◆ branches

QVector<BranchLink> ProfileBuilder::NodeStatic::branches

Every link incident to this node, path links included (see BranchLink). Empty when the caller built the path from pure-logic inputs without geometry — the renderer simply draws no stubs and no rose, exactly as before this field existed.

◆ invertElev

double ProfileBuilder::NodeStatic::invertElev = 0.0

◆ isInlet

bool ProfileBuilder::NodeStatic::isInlet = false

Inlet junction — a VirtualJunction that also captures street flow to an off-profile underdrain node. Carried as a flag rather than a sixth NodeKind so no existing kind switch changes meaning: it is drawn with the virtual-junction break rectangle plus a small inlet glyph.

◆ kind

NodeKind ProfileBuilder::NodeStatic::kind = NodeKind::Junction

◆ maxDepth

double ProfileBuilder::NodeStatic::maxDepth = 0.0

◆ name

QString ProfileBuilder::NodeStatic::name

◆ surchargeDepth

double ProfileBuilder::NodeStatic::surchargeDepth = 0.0

extra depth allowed above rim before flooding occurs


The documentation for this struct was generated from the following file: