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
seriespairing.h File Reference

Timestep nearest-match sample pairing for the Comparison Plot's 1v1 scatter column. More...

#include <vector>
Include dependency graph for seriespairing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openswmmvis::plot::PairedSamples
 Paired (x, y) sample values produced by pairSamplesNearest. More...
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::plot
 

Functions

PairedSamples openswmmvis::plot::pairSamplesNearest (const std::vector< double > &bt, const std::vector< double > &bv, const std::vector< double > &ct, const std::vector< double > &cv)
 Pair two time series by nearest timestamp.
 

Detailed Description

Timestep nearest-match sample pairing for the Comparison Plot's 1v1 scatter column.

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

Extracted from ComparisonPlotDialog::rebuildCharts so the pairing walk is unit-testable (the dialog itself can't link into the self-contained GUI tests). Pure function — no Qt widget dependencies.