I have a dataset of two lines and I want to calculate the average distance between them. I can use the NeighborFinder to get the closest distance between these two lines. (As you can see on the image the closest distance could only be an outlier.)
But I want to know how far they are from each other in average as these two lines are almost parallel. Is this possible to calculate ?





On line A use the iterative snipper and split into X number of lines. then extract the first coordinate and use those as the origins in the Rotator. Rotate the line 90 degrees. These lines (we'll them 'C') are now perpendicular to line A.
Now extend C a suitable distance to be sure they intersect both lines A and B.
now calculate the length of the cut C segments and use a StatisticsCalculator to get the average length of all the C lines.