Flow123d  JS_before_hm-989-g79825ac
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Edge Class Reference

#include <accessors.hh>

Collaboration diagram for Edge:
Collaboration graph
[legend]

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 EdgeDataedge_data () const
 Getter for edge data from mesh. More...
 

Private Attributes

const Meshmesh_
 Pointer to the mesh owning the node. More...
 
unsigned int edge_idx_
 Index into Mesh::edges vector. More...
 

Detailed Description

Definition at line 265 of file accessors.hh.

Constructor & Destructor Documentation

Edge::Edge ( )
inline

Default invalid edge accessor constructor.

Definition at line 175 of file accessors_impl.hh.

Edge::Edge ( const Mesh mesh,
unsigned int  edge_idx 
)
inline

Valid edge accessor constructor.

Definition at line 180 of file accessors_impl.hh.

Member Function Documentation

const EdgeData * Edge::edge_data ( ) const
inlineprivate

Getter for edge data from mesh.

Definition at line 185 of file accessors_impl.hh.

Here is the caller graph for this function:

unsigned int Edge::idx ( ) const
inline

Returns edge global index.

Definition at line 283 of file accessors.hh.

void Edge::inc ( )
inline

Incremental function of the Edge iterator.

Definition at line 289 of file accessors.hh.

bool Edge::is_valid ( ) const
inline

Definition at line 279 of file accessors.hh.

Here is the caller graph for this function:

unsigned int Edge::n_sides ( ) const
inline

Returns number of sides aligned with the edge.

Definition at line 300 of file accessors.hh.

Here is the caller graph for this function:

bool Edge::operator== ( const Edge other) const
inline

Comparison operator of the iterator.

Definition at line 295 of file accessors.hh.

SideIter Edge::side ( const unsigned int  i) const
inline

Gets side iterator of the i -th side.

Definition at line 192 of file accessors_impl.hh.

Here is the caller graph for this function:

Member Data Documentation

unsigned int Edge::edge_idx_
private

Index into Mesh::edges vector.

Definition at line 307 of file accessors.hh.

const Mesh* Edge::mesh_
private

Pointer to the mesh owning the node.

Definition at line 305 of file accessors.hh.


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