Skip to main content

Module b_spline

Module b_spline 

Source
Expand description

Interpolating tricubic B-spline on a uniform 3D grid.

Structs§

BSpline3D
Cubic B-spline s(u) = Σ c_k B₃(u - k) through the samples, with natural end conditions (zero second derivative, equivalent to the natural cubic spline along each axis). Coefficients are found by solving a tridiagonal system along each axis; the surface is C² and each evaluation touches a 4×4×4 coefficient block.