#include <meshImport3D.hh>
Public Member Functions | |
void | sort_ () |
Index (const uint n0) | |
Index (const uint n0, const uint n1) | |
Index (const uint n0, const uint n1, const uint n2) | |
Constructor for use in a triangle. | |
Index (const uint n0, const uint n1, const uint n2, const uint n3) | |
Constructor for use in a quad. | |
Index (const Index &i) | |
Copy constructor. | |
uint | size () const |
Returns number of entries in n_ . | |
uint | operator[] (const uint i) const |
Returns the ith entry of n_ . | |
uint & | operator[] (const uint i) |
Returns the ith entry of n_ . | |
bool | operator< (const concepts::Index &y) const |
< operator for | |
bool | operator== (const concepts::Index &y) const |
== operator | |
Public Attributes | |
Array< uint > | n_ |
Stores the data. | |
Stores a number of indices in a ordered fashion. The first index is the smallest, the rest of the indices keep their siblings.
Definition at line 23 of file meshImport3D.hh.
|
inline |
Copy constructor.
Definition at line 42 of file meshImport3D.hh.
Returns the ith entry of n_
.
Definition at line 48 of file meshImport3D.hh.
Returns the ith entry of n_
.
Definition at line 46 of file meshImport3D.hh.
|
inline |
Returns number of entries in n_
.
Definition at line 44 of file meshImport3D.hh.
void concepts::Index::sort_ | ( | ) |
Sorts the data somewhat. This routine is called by the constructor. The smallest entry in the data given to the constructor is stored as the first entry of n_
. The rest of the data is order in the following way: the entry on the left or on the right (depending on which is the smaller) fixes the orientation in which the rest of the entries are stored into n_
.
Stores the data.
Definition at line 25 of file meshImport3D.hh.