# Bézier curve

## 1 Introduction

Bézier curves are a particular family of curves in $\mathbb{R}^{m}$ that parameterize a smooth path given points. They are often used to model or approximate general curved shapes because of their algebraic simplicity.

Bézier curves were originally developed by Paul de Casteljau in 1959. But it became a famous shape only when Pierre Bézier, a French engineer at Renault, used it to automobiles in the 1970’s. They are now widely used in many such as industrial and computer-aided , vector-based drawing, font design, and 3D modeling.

## 2 Definition

Given $n+1$ points $\boldsymbol{P}_{i}$ in $\mathbb{R}^{m}$, the Bézier curve for these control points is the curve $\boldsymbol{B}\colon[0,1]\to\mathbb{R}^{m}$ defined by

 $\boldsymbol{B}(t)=\sum_{i=0}^{n}\binom{n}{i}(1-t)^{n-i}\,t^{i}\>\boldsymbol{P}% _{i}\,.$

The coefficients in this expression:

 $b_{i,n}(t)=\binom{n}{i}(1-t)^{n-i}\,t^{i}\,,\quad i=0,\ldots,n\,.$

are the Bernstein basis polynomials.

## 3 Special cases

A Bézier curve between two control points is simply the line segment  between the two points:

 $\boldsymbol{B}(t)=(1-t)\,\boldsymbol{P}_{0}+t\,\boldsymbol{P}_{1}\,.$

For three control points, we have the quadratic Bézier curve:

 $\boldsymbol{B}(t)=(1-t)^{2}\,\boldsymbol{P}_{0}+2t(1-t)\,\boldsymbol{P}_{1}+t^% {2}\,\boldsymbol{P}_{2}\,.$

For four control points, we have the cubic Bézier curve:

 $\boldsymbol{B}(t)=(1-t)^{3}\,\boldsymbol{P}_{0}+3t(1-t)^{2}\,\boldsymbol{P}_{1% }+3t^{2}(1-t)\,\boldsymbol{P}_{2}+t^{3}\,\boldsymbol{P}_{3}\,.$

These are the most commonly employed versions of Bézier curves.

## 4 Properties

• Except for the first and the last points, where the curve starts and ends, the Bézier curve should not pass through any of the control points. i.e. all the controls points lie on the curve if and only if the curve is a straight line.

• The curve is tangent to the segment of line $\overline{\boldsymbol{P}_{0}\,\boldsymbol{P}_{1}}$ at the start and $\overline{\boldsymbol{P}_{n-1}\,\boldsymbol{P}_{n}}$ at the end.

• It is easy to keep until the first order continuity when chaining curves. Moreover, every Bézier curve can be cut at any point into two new Bézier curves. In fact, the industry uses series of Bézier curves with only 4 control points (a bicubic version of the equations) to draw complex shapes.

• The curves never do fancy stuff and always remain within the convex hull of the control points.

• For one and two points the definition is still valid and the result became a point and a segment of line, respectively.

• But it is impossible to draw circles or arcs of circle.

• It is also impossible to draw two parallel curves (except in trivial cases: straight line Béziers and coincident Béziers curves)

• If the first and the last point are the same, the curve is closed. And if $\boldsymbol{P}_{1}$ and $\boldsymbol{P}_{n-1}$ are aligned with $\boldsymbol{P}_{0}$ then the curve is closed with a first order continuity.

## 5 Curve Cut

Let $\boldsymbol{B}_{p}(t)$ be a Bezier curve, defined by its control points $\boldsymbol{P}_{0}$ to $\boldsymbol{P}_{n}$ for $t\in[0,1]$.

Let $a,b$ be such as $[a,b]\subset[0,1]$ Let $u={{t-a}\over{b-a}}$ be such as $\forall u\in[0,1],t\in[a,b]$

$\boldsymbol{B}_{q}(u)$ is a part of the initial bezier curve with new control points $\boldsymbol{Q}_{0}$ to $\boldsymbol{Q}_{n}$ whose will be determined.

For $n$ control points $\boldsymbol{B}(t)$ is a $n-1$-order polynom.

$\boldsymbol{B}_{p}(a)=\boldsymbol{B}_{q}(0)$

$\boldsymbol{B}_{p}(b)=\boldsymbol{B}_{q}(1)$

Let take $n-2$ more points, evenly spaced in [a,b] $u_{i}=k/{n-1}\forall k\in[1..n-1]$

$\boldsymbol{B}_{p}(u(b-a)+a)=\boldsymbol{B}_{q}(u_{i})$ for each $u_{i}$

For a 4 control points bezier curve If we take $u$ in $(0,{1\over 3},{2\over 3},1)$, hence $t_{0}$, $t_{1}$, $t_{2}$, $t_{3}$ respectively equal to $a$, $\frac{b-2a}{3}$, $\frac{2b-a}{3}$, $b$

$\boldsymbol{Q}_{0}=\boldsymbol{B}_{p}(t_{0})$

$\boldsymbol{Q}_{1}={-15\boldsymbol{B}_{p}(t_{0})+54\boldsymbol{B}_{p}(t_{1})-2% 7\boldsymbol{B}_{p}(t_{2})+6\boldsymbol{B}_{p}(t_{3})}/18$

$\boldsymbol{Q}_{2}={6\boldsymbol{B}_{p}(t_{0})-27\boldsymbol{B}_{p}(t_{1})+54% \boldsymbol{B}_{p}(t_{2})-15\boldsymbol{B}_{p}(t_{3})}/18$

$\boldsymbol{Q}_{3}=\boldsymbol{B}_{p}(b)$

http://en.wikipedia.org/wiki/Bezier_curveWiki

Title Bézier curve BezierCurve 2015-01-23 16:33:51 2015-01-23 16:33:51 yota (10184) yota (10184) 29 yota (10184) Definition msc 51N05 Bezier curve NURBS BSpline