Primitive: Bézier spline object [Schmitt, Pasko, and Savchenko 1999]

Definition: Object defined by F>=0, where F is a Bezier spline function of three variables
F(u,v,w) = sum{i=0}{l}{}sum{j=0}{n}{}sum{k=0}{m}{}B_i(u)B_j(v)B_k(w)P_{ijk}
P_{ijk} - Control points of the Bézier volume. Only the fourth coordinnate is used

Call: hfBezierSplineF(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: bezierf.hf

hyperfun/lib_bezier.txt · Last modified: 2009/04/15 02:02 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