Represents an edge connecting two vertices in a graph.
The following tables list the members exposed by the Edge type.
Name | Description | |
---|---|---|
Initializes a new instance of the Edge class. |
Name | Description | |
---|---|---|
The destination vertex. |
||
The origin vertex. |
Name | Description | |
---|---|---|
Checks if the current edge is adjacent to the specified edge, that is, they have common vertex. |
||
Changes the destination of the current edge to the specified vertex. |
||
Changes the origin of the current edge to the specified vertex. |
||
Creates a new edge similar to the current edge but with reversed direction. |
||
Returns a common vertex for the current edge and the specified edge. |
||
Returns an array containing the origin and destination vertices of this edge. |
||
Returns the vertex connected by this edge that is not the specified vertex. |
||
Checks if the current edge is incident with the specified vertex. |
||
Checks if the current edge connects the specified vertices. |
||
Reverses this edge. |