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
meshprofilesampler.h
Go to the documentation of this file.
1
22#ifndef MESH_PROFILE_SAMPLER_H
23#define MESH_PROFILE_SAMPLER_H
24
25#include "plot/profilesection.h"
26
27#include <QPointF>
28#include <QVector>
29
30class SWMM2DMeshLayer;
32
34{
35
36// The cross-section value type is shared with the DEM-raster sampler
37// (RasterProfileSampler) so both feed the same MeshProfilePlotWidget chart.
38// These aliases keep every existing MeshProfileSampler::* call site valid.
42
46
58 SWMM2DResultsLayer *results,
59 const QVector<QPointF> &scenePolyline,
60 double stepHint = 0.0);
61
62} // namespace MeshProfileSampler
63
64#endif // MESH_PROFILE_SAMPLER_H
Definition swmm2dmeshlayer.h:64
Definition swmm2dresultslayer.h:550
Definition meshprofilesampler.h:34
constexpr int kMaxSamples
Definition meshprofilesampler.h:45
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.
Definition meshprofilesampler.cpp:42
constexpr int kMaxSamples
Definition profilesection.h:30
Definition meshcommands.h:302
The value type every longitudinal cross-section shares, regardless of which surface it was sampled fr...
A point where the traced line crosses a mesh-cell (triangle) edge. Plotted as a dot on the ground lin...
Definition profilesection.h:59
One point along the traced cross-section.
Definition profilesection.h:37
The assembled cross-section: ordered samples + a results flag.
Definition profilesection.h:70