You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bézier Curves are a special kind of NURB curves build upon a controll polygon B and a Bernstein basis J_{n,i}.
Mathematically, a parametric Bézier curve is defined by
$$P(t) = \sum_{i=0}^n B_iJ_{n,i}(t) \quad 0 \leq t \leq 1$$
Where the Bernstein Basis is defined as
$$J_{n, i}(t) = \binom ni t^i(1-t)^{n-i}$$
where the convention (0)^0 = 1 and 0! = 1 have been made.
In particular J_{n,i} is the i-th base function of order n, while n is also the number of segments of the the controll polygon (number of points minus one).
Bézier Properties
Whe have a small variety of properties, descending directly from the definition:
Base function are often real.
The degree of the polynomial curve is one less than the number of point of the controll polygon.
The curve generally follows the shape of the control polygon.
The edges of the curves are the edges of the control polygon.
The curve is located inside the convex hull of the controll polygon.
The curve is invariant under Affine transformation.
Matrix Representation
The equation of a Bézier Curve could also be implemented as a Matrix Multiplication (particulary usefull in GPU computations).
which could be scalar multiplied with the base matrix in order to obtain two derivative base matrices.
Of course the [T] matrix used must be reduced by eliminating the first and the last points.