Hallo guys! There is an easy way to calculate the X value of a spline, given the Y?
Let’s say, as I would calculate x=f(y)
(the pic here is just to show thast I need the interesction between the white Spline and the green line)

It compares two options for sampling bezier splines (not b-splines though). ArcLength is probably what you’d use if you can also use beziersplines instead of b-splines.

This is actually not so easy to achieve. Also there can be multiple solutions as a spline might not yield a single y for a given x or vice versa.

I remember an iterative solution to this, an algorithm that just tries to get very close to the solution with a maximum error delta, so it will just try to approximate the solution and check in every given step how far it is still off, I think.

Woei shared a website with me once explaining this quite well, let me check if I can find it tomorrow

I was a bit faster than I thought, it’s called De Casteljau algorithm and I think it was this website. You might find implementations of it somewhere in C# probably, also it would be nice to patch it in VL