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::BranchLink Struct Reference

One link incident to a path node, described from that node's point of view. More...

#include <profilebuilder.h>

Collaboration diagram for ProfileBuilder::BranchLink:

Public Attributes

QString name
 
LinkKind kind = LinkKind::Conduit
 
double invertElev = 0.0
 
double maxDepth = 0.0
 
bool openTop = false
 
double bearingRad = 0.0
 
bool intoNode = false
 
bool onPath = false
 

Detailed Description

One link incident to a path node, described from that node's point of view.

Every link touching the node is recorded, including the one or two the profile itself traverses (onPath). The renderer uses the set two ways: off-path entries become truncated stubs butting against the manhole tube, so a profile shows what else arrives at each structure; and the whole set — path links included — becomes the per-node plan rose, where the path spokes are what orient the reader.

bearingRad is a MAP bearing measured at this node: 0 = +y (north), increasing clockwise, in the layer CRS. It is the direction the link leaves this node, taken from the first polyline point away from the node, so a curved link reads by its local tangent rather than by the straight line to its far end.

intoNode is the MODEL's flow direction (this node is the link's To-node), not the profile traversal direction — a rose arrow should show how the network is built, which is independent of which way the user happened to draw the profile.

Member Data Documentation

◆ bearingRad

double ProfileBuilder::BranchLink::bearingRad = 0.0

Plan bearing, 0 = north, clockwise.

◆ intoNode

bool ProfileBuilder::BranchLink::intoNode = false

Model flow arrives at this node.

◆ invertElev

double ProfileBuilder::BranchLink::invertElev = 0.0

Absolute invert at THIS node — the node invert plus the link's offset at this end. Sets where the stub attaches.

◆ kind

LinkKind ProfileBuilder::BranchLink::kind = LinkKind::Conduit

◆ maxDepth

double ProfileBuilder::BranchLink::maxDepth = 0.0

Cross-section max depth (crown offset) for the stub's thickness; 0 when the link has no conduit geometry.

◆ name

QString ProfileBuilder::BranchLink::name

◆ onPath

bool ProfileBuilder::BranchLink::onPath = false

The profile traverses this link, so it gets no stub (it is already drawn full length) but does get a rose spoke.

◆ openTop

bool ProfileBuilder::BranchLink::openTop = false

Draw the stub with no soffit line.


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