Flow123d
JS_before_hm-1755-g6249b9fc1
|
#include <accessors.hh>
Public Member Functions | |
Edge () | |
Default invalid edge accessor constructor. More... | |
Edge (const Mesh *mesh, unsigned int edge_idx) | |
Valid edge accessor constructor. More... | |
SideIter | side (const unsigned int i) const |
Gets side iterator of the i -th side. More... | |
bool | is_valid () const |
unsigned int | idx () const |
Returns edge global index. More... | |
void | inc () |
Incremental function of the Edge iterator. More... | |
bool | operator== (const Edge &other) const |
Comparison operator of the iterator. More... | |
unsigned int | n_sides () const |
Returns number of sides aligned with the edge. More... | |
Private Member Functions | |
const EdgeData * | edge_data () const |
Getter for edge data from mesh. More... | |
Private Attributes | |
const Mesh * | mesh_ |
Pointer to the mesh owning the node. More... | |
unsigned int | edge_idx_ |
Index into Mesh::edges vector. More... | |
Definition at line 265 of file accessors.hh.
|
inline |
Default invalid edge accessor constructor.
Definition at line 175 of file accessors_impl.hh.
|
inline |
Valid edge accessor constructor.
Definition at line 180 of file accessors_impl.hh.
|
inlineprivate |
Getter for edge data from mesh.
Definition at line 185 of file accessors_impl.hh.
|
inline |
Returns edge global index.
Definition at line 283 of file accessors.hh.
|
inline |
Incremental function of the Edge iterator.
Definition at line 289 of file accessors.hh.
|
inline |
|
inline |
Returns number of sides aligned with the edge.
Definition at line 300 of file accessors.hh.
|
inline |
Comparison operator of the iterator.
Definition at line 295 of file accessors.hh.
|
inline |
Gets side iterator of the i
-th side.
Definition at line 192 of file accessors_impl.hh.
|
private |
Index into Mesh::edges vector.
Definition at line 307 of file accessors.hh.
|
private |
Pointer to the mesh owning the node.
Definition at line 305 of file accessors.hh.