DESIGN OF CURVES 107′≡′
′⎡
⎣
⎢⎤
⎦
⎥⎡
⎣
⎢⎤
⎦
⎥ ′≡′
′⎡
⎣
⎢⎤
⎦
⎥⎡
⎣
⎢⎤
⎦A ⎥x
yxp
yqBx
yxp
yq=and =1
11
12
22
2Let ′
′
′⎡
⎣⎢⎤
⎦⎥′
′⎡
⎣⎢⎤
⎦C ⎥x
yx
y* = +^1
12
2λμ=+=+ – ( + )
+ – ( + )1
12
212
12λμλμ λμ
λμ λμxp
yqxp
yqxx p
yy q⎡
⎣⎢⎤
⎦⎥⎡
⎣⎢⎤
⎦⎥⎡
⎣⎢⎤
⎦⎥={ + – } – ( + – 1)
{ + – } – ( + – 1)12
12λμ λμ
λμ λμxxp p
yyq q⎡
⎣⎢⎤
⎦⎥Like points A and B, if C was expressed in the new coordinate system without any change in its
position due to the changed axes, then
′⎡
⎣⎢⎤
⎦C ⎥xxp
yyq=+ –
+ –12
12λμ
λμNote that C′ and C′* are not identical, and there is a change in the position of C due to the shift in
the origin O to O′ by (p,q). To make this transformation also affine, the arbitrary scalars λ and μ need
to be constrained as
λ + μ – 1 = 0 or λ + μ = 1 (4.39)
Affine combination is therefore a type of linear combination wherein the respective weights sum
to unity. It is needed to preserve the relative positions of points (describing a geometric entity) during
transformation (change of coordinae axes), which is ensured by Bernstein polynomials in case of
Bézier curves.
4.4 Bézier Segments
Forn + 1 data points Pi,i = 0, ... , n, a Bézier segment is defined as their weighted linear combination
using Bernstein polynomials (Eq. (4.33))
r( ) = uCuu Bu ui=0 (1 – )– = =0 ( ) , 0 1n
n i ni ii
in
iΣΣPPn i ≤≤ (4.40a)
y′ yy′A CB(OC = λOA + μOB)x′
θ
θ
O x
(a) (b)y
A CB(OC = λOA + μOB)o′O xx′Figure 4.15 Affine transformations and relation between weights λλλλλ and μ