You are on page 1of 2

Example 8.

13: Find the equation of a hermite cubic curve which is defined by the four points as
P0(2,2) , P1(3,2), P2 (2,3) and P0(3,3) and also find the points on the curve for u= 0, 0.2, 0.4,0.6,
0.8,1.
Given:
For cubic Bezier curve,
3
P(u) =  B i , n (u) x Pi ,0 u 1
i=0

P0(2,2) , P1(3,2), P0 ‘ (0,1) P1’ (0,-1)

Blending Function

Thus the parametric equation is

P(u) = P0 (2u3 − 3u2 + 1 )3 + P1( −2u3 + 3u2 ) + P0 ‘ (u3 − 2u2 + 𝑢) + P1’ (u3 − u2 )

In matrix form ,

-1 3 -3 1 𝑃0
3 -6 3 0 𝑃
P (𝑢) = [ u3 u2 u 1]×[ ] × [ 1]
-3 3 0 0 𝑃0′
1 0 0 0 𝑃1′

2 −2 1 1 2 2 0
−3 3 −2 −1 3 2 0
P (𝑢) = [ u3 u2 u 1]×[ ]×[ ]
0 0 1 0 0 1 0
1 0 0 0 0 −1 0

−2 0 0
3 −1 0
P (𝑢) = [ u3 u2 u 1]×[ ]
0 1 0
2 2 0

𝑃(𝑢) = [−2u3 + 3u2 + 2 -u2 + u + 2 0]

At u = 0
P(0) =[ 2 2 0 ]
At u = 0.2
P(0.2) = [2.104 2.16 0]
At u= 0.4
P(0.4) = [ 2.352 2.24 0 ]
At u =0.6
P(0.6) = [ 2.648 2.24 0 ]
At u = 0.8
P(0.8) = [ 2.896 2.16 0 ]
At u = 1
P(1) = [ 3 2 0 ]

You might also like