I'm looking to perform multiple functions. I have multiple pairs of coordinates, each with a start and end, where a line is set between them. Lines are set in roughly parallel positions to each other in groups of 5 (10 points and 5 lines). I would like to take the following steps:
1: For each coordinate pair, set a new coordinate point, at some distance between the two (such at half way).
2: For each new coordinate, determine the nearest distance to the next line in the group (not the next new coordinate as lines are different lengths).
In other words, there are 5 plotted lines. For line 1, go up halfway and report the distance to the closest point along line 2. Repeat for lines 2-4.
All help is much appreciated.