Beruflich Dokumente
Kultur Dokumente
Bzier Curves
Bzier curve Q(t) of degree n: n
i =0
Q(t ) = Bi ,n (t )Pi , 0 t 1.
Bzier curves
where each term in the sum is the product of a blending function and a control point Pi. The are called Bernstein polynomials and are defined by
Bi , n ( t ) =
where
Ci
n
n i n i C i t (1 t ) .
n! i! ( n i )
Bzier curves
Mathematical Expression
n i n i ( ) t 1 t Q(t ) = Pi i i =0
n
For n = 3 , Q (t )= 3 C 0 (1 t ) P0 + 3 C 1t (1 t ) P1 + 3 C 2 t 2 (1 t )P2 + 3 C 3 t 3 P3
3 2
Mathematical Expression
3 i 3 i ( ) 1 Q(u ) = Pi t t i i =0
3 3 2 3 ( ) 3 1 t t P t P3 = (1 t ) P0 + 3t (1 t ) P + + 1 2 2
= t3
t2
= t3
t2
3 3 1 3 6 3 t 1 3 3 0 0 0 1 P0 P t 1 M Bezier 1 P2 P3
1 P0 P 0 1 0 P2 0 P3
Affine transformation:
P0 P0
x a b c x y = d e f y z g h i z
P1 P1
= (Q Q )2 + (Q Q )2 ix ix iy iy
i =0
P2
P
3
P3 P2
P0 P0 P1 P1
where ds (d=1,2,3) correspond to the compared portions. P3 P3 P2 Expressions Xk and Xe are said to be the same, if for all fi (i=1,..,n) dE fi ( X k ) fi ( Xe ) < Ei ,
d A fi ( X k ) fi ( Xe ) <Ai
P2