Struct Connection
Public
Represents a connection to another node.
Public Methods
Connection
(node, cost, shapeEdgeInfo)
Public
Connection
(node, cost, isOutgoing, isIncoming)
Public
Equals
(obj)
Public
GetHashCode
()
Public
Public Static Methods
PackShapeEdgeInfo
(isOutgoing, isIncoming)
Public
Static
PackShapeEdgeInfo
(shapeEdge, adjacentShapeEdge, areEdgesIdentical, isOutgoing, isIncoming)
Public
Static
Public Variables
adjacentShapeEdge
The edge of the shape in the other node, which this connection represents.
Public
cost
Cost of moving along this connection.
Public
edgesAreIdentical
True if the two nodes share an identical edge.
Public
isEdgeShared
True if the two nodes share an edge.
isIncoming
True if the connection allows movement from the other node to this node.
Public
isOutgoing
True if the connection allows movement from this node to the other node.
Public
node
Node which this connection goes to.
Public
shapeEdge
The edge of the shape which this connection uses.
Public
shapeEdgeInfo
Various metadata about the connection, such as the side of the node shape which this connection uses.
Public
Public Static Variables
IdenticalEdge
Public
Static
IncomingConnection
Public
Static
NoSharedEdge
OutgoingConnection
Public
Static