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
21
namespace
mesh
22
{
23
34
inline
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
mesh
Definition
meshcommands.h:38
mesh::edgeKey
QPair< int, int > edgeKey(int a, int b) noexcept
Normalize two endpoint identifiers into an undirected ordered key.
Definition
meshedgekey.h:34
a
double a
Definition
terrainerrorfield.cpp:42
b
double b
Definition
terrainerrorfield.cpp:42
libraries
meshkit
include
mesh
meshedgekey.h
Generated by
1.9.8