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
contourchain.h File Reference
#include <QLineF>
#include <QMultiHash>
#include <QPolygonF>
#include <QVector>
#include <cmath>
Include dependency graph for contourchain.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

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).