![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Pure-logic sampler that turns a user-traced polyline over a DEM raster into a longitudinal cross-section: cumulative chainage + ground elevation at evenly-spaced samples along the path. More...
Go to the source code of this file.
Namespaces | |
| namespace | RasterProfileSampler |
Functions | |
| ProfileSection::Section | RasterProfileSampler::buildRasterProfile (const QString &rasterPath, int band, const SpatialReferenceSystem *canvasSRS, const QVector< QPointF > &scenePolyline, double vertFactor=1.0, double stepHint=0.0) |
Resample scenePolyline at fixed arc length and sample the DEM at each point. | |
Pure-logic sampler that turns a user-traced polyline over a DEM raster into a longitudinal cross-section: cumulative chainage + ground elevation at evenly-spaced samples along the path.
The raster peer of MeshProfileSampler — same walk-the-polyline, emit-a-sample-every-step shape, same ProfileSection::Section output, so the traced DEM profile renders in the same MeshProfilePlotWidget. Differences from the mesh path:
crossings is empty, so the chart draws ground + soil only.