next up previous contents
Next: Approximation Up: Bézier curves Previous: quadratic Bézier curves   Contents

cubic Bézier curves

Cubic Bézier curves are the classical Bézier curves, the lower degree curves presented before should be seen as extensions of classical Bézier curves to low degrees.

For cubic Bézier curves, there are four control points. The first two are the two endpoints of the curve, $ P_1$ and $ P_2$. The two remaining ones are intermediate points $ Q_1$ and $ Q_2$. These intermediate points control the tangent and the curvature at both ends. The Bernshtein polynomial and its first derivatives are:

\begin{equation*}\left\{\begin{aligned}B_3(t) &= (1-t)^3 P_1 + 3t(1-t)^2 Q_1 + 3...
...P_1 - (2-3t) Q_1 + (1-3t) Q_2 + t P_2\right] \end{aligned}\right.\end{equation*}

Figure 4: cubic Bézier curve

\begin{picture}(60,25)
\textcolor[rgb]{0.09,0.32,0.12}{
\cbezier(10,3)(20,23)(4...
...\mbox{$Q_2$}}
\put(50,23){\circle{2}}\put(43,20){\mbox{$P_2$}}
}%
\end{picture}



Luc Maisonobe 2005-05-29