Introduction to curves and surfaces Flashcards
Bézier curve: origin
- Developed to form curves in CAD/CAM systems for car industry
- Now Bézier curves are contained in almost all CAD systems
Bézier curve: definition
- The shape of a Bézier curve is manipulated by some control points, which form the control polygon
- The curve is obtained from the control points by applying the de Casteljau algorithm:
a parameter varies from 0 to 1;
accordingly, on each segment of the control polygon a point is found;
the points are linked finding a new polygon with one segment less;
iteration until a point remains, which a point of the Bezier curve
Degree of the Bézier curve
It’s equal to the number of segments of the control poly, or one less than the number of control points
Properties of the Bézier curve
1) Convex hull property: a Bézier curve lies in the convex hull of its control polygon
2) Variation diminishing property in the plane: a Bézier curve does not change the side of a straight line more often than its control polygon
Principal problem of Bézier curves and possible solution
A change of a single control point changes the entire curve, even if the variation far from the changed point is small.
It should be better to have a local behaviour, so spline curves are used, which are a sequence of low order Bézier curves, joined to have appropriate transiotion properties.
Spline curve: definition
- Union of low degree Bézier curves, with appropriate transition conditions, for example common tangent
- Locally controllable
- The degree of the spline curve is the degree of the Bézier segments
- The control points of the spline are often different from the control points of the Bézier segments
- A particular spline curve is the B-spline, very often used in CAM systems
B-spline curve: definition
A B-spline curve of degree d is a sequence of Bézier curves of degree d, put together with optimal smoothness
B-spline curve: properties
- The curve lies in the convex hull of its control polygon
- variation diminishing property
NURBS: definition
- Non-uniform-rational-B-splines
- extension of B-splines, with weights
- weights equal 1 - > B-spline
- increasing a weight of a control point pulls the curve near that point; increasing the weights of every control point, however, does not change the curve
- necessary to represent any type of conics
Bézier curve: mathematical definition
Bézier curve of degree n (order n+1)
P(t) = sum(i=0,n) Bn,i(t)*Pi
where
Bn,i(t) are the Bernstein polynomials of order n+1
Bernstein polynomial are the Bézier blending functions
B-spline curve: mathematical definition
- To solve the problem of global properties of the Bézier curve, it’s possible to use blending functions that are zeros except for some values of t
B-spline curve of degree k (order k+1):
P(t) = sum(i=0,n) Nk,i(t) * Pi
Nk,i(t) are the blending functions of order k+1 (constant, triangle, parabola)
NURBS: Mathematical definition
P(t) = sum(i=0,n) Ri,k(t) * Pi
Ri,k = Ni,k(t)wi / sum(j=0,n) Nj,kwj
Bézier surface: Mathematical definition
S(u,v) = sum(i=0,n)sum(j=0,m) Bn,i(u) * Bm,j(v) * Pi,j
B-spline surface: Mathematical definition
S(u,v) = sum(i=0,n)sum(j=0,m) Nk,i(u) * Nq,j(v) * Pi,j
NURBS surface: Mathematical definition
S(u,v) = sum(i=0,n)sum(j=0,m) Ri,j(u,v) * Pi,j
Ri,j(u,v)=…