other_end#

ToTEdge.other_end(node: ToTNode)#

Return the node contained in this edge that is not equal to the given node.

Parameters#

nodeToTNode

One of the nodes of this edge. The other node of this edge is returned.

Returns#

ToTNode

The node incident to this edge that is not equal to the given node.