VPTissue Reference Manual
|
An Edge connects two nodes and is ambidextrous. More...
#include <Edge.h>
Public Member Functions | |
Edge (Node *f=nullptr, Node *s=nullptr) | |
Construct edge using two node pointers. | |
Node * | GetFirst () const |
Get the first node of the edge. | |
Node * | GetSecond () const |
Get the second node of the edge. | |
bool | IsFixed () const |
Query whether edge is fixed. | |
bool | operator== (const Edge &e) const |
Ambidextrous equivalence. | |
std::ostream & | Print (std::ostream &os) const |
Insert the edge in an output stream. | |