User Tools

Site Tools


hyperfun:lib_bezier

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: 2020/12/31 10:49 (external edit)