Marcel Steinbeck
Marcel Steinbeck
Unlike `sample`, a `toLines` must respect discontinuity. Instead of passing the number of desired points (like in `sample`), it might be easier to pass the maximum distance between two knots.
https://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/INT-APP/CURVE-INT-global.html provides code describing the interpolation of B-Splines with given degree. https://people.sc.fsu.edu/~jburkardt/c_src/superlu/superlu.html provides a linear solver implemented in ANSI C
Hi @Mortal. I never heard of "splinegons"---nice to know. Interpolation of closed splines is something I really would like to address. So, yes, I do have plans to implement it....
It looks like using the Thomas algorithm will not be applicable for closed spline interpolation.Though having a tridiagonal matrix given in [dd_splines.pdf, page DD 16](http://www.math.ucla.edu/%7Ebaker/149.1.02w/handouts/dd_splines.pdf), I can't find a way...
Currently implemented are: - cubic natural - catmull rom Missing: - cubic clamped (given out and in vectors) - cubic periodic as proposed by @Mortal (requires gauß elimination with partial...
Hi @liufeijin, the functions you listed look quite useful. I will consider to add them to TinySpline. Thanks!
s1364 and s1363 have been implemented.
s1240 is now available with [sample](https://github.com/msteinbeck/tinyspline/blob/master/src/tinyspline.h#L1103).
Could you provide test cases for S1850, S1241, and S1243 so that I know what you are expecting?
Hi @liufeijin, I already did some research. Function S1850 should be straight-forward. The other two functions are more complex. I'm not sure when I'll find the time to work on...