Draw a curved line between two random points?

Is there a way I can hook the sphere trace up to properly match the spline without running a whole bunch of extra times?