
156 Applied Geometry for Computer Graphics and CAD
Finally, Exercise 6.28 (with k =0)andthefactthatB
i,j
(α) = 0 whenever
i>j,gives
B
left
(t)=
n
j=0
j
i=0
b
i
B
i,j
(α)
B
j,n
(t)=
n
j=0
b
j
0
B
j,n
(t) .
Therefore the segment is defined by control points b
j
0
(j =0,...,n)overthe
interval [0, 1] as required.
The result for B
right
follows from an application of the symmetry property
as follows. Substitute t for 1 −t which maps the interval [α, 1] onto the interval
[0, 1 −α]. Apply the result for B
left
with the control points in the reverse order
and with 1 − α in place of α.
EXERCISES
6.32. A cubic B´ezier curve B(t) is given by the four control points
b
0
(0.2, 0.0), b
1
(1.0, 0.4), b
2
(1.8, 1.2), and b
3
(3.4, 0.0).
(a) Use the de Casteljau algorithm to evaluate the point B(0.25).
(b) Use the triangular array of points evaluated in part (a) to write
down the sets of control points, defining the segments B
left
and
B
right
, that are obtained when B(t) is subdivided at t =0.25.
6.33. Plot the curves B(t), B
left
(t), and B
right
(t) obtained in Example 6.12
and verify that the union of the two segments is equal to the original
curve.
6.34. A B´ezier curve B(t) is given by the four control points b
0
(0.3, 0.1),
b
1
(0.9, 0.6), b
2
(1.3, −0.1), b
3
(0.7, −0.4).
(a) Use the de Casteljau algorithm to evaluate the point B(1/3).
(b) Write down the control points defining B
left
and B
right
obtained
by subdividing B(t)att =1/3.
6.35. Determine the number of additions and multiplications that are re-
quired to compute the coordinates of one point of a cubic B´ezier
curve by (a) using the de Casteljau algorithm, (b) evaluating the
equation of B(t) (assume that the value of 1 − t is computed just
once). Repeat the calculation for a quartic B´ezier curve. Deduce the
number of additions and multiplications that are required for a gen-
eral B´ezier curve. Is the de Casteljau algorithm the most efficient
method of computing a point?