Returns an edge that goes next after pEdge in the edges array of the current B-Rep.
Returns first edge in the array if pEdge is null or the last in the edges array.