How get spline overlapped

I haven’t used splines before, but this seems relevant: Spline line component collision?