Returns the edge at the given index. index should be less than length of the path.
See Implementation
Returns the edge at the given index. index should be less than length of the path.