Professional Documents
Culture Documents
Bezier Curves and Splines (CAD)
Bezier Curves and Splines (CAD)
Bezier Curves and Splines (CAD)
COLLEGE,
BHUJ
BRANCH :- MECH (6th Sem)
DIV :- A
SUBJECT :- Computer Aided
Design
TOPIC :- Beizer Curves & Splines
PREPARED BY :- SAGAR
GOSWAMI
Introduction
In Engineering, one often wants a smooth
curve through a set of known points.
In Physics, a smooth curve is required to
represent the shape of a deflected beam.
Computer Aided Design and
Manufacturing programs like lines and
circular arcs.
Lots of things cannot be conveniently
described by lines and circular arcs.
Bzier Curves
Bzier Curves were first developed in
1959 by Paul de Casteljau.
They were popularized in 1962 by French
engineer Pierre Bzier, who used them to
design automobile bodies.
where 0 t 1
The point, x,
is on the
curve.
The point, x,
is on the
curve.
In General
To construct an nth degree Bezier curve, you
need n+1 control points.
The formula for a point on the curve is:
n
i n i
x(t ) (1 t ) t Pi
i 0 i
n
Recursion
Pseudo code for recursive technique:
makeBezier(Control Points)
If points are collinear enough
Output last point
Else
Subdivide points
makeBezier(Left Control Points)
makeBezier(Right Control Points)
End If
Bezier Splines
We typically want a smooth curve that
passes though a set of points.
Problem: The first and last control points
are the only ones guaranteed to be on a
Bezier Curve.
A Solution: Use Bezier Splines, which are
composite (i.e. piecewise) Bezier Curves.
But then we need to compute control points.
P1
P3
P4
P2
P0
b0,2
P1=b0,3=b1,0
P3
P4
b0,1
P2
P0=b0,0
In general,
Pi ,3 Pi 1, 0
Or
xi (1) xi 1 (0)
0 i n 1
xi (t ) 3Pi (1 t ) ...
1 0
1 1
1 2
0 0
0 0
0 0
0 0
0 0
0
0
2 1
0 1
1 2
0 0
0 0
0 0
0
0
0
0
0
0
0
0
b0,1
b
0, 2
b1,1
b1,1
0
2P
1
0
0 0
0 0
1 0
0 0
2 P2
2 1 0 0 b2,1 0
0 1
1 0 b2,1 2 P3
1 2 2 1 b3,1 0
0 0 1 2 b3,1 0
Further Direction(s)
B-splines provide local control over the
spline, we think.
Thank You
For watching our presentation