Spline intersections

Hi,

For my road tool i need to get all intersections of splines on x-y and calculate the z distance. I have been investigating algorithms but have not found any good example for the spline unreal engine is using.

Does anyone knows about spline algorithms and know where i have to look for?