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