![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Typedefs | |
| using | Sample = ProfileSection::Sample |
| using | CellCrossing = ProfileSection::CellCrossing |
| using | MeshProfile = ProfileSection::Section |
Functions | |
| MeshProfile | buildMeshProfile (SWMM2DMeshLayer *mesh, SWMM2DResultsLayer *results, const QVector< QPointF > &scenePolyline, double stepHint=0.0) |
Resample scenePolyline at fixed arc length and sample ground / depth / max-depth along it. | |
Variables | |
| constexpr int | kMaxSamples = ProfileSection::kMaxSamples |
| using MeshProfileSampler::CellCrossing = typedef ProfileSection::CellCrossing |
| using MeshProfileSampler::MeshProfile = typedef ProfileSection::Section |
| using MeshProfileSampler::Sample = typedef ProfileSection::Sample |
| MeshProfile MeshProfileSampler::buildMeshProfile | ( | SWMM2DMeshLayer * | mesh, |
| SWMM2DResultsLayer * | results, | ||
| const QVector< QPointF > & | scenePolyline, | ||
| double | stepHint = 0.0 |
||
| ) |
Resample scenePolyline at fixed arc length and sample ground / depth / max-depth along it.
| mesh | The mesh layer (ground elevation via sampleZAt). Required. |
| results | The results layer (depth + envelope). May be null — then only ground is populated and hasResults is false. |
| scenePolyline | Traced vertices in scene coords (sx = mapX, sy = -mapY). |
| stepHint | Optional fixed arc-length step (scene units). When ≤ 0 a characteristic cell size is derived from the mesh extent. |
|
inlineconstexpr |
Hard cap on sample count so a very long polyline can't blow up the per-frame resample / per-cell envelope work.