Select Edge (calculating distance betweem a point and an edge).