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: 2009/04/15 02:04 by ap
This site contains HyperFun and other software that is free to use and modify under the provisions of the CGPL agreement unless otherwise stated.
Project hosted by the Digital Materialization Group
HyperFun CGPL Creative Commons License Valid CSS