Professional Documents
Culture Documents
Unit 5-19-01-2021
Unit 5-19-01-2021
Unit 5-19-01-2021
5th Unit
M.A. Zahed
Lecturer in computer
Government Polytechnic Ahmednagar
Objectives
-After learning this unit student can able to
• Describe the given curve generation methods
• Draw curve using the given curve algorithm
• State properties of the give curve
• Generate arc using the given algorithm
Introduction to curve
•
Curve Generation
•
B-spline curve
A(0,0),
D(60,-20),
B(10,40),
P2
C(70,30), B(10,40),
P2
C(70,30),
B(10,40),
P2
C(70,30),
P4
P5
P1 P4
P3 P1 P5
P3 P6
P1
P3
A(0,0),
A(0,0),
D(60,-20),
D(60,-20), A(0,0),
D(60,-20),
• Now consider one set of four sample points , and again
carry out the same procedure till the length of line
segment becomes equal to one pixel. At last stage we
will get following curve
B(10,40),
P2
C(70,30),
P4
P5
P6
P1
P3
A(0,0),
D(60,-20),
Bezier Curve B-Spline Curve
Sharp corner are achieved by passing We can achieve sharp corner by using
curve from the sample points blending function repeatedly for same
points
Curve always passes from minimum In special case curve may not pass
two points starting and ending points from any of the sample points