| De Boor Algorithm |
Article Index for De |
Information AboutDe Boor Algorithm |
|
INTRODUCTION The general setting is as follows. We would like to construct a curve passing through a sequence of ''p'' points . The curve can be described as a function of one parameter ''x''. To pass through the sequence of points, the curve must satisfy . We assume that ''u0, ..., up-1'' are given to us along with . This problem is called Interpolation . One approach to solving this problem is by Spline s. A spline is a curve that is piecewise ''nth'' degree polynomial. This means that, on any interval '' De Boor algorithm is an algorithm which, given ''u0, ..., up-1'' and , finds the value of spline curve at a point ''x''. It uses O (n2) operations. Notice that the running time of the algorithm depends only on degree ''n'' and not on the number of points ''p''. OUTLINE OF THE ALGORITHM Suppose we want to evaluate the spline curve for a parameter value . We can express the curve as : where and Due to the spline locality property, : So the value is determined by the controlpoints ; the other control points have no influence. De Boor's algorithm, described in the next section, is a procedure which efficiently evaluates the expression for . THE ALGORITHM Suppose and for ''i = l-n, ..., l''. Now calculate : with : Then . |
|
|