C++ code for spline curves
Handles generic dimensions 2D, 3D etc. with templates - 05/2013 - #Geometry
Dropping on [ github C++ code to compute B-spline curves ] of arbitrary dimensions 3D curves or 2D splines anything is possible. The class can be instantiated with any point type (1d (float), 2d, 3d etc.) as long as the appropriate operator overload are implemented. This class use the efficient blossom algorithm to compute a position on the curve.
Reference
- Primer on B-Splines (with interactive widgets)
- Dr. C.-K. Shene course on curves
- B-spline slides
- Pr. Loic Barthe slides on Bézier and B-Splines (French) (raw file)
- Original article on Blossoming: Blossoming: a connect the dots approach to splines [Lyle Ramshaw 1987]
- BlossomingTutorial.pdf
- De boor's algorithm video illustration
One comment
merci
denis - 14/01/2020 -- 15:46—————-
Rodolphe: my pleasure :)