I'm trying to fit a cloud of (x,y,z) data points with a surface. For now, I'm using toxiclib's Spline3D. I'm defining a fixed amount of control points as the weighted average of the nearest data points.
The problem I still have is evaluating the Spline3D function. I'm able to get the spline vertices, but is there any way to evaluate the spline function built from the control points with a specific (x,y) coordinate?