Representation of three vertex indices, eg a triangle. More...
#include <mmn_triplet.h>
Public Member Functions | |
mmn_triplet () | |
mmn_triplet (unsigned i1, unsigned i2, unsigned i3) | |
unsigned | min_v () const |
Return smallest node index. | |
unsigned | mid_v () const |
Return middle node index. | |
unsigned | max_v () const |
Return largest node index. | |
Public Attributes | |
unsigned | v1 |
unsigned | v2 |
unsigned | v3 |
Representation of three vertex indices, eg a triangle.
For comparison, order not important.
Definition at line 15 of file mmn_triplet.h.
mmn_triplet::mmn_triplet | ( | ) | [inline] |
Definition at line 20 of file mmn_triplet.h.
mmn_triplet::mmn_triplet | ( | unsigned | i1, |
unsigned | i2, | ||
unsigned | i3 | ||
) | [inline] |
Definition at line 21 of file mmn_triplet.h.
unsigned mmn_triplet::max_v | ( | ) | const [inline] |
Return largest node index.
Definition at line 44 of file mmn_triplet.h.
unsigned mmn_triplet::mid_v | ( | ) | const [inline] |
Return middle node index.
Definition at line 32 of file mmn_triplet.h.
unsigned mmn_triplet::min_v | ( | ) | const [inline] |
Return smallest node index.
Definition at line 25 of file mmn_triplet.h.
unsigned mmn_triplet::v1 |
Definition at line 18 of file mmn_triplet.h.
unsigned mmn_triplet::v2 |
Definition at line 18 of file mmn_triplet.h.
unsigned mmn_triplet::v3 |
Definition at line 18 of file mmn_triplet.h.