User Tools

Site Tools


hyperfun:lib_cubicspline

Primitive: Cubic B-spline object [Schmitt et al. 2000]

Definition: Object defined by F>=0, where F is a B-spline function of three variables
F(u,v,w) = sum{i=0}{l}{}sum{j=0}{n}{}sum{k=0}{m}{}N_i(u)N_j(v)N_k(w)P_{ijk}
P_{ijk} - Control points of the cubic B-spline volume. Only the fourth coordinnate is used
N_i(u) : Cubic BSpline blending function.

Call: hfCubicBSplineF(x,l,m,n,bbox,ctr_pts);

Parameters:

x - point coordinates

l,m,n - number of control points on each axis

bbox - array defining the bounding box of the object

ctr_pts - array of values for each control point

Test file: bsplinef.hf

hyperfun/lib_cubicspline.txt ยท Last modified: 2020/12/31 10:49 (external edit)