OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Edge class for Delaunay triangulation. More...
#include <edge2d.h>
Public Member Functions | |
Edge2D (int node1, int node2) | |
Constructor. More... | |
virtual | ~Edge2D () |
Destructor. More... | |
int | giveFirstNodeNumber () |
Gives the number of the first node. More... | |
int | giveSecondNodeNumber () |
Gives the number of the second node. More... | |
virtual bool | operator== (const Edge2D &right) |
Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise. More... | |
Private Attributes | |
std::pair< int, int > | nodeNumbers |
Global node numbers. More... | |
|
inline |
|
inline |
Gives the number of the second node.
Definition at line 63 of file edge2d.h.
References operator==().
|
virtual |
Compares receiver with passed Edge2D. Returns true if node numbers are equal, false otherwise.
Definition at line 47 of file edge2d.C.
References nodeNumbers.
Referenced by giveSecondNodeNumber().
|
private |