![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Time-invariant per-link properties. Only links present on the chosen path are populated. Indices in PathStatic::links are 0..N-1 where N == PathStatic::nodes.size() - 1, and link[i] joins node[i] → node[i+1] in path-traversal order (which may differ from the underlying model link's intrinsic from/to direction when the router operated in undirected mode). More...
#include <profilebuilder.h>
Public Attributes | |
| QString | name |
| double | length = 0.0 |
| double | offset1 = 0.0 |
| double | offset2 = 0.0 |
| double | maxDepth = 0.0 |
| double | crestHeight = 0.0 |
| bool | openTop = false |
| bool | isStreet = false |
| LinkKind | kind = LinkKind::Conduit |
| bool | reversed = false |
Time-invariant per-link properties. Only links present on the chosen path are populated. Indices in PathStatic::links are 0..N-1 where N == PathStatic::nodes.size() - 1, and link[i] joins node[i] → node[i+1] in path-traversal order (which may differ from the underlying model link's intrinsic from/to direction when the router operated in undirected mode).
| double ProfileBuilder::LinkStatic::crestHeight = 0.0 |
Weir / outlet crest height above the inlet (path-upstream) node invert. Read via swmm_link_get_crest_height. Zero for conduits / pumps / orifices.
| bool ProfileBuilder::LinkStatic::isStreet = false |
STREET cross-section: the invert is a road gutter line and is drawn with the pavement brush. Carried as a plain flag so the renderer stays free of engine shape codes.
| LinkKind ProfileBuilder::LinkStatic::kind = LinkKind::Conduit |
| double ProfileBuilder::LinkStatic::length = 0.0 |
| double ProfileBuilder::LinkStatic::maxDepth = 0.0 |
Cross-section max depth (crown offset).
| QString ProfileBuilder::LinkStatic::name |
| double ProfileBuilder::LinkStatic::offset1 = 0.0 |
Invert offset at path-upstream end. Per SWMM convention, kept at 0 for weirs / outlets — use crestHeight for their sill elevation.
| double ProfileBuilder::LinkStatic::offset2 = 0.0 |
Invert offset at path-downstream end.
| bool ProfileBuilder::LinkStatic::openTop = false |
Draw with no soffit line (open channel, or a street). Presentation only — see linkFullDepth() in xsectsampler.h.
| bool ProfileBuilder::LinkStatic::reversed = false |
True when traversal direction is the reverse of the underlying model link; lets the velocity-sign convention map correctly in EGL computation.