Public Member Functions | Public Attributes
mmn_triplet Class Reference

Representation of three vertex indices, eg a triangle. More...

#include <mmn_triplet.h>

List of all members.

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

Detailed Description

Representation of three vertex indices, eg a triangle.

For comparison, order not important.

Definition at line 15 of file mmn_triplet.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file: