#include <GraphType.h>
Inheritance diagram for PlanarGraphEdge:
Public Member Functions | |
PlanarGraphEdge (int target, int cell1=-1, int cell2=-1) | |
Constructor for an edge. Argument t is a number of the target. | |
PlanarGraphEdge () | |
Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge. | |
PlanarGraphEdge | inverse (int origin) |
Invert an edge. | |
bool | operator< (const PlanarGraphEdge &e) const |
Check if one edge is less than the other. | |
bool | operator== (const PlanarGraphEdge &e) const |
Check if two edges equal. | |
bool | operator!= (const PlanarGraphEdge &e) const |
Check if two edges are not equal. | |
Public Attributes | |
int | theCell1 |
The left neighbor-cell of the edge. Numbering of cells starts from 0, -1 denotes the outer face. | |
int | theCell2 |
The right neighbor-cell of the edge. Numbering of cells starts from 0, -1 denotes the outer face. |
Definition at line 150 of file GraphType.h.
|
Constructor for an edge. Argument t is a number of the target.
Definition at line 154 of file GraphType.h. |
|
Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge.
Definition at line 158 of file GraphType.h. Referenced by inverse(). |
|
Invert an edge.
Reimplemented from GraphEdge. Reimplemented in PlanarGraphIntLabelledEdge. Definition at line 162 of file GraphType.h. References PlanarGraphEdge(), theCell1, and theCell2. |
|
Check if two edges are not equal.
Definition at line 180 of file GraphType.h. References theCell1, theCell2, and GraphEdge::theTarget. |
|
Check if one edge is less than the other.
Definition at line 166 of file GraphType.h. References theCell1, theCell2, and GraphEdge::theTarget. |
|
Check if two edges equal.
Definition at line 176 of file GraphType.h. References theCell1, theCell2, and GraphEdge::theTarget. |
|
The left neighbor-cell of the edge. Numbering of cells starts from 0, -1 denotes the outer face.
Definition at line 184 of file GraphType.h. Referenced by PlanarGraphIntLabelledEdge::inverse(), inverse(), PlanarGraphIntLabelledEdge::operator!=(), operator!=(), PlanarGraphIntLabelledEdge::operator<(), operator<(), PlanarGraphIntLabelledEdge::operator==(), and operator==(). |
|
The right neighbor-cell of the edge. Numbering of cells starts from 0, -1 denotes the outer face.
Definition at line 188 of file GraphType.h. Referenced by PlanarGraphIntLabelledEdge::inverse(), inverse(), PlanarGraphIntLabelledEdge::operator!=(), operator!=(), PlanarGraphIntLabelledEdge::operator<(), operator<(), PlanarGraphIntLabelledEdge::operator==(), and operator==(). |