
184 Applied Geometry for Computer Graphics and CAD
EXERCISES
7.21. Apply the rational de Casteljau algorithm to the cubic curve with
control points b
0
(3, 2), b
1
(7, 6), b
2
(5, 3), b
3
(3, 0) and weights
w
0
=2,w
1
=3,w
2
=5,w
3
= 1 to determine (a) the point B(0.6),
and (b) the control points of the two B´ezier curve segments obtained
following a subdivision at the point B(0.6).
7.22. A rational B´ezier curve B(t) with w
0
=0andw
n
=0canbe
reparametrized to give a rational B´ezier curve for which w
0
= w
n
=
1. Prove this by (a) dividing the denominator and numerator of B(t)
by w
0
to give a rational curve with w
0
= 1, and (b) verifying that
the transformation
t = t
1
/(a +(1− a)t
1
) , (1 − t)=a(1 − t
1
)/(a +(1− a)t
1
) ,
where a =
n
√
w
n
, yields a new rational curve in the variable t
1
with
w
0
= w
n
=1.
7.23. Implement the rational de Casteljau algorithm and the operation of
projecting a rational B´ezier curve.
7.24. Compute the control points and weights of the image of the ratio-
nal B´ezier curve with control points (1, 2, −1), (3, 5, 4), (−1, 3, 3),
(0, 1, 2), and weights 2, 1/2, 4, 3, when projected from the point
(9, 7, 5) onto the plane 3x +3y + 12 = 0. Assume that the view-
plane coordinate system has origin (−4, 0, 0), and that the X-and
Y -axes have directions (−1, 1, 0) and (0, 0, 1) respectively.
7.25. Show that the application of a projective transformation M =(m
ij
)
of an integral B´ezier curve with control points b
i
=(x
i
,y
i
,z
i
) yields
a rational B´ezier curve with control points
c
i
=(c
i,1
/w
i
,c
i,2
/w
i
,c
i,3
/w
i
) ,
and weights w
i
,wherec
i,j
= x
i
m
1j
+ y
i
m
2j
+ z
i
m
3j
+ m
4j
and w
i
=
x
i
m
14
+y
i
m
24
+z
i
m
34
+m
44
. Using the notation of Theorem 4.5, de-
duce that a projection M yields weights w
i
=(x
i
n
1
+ y
i
n
2
+ z
i
n
3
) v
4
+(−n
1
v
1
− n
2
v
2
− n
3
v
3
). Hence show that a projection of an inte-
gral curve is an integral curve if and only if (a) the projection is
parallel, or (b) the projection is perspective and the curve lies in a
plane parallel to the viewplane (not containing the viewpoint).