Gives the shortest distance between an event and a set of segments.
PointToSegment(obj)
obj
distance vector to each segment
Useful links