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
meshedgekey.h
Go to the documentation of this file.
1
16#ifndef OPENSWMMVIS_MESH_MESHEDGEKEY_H
17#define OPENSWMMVIS_MESH_MESHEDGEKEY_H
18
19#include <QPair>
20
21namespace mesh
22{
23
34inline QPair<int, int> edgeKey(int a, int b) noexcept
35{
36 return a < b ? qMakePair(a, b) : qMakePair(b, a);
37}
38
39} // namespace mesh
40
41#endif // OPENSWMMVIS_MESH_MESHEDGEKEY_H
Definition meshcommands.h:38
QPair< int, int > edgeKey(int a, int b) noexcept
Normalize two endpoint identifiers into an undirected ordered key.
Definition meshedgekey.h:34
double a
Definition terrainerrorfield.cpp:42
double b
Definition terrainerrorfield.cpp:42