Match Curve

Hey all.

I have a base curve and a target spiral curve in grasshopper. What I want to do is to find out which segment of the target curve is the most compatible segment with the base curve. So in other words, I am trying to find the compatibility of two curves. Does anyone know how can I find/measure the compatibility between two curves?

I know that there was a “Match Curve” component in Rhino5 but now I’m using Rhino6 and there isn’t such component in my grasshopper. If anyone knows how was that component working (i.e. what were the criteria for that component to match curves together) that might be helpful as well. This is the link of that old component which is not there anymore:
https://rhino.github.io/components/curve/matchCurve.html