getLeftSegment and getNearestSegment functions
change demo
change demo
Merge pull request #7 from xnimorz/master

new functions