15#ifndef OPENSWMMVIS_MESH_MESHNODEMAPPER_H
16#define OPENSWMMVIS_MESH_MESHNODEMAPPER_H
66 const QVector<QPair<QString, QPointF>> &
nodes,
68 bool preserveExisting =
true);
Definition meshcommands.h:302
constexpr double kCellCouplingDefaultCd
Definition meshnodemapper.h:32
constexpr double kCellCouplingDefaultArea
mesh length units²
Definition meshnodemapper.h:33
NodeMapResult mapNodesToMesh(const MeshResult &mesh, const QVector< QPair< QString, QPointF > > &nodes, double tol=-1.0, bool preserveExisting=true)
Map SWMM nodes onto an existing mesh.
Definition meshnodemapper.cpp:50
QVector< int > nodes
Definition profilerouter.cpp:36
Result of MeshGenerator::generate.
Definition meshresult.h:116
Result of mapNodesToMesh.
Definition meshnodemapper.h:37
QStringList skippedExisting
Nodes already coupled (preserved).
Definition meshnodemapper.h:41
int sharedCells
Cells receiving > 1 new node.
Definition meshnodemapper.h:42
QVector< CellCoupling > cellMatches
Node → containing cell rows.
Definition meshnodemapper.h:39
QHash< int, QString > vertexMatches
vertexIdx → node id (coincident).
Definition meshnodemapper.h:38
QStringList unmatched
Nodes outside the mesh.
Definition meshnodemapper.h:40