You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to pass points with 4 dimensions of informations, such as points in 3-dimensional space and a velocity at the control points. Is it possible to interpolate all 4 dimensions, and are there priorities set by the algorithm?
Best regards,
Renato
The text was updated successfully, but these errors were encountered:
I think you should be able to interpolate the desired function by setting up your control point array as follows: [x0, y0, z0, v0, x1, y1, z1, v1, ..., xn, yn, zn, vn] with x, y, z being a coordinate in 3D and v being the corresponding velocity. Pass the array to ts_bspline_interpolate and see what happens :) (in this example dim has to be 4 and n the length of your array.). However, since v simply is another kind of dimension, ts_bspline_interpolateshould give you a valid result, though, I'm not entirely sure.
I have to mention that, currently, ts_bspline_interpolate always creates natural splines (should fit your case). Further types will be add in future, see #39.
Hey Marcel
Just a small question =)
I'd like to pass points with 4 dimensions of informations, such as points in 3-dimensional space and a velocity at the control points. Is it possible to interpolate all 4 dimensions, and are there priorities set by the algorithm?
Best regards,
Renato
The text was updated successfully, but these errors were encountered: