#include <mesh.h>
Public Member Functions | |
Edge (Node *node1_pt, Node *node2_pt) | |
Constructor: Pass in the two vertex nodes. More... | |
Node * | node1_pt () const |
Access to the first vertex node. More... | |
Node * | node2_pt () const |
Access to the second vertex node. More... | |
bool | operator== (const Edge &other) const |
Comparison operator. More... | |
bool | operator< (const Edge &other) const |
Less-than operator. More... | |
bool | is_on_boundary () const |
Test whether the Edge lies on a boundary. Relatively simple test, based on both vertices lying on (some) boundary. More... | |
bool | is_boundary_edge () const |
Test whether the Edge is a boundary edge, i.e. does it connnect two boundary nodes? More... | |
Private Attributes | |
Node * | Node1_pt |
First vertex node. More... | |
Node * | Node2_pt |
Second vertex node. More... | |
|
inline |
|
inline |
|
inline |
Access to the first vertex node.
Definition at line 2398 of file mesh.h.
Referenced by operator<(), and operator==().
|
inline |
Access to the second vertex node.
Definition at line 2401 of file mesh.h.
Referenced by operator<(), and operator==().
|
inline |
|
inline |