int
    SharedEdge 
            (        
)
    
    Returns the edge which is shared with other. 
    If there is no shared edge between the two nodes, then -1 is returned.
The vertices in the edge can be retrieved using var edge = node.SharedEdge(other);
var a = node.GetVertex(edge);
var b = node.GetVertex((edge+1) % node.GetVertexCount());
SeeGetPortal which also handles edges that are shared over tile borders and some types of node links