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
ProfileSection::Sample Struct Reference

One point along the traced cross-section. More...

#include <profilesection.h>

Collaboration diagram for ProfileSection::Sample:

Public Attributes

double chainage = 0.0
 
double ground = 0.0
 
double depthNow = 0.0
 
double maxDepth = 0.0
 
int triIdx = -1
 
bool cellHasSurface = false
 
QPointF scenePt
 

Detailed Description

One point along the traced cross-section.

Member Data Documentation

◆ cellHasSurface

bool ProfileSection::Sample::cellHasSurface = false

a corner of triIdx carries a valid free-surface η this frame (signed depth ≠ 0). false = NO DATA (never-wet cell / off-mesh / raster) — the only dry gaps MeshProfileInterp may bridge across.

◆ chainage

double ProfileSection::Sample::chainage = 0.0

cumulative scene-unit distance from start (== map units).

◆ depthNow

double ProfileSection::Sample::depthNow = 0.0

current-frame water depth (m); 0 dry / off-surface / raster.

◆ ground

double ProfileSection::Sample::ground = 0.0

terrain Z; NaN when the sample falls off the surface.

◆ maxDepth

double ProfileSection::Sample::maxDepth = 0.0

max water depth over the loaded run (m); 0 dry / raster.

◆ scenePt

QPointF ProfileSection::Sample::scenePt

scene-space sample location (for per-frame re-sampling).

◆ triIdx

int ProfileSection::Sample::triIdx = -1

containing results-layer triangle; -1 off-mesh / raster.


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