TOPICS
Search

Bézier Curve


Bezier

Given a set of n+1 control points P_0, P_1, ..., P_n, the corresponding Bézier curve (or Bernstein-Bézier curve) is given by

 C(t)=sum_(i=0)^nP_iB_(i,n)(t),

where B_(i,n)(t) is a Bernstein polynomial and t in [0,1]. Bézier splines are implemented in the Wolfram Language as BezierCurve[pts].

A "rational" Bézier curve is defined by

 C(t)=(sum_(i=0)^(n)B_(i,p)(t)w_iP_i)/(sum_(i=0)^(n)B_(i,p)(t)w_i),

where p is the order, B_(i,p) are the Bernstein polynomials, P_i are control points, and the weight w_i of P_i is the last ordinate of the homogeneous point P_i^w. These curves are closed under perspective transformations, and can represent conic sections exactly.

The Bézier curve always passes through the first and last control points and lies within the convex hull of the control points. The curve is tangent to P_1-P_0 and P_n-P_(n-1) at the endpoints. The "variation diminishing property" of these curves is that no line can have more intersections with a Bézier curve than with the curve obtained by joining consecutive points with straight line segments. A desirable property of these curves is that the curve can be translated and rotated by performing these operations on the control points.

Undesirable properties of Bézier curves are their numerical instability for large numbers of control points, and the fact that moving a single control point changes the global shape of the curve. The former is sometimes avoided by smoothly patching together low-order Bézier curves. A generalization of the Bézier curve is the B-spline.


See also

B-Spline, NURBS Curve, Spline

Explore with Wolfram|Alpha

References

Bartels, R. H.; Beatty, J. C.; and Barsky, B. A. "Bézier Curves." Ch. 10 in An Introduction to Splines for Use in Computer Graphics and Geometric Modelling. San Francisco, CA: Morgan Kaufmann, pp. 211-245, 1998.Piegl, L. Fundamental Developments of Computer Aided Geometric Design. San Diego, CA: Academic Press, 1993.Shene, C.-K. "Introduction to Computing with Geometry Notes. Unit 5: Bézier Curves." http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/.

Referenced on Wolfram|Alpha

Bézier Curve

Cite this as:

Weisstein, Eric W. "Bézier Curve." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/BezierCurve.html

Subject classifications