I need to compare distances from a common point to the closest corresponding point on an attractor curve

unhandled

#1

I have a divided surface with the center points of each division. I have taken those center points and found the closest point on two attractor curves. Now, I’m looking for a way to find the shortest curve between the common point on the cylindrical surface and the closest point on the attractor curve. To make it fully parametric, I have it set up where there can be more than one attractor curve, so I’ll need to find the shortest distance among more than two values.2018.04.23_mcneel_forum.gh (127.4 KB)


#2

Check these two methods which will yield the same result…

2018.04.23_mcneel_forum_re.gh (134.5 KB)