Class to construct a list of edges having some common properties. More...
Public Member Functions | |
EdgeList (Mesh &ms) | |
Constructor using a Mesh instance. | |
~EdgeList () | |
Destructor. | |
void | selectCode (int code, int dof=1) |
Select edges having a given code for a given degree of freedom. More... | |
void | unselectCode (int code, int dof=1) |
Unselect edges having a given code for a given degree of freedom. More... | |
size_t | getNbEdges () const |
Return number of selected edges. | |
void | top () |
Reset list of edges at its top position (Non constant version) | |
void | top () const |
Reset list of edges at its top position (Constant version) | |
Edge * | get () |
Return pointer to current edge and move to next one (Non constant version) | |
Edge * | get () const |
Return pointer to current edge and move to next one (Constant version) | |
Class to construct a list of edges having some common properties.
This class enables choosing multiple selection criteria by using function select...
However, the intersection of these properties must be empty.
void selectCode | ( | int | code, |
int | dof = 1 |
||
) |
Select edges having a given code for a given degree of freedom.
[in] | code | Code that edges share |
[in] | dof | Degree of Freedom label [Default: 1 ] |
void unselectCode | ( | int | code, |
int | dof = 1 |
||
) |
Unselect edges having a given code for a given degree of freedom.
[in] | code | Code of edges to exclude |
[in] | dof | Degree of Freedom label [Default: 1 ] |