Original Post
Hello, I would like to ask how to calculate the closest/nearest segment to another segment. If we suppose that we have 3 segments, A1-B1, A2-B2, A3-B3. I need to get the closest segment to A1-B1. Is it simply the segment having the minimun distance to A1-B1 where distance= distance(A1,Ai)+distance(B1, Bi) for i=2,3 ? Thanks a lot, -Fadi