![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Canvas map tool that traces a free-form polyline across the 2D mesh to define a longitudinal profile cross-section. More...
#include "map/tools/maptool.h"#include <QPoint>#include <QPointF>#include <QString>#include <QVector>Go to the source code of this file.
Classes | |
| class | MapToolMeshProfile |
Canvas map tool that traces a free-form polyline across the 2D mesh to define a longitudinal profile cross-section.
Purely geometric — it captures a scene polyline and emits it; it never touches a layer. So it is also the capture tool for the terrain-toolbar DEM profile (SWMMVisProjectWindow::activateTerrainProfileTool), which routes the same polyline to RasterProfileSampler instead of MeshProfileSampler.
Behaviour (mirrors MapToolPick2DCells's lasso idiom):
profilePathTraced with the vertices in scene coords (sx = mapX, sy = -mapY — the layer convention consumed directly by SWMM2DMeshLayer::sampleZAt / SWMM2DResultsLayer::pickCellAt).