![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include <QLineF>#include <QMultiHash>#include <QPolygonF>#include <QVector>#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | OpenSWMM |
| namespace | OpenSWMM::Contour |
Functions | |
| QVector< QPolygonF > | OpenSWMM::Contour::chainIsoSegments (const QVector< QLineF > &segs, double quantum) |
| Chain unordered iso-line segments into polylines. | |
VS.8 — chain unordered marching-triangles segments of ONE iso-level into polylines by matching quantised endpoints. The result drives along-line label placement (one label every N screen pixels). Shared by the QPainter isoline pass (SWMM2DResultsGraphicsItem) and the QSG renderer (SWMM2DResultsQSGRenderer).