OpenWalnut
1.5.0dev
|
A helper class that is used to store edges as pairs of vertex indices. More...
#include <WGeometryFunctions.h>
Public Member Functions | |
Edge (unsigned int i, unsigned int j) | |
Constructor that sorts the input indices. More... | |
bool | operator< (Edge const &e) const |
Compare two edges. More... | |
bool | operator== (Edge const &e) const |
Compare two edges for equality. More... | |
A helper class that is used to store edges as pairs of vertex indices.
The indices are sorted.
Definition at line 42 of file WGeometryFunctions.h.
|
inline |
Constructor that sorts the input indices.
i | the first index. |
j | The second index. |
Definition at line 51 of file WGeometryFunctions.h.
|
inline |
Compare two edges.
This operator defines a weak ordering on the edges.
e | The edge to compare to. |
Definition at line 62 of file WGeometryFunctions.h.
|
inline |
Compare two edges for equality.
e | The edge to compare to. |
Definition at line 73 of file WGeometryFunctions.h.