Composite Bézier curve – Wikipedia
In geometric modelling and in computer graphics, a composite Bézier curve is a piecewise Bézier curve that is at least continuous. In other words, a composite Bézier curve is a series of Bézier curves joined end to end where the last point of one curve coincides with the starting point of the next curve. Depending on the application, additional smoothness requirements (such as C1 or C2 continuity) may be added.^{[1]}
A continuous composite Bézier is also called a polybezier, by similarity to polyline, but whereas in polylines the points are connected by straight lines, in a polybezier the points are connected by Bézier curves. A beziergon (also called bezigon) is a closed path composed of Bézier curves. It is similar to a polygon in that it connects a set of vertices by lines, but whereas in polygons the vertices are connected by straight lines, in a beziergon the vertices are connected by Bézier curves.^{[2]}^{[3]}^{[4]} Some authors even call a C0 composite Bézier curve a “Bézier spline”;^{[5]} the latter term is however used by other authors as a synonym for the (noncomposite) Bézier curve, and they add “composite” in front of “Bézier spline” to denote the composite case.^{[6]}
Perhaps the most common use of composite Béziers is to describe the outline of each letter in a PostScript or PDF file. Such outlines are composed of one beziergon for open letters, or multiple beziergons for closed letters. Modern vector graphics and computer font systems like PostScript, Asymptote, Metafont, OpenType, and SVG use composite Bézier curves composed of cubic Bézier curves (3rd order curves) for drawing curved shapes.
Smooth joining[edit]
This section needs expansion. You can help by adding to it. (August 2014)

Composite Bézier curves can be smoothed to any desired degree of smoothness using Stärk’s construction.^{[7]}
C2 continuous composite cubic Bézier curves are actually cubic Bsplines,^{[8]} and vice versa.^{[9]}
Individual curves are by definition C1 and C2 continuous. The geometric condition for C1 continuity when transiting across an endpoint joining two curves is that the associated control points are mutually opposed and collinear with the endpoint. The geometric condition for C2 continuity is C1 continuity, with the additional constraint that the control points are equidistant from the endpoint.
Approximating circular arcs[edit]
In case circular arc primitives are not supported in a particular environment, they may be approximated by Bézier curves.^{[10]} Commonly, eight quadratic segments^{[11]} or four cubic segments are used to approximate a circle. It is desirable to find the length
${displaystyle mathbf {k} }$of control points which result in the least approximation error for a given number of cubic segments.
Using four curves[edit]
Considering only the 90degree unitcircular arc in the first quadrant, we define the endpoints
${displaystyle mathbf {A} }$and
${displaystyle mathbf {B} }$with control points
${displaystyle mathbf {A’} }$and
${displaystyle mathbf {B’} }$, respectively, as:
From the definition of the cubic Bézier curve, we have:
With the point
${displaystyle mathbf {C} (t=0.5)}$as the midpoint of the arc, we may write the following two equations:
Solving these equations for the xcoordinate (and identically for the ycoordinate) yields:
Note however that the resulting Bézier curve is entirely outside the circle, with a maximum deviation of the radius of about 0.00027.
By adding a small correction to intermediate points such as
the magnitude of the radius deviation to 1 is reduced by a factor of about 3, to 0.000068 (at the expense of the derivability of the approximated circle curve at endpoints).
General case[edit]
We may compose a circle of radius
${displaystyle R}$ from an arbitrary number of cubic Bézier curves.^{[12]}
Let the arc start at point
and end at point
${displaystyle mathbf {B} }$, placed at equal distances above and below the xaxis, spanning an arc of angle
${displaystyle theta =2phi }$:
The control points may be written as:^{[13]}
Examples[edit]

Eightsegment quadratic polybezier (red) approximating a circle (black) with control points

Foursegment cubic polybezier (red) approximating a circle (black) with control points
TrueType fonts use composite Béziers composed of quadratic Bézier curves (2nd order curves). To describe a typical type design as a computer font to any given accuracy, 3rd order Beziers require less data than 2nd order Beziers; and these in turn require less data than a series of straight lines. This is true even though any one straight line segment requires less data than any one segment of a parabola; and that parabolic segment in turn requires less data than any one segment of a 3rd order curve.
See also[edit]
References[edit]
 ^ Eugene V. Shikin; Alexander I. Plis (14 July 1995). Handbook on Splines for the User. CRC Press. p. 96. ISBN 9780849394041.
 ^ Microsoft polybezier API
 ^ Papyrus beziergon API reference
 ^ “A better box of crayons”.
InfoWorld.
1991.  ^ Rebaza, Jorge (24 April 2012). A First Course in Applied Mathematics. John Wiley & Sons. ISBN 9781118277157.
 ^ (Firm), Wolfram Research (13 September 1996). Mathematica ® 3.0 Standard Addon Packages. Cambridge University Press. ISBN 9780521585859.
 ^ Prautzsch, Hartmut; Boehm, Wolfgang; Paluszny, Marco (6 August 2002). Bézier and BSpline Techniques. Springer Science & Business Media. ISBN 9783540437611.
 ^ Bartels, Richard H.; Beatty, John C.; Barsky, Brian A. (1 January 1987). An Introduction to Splines for Use in Computer Graphics and Geometric Modeling. Morgan Kaufmann. ISBN 9781558604001.
 ^ Agoston, Max K. (6 December 2005). Computer Graphics and Geometric Modelling: Implementation & Algorithms. Springer Science & Business Media. ISBN 9781846281082.
 ^ Stanislav, G. Adam. “Drawing a circle with Bézier Curves”. Retrieved 10 April 2010.
 ^ “Digitizing letterform designs”. Apple. Retrieved 26 July 2014.
 ^ Riškus, Aleksas (October 2006). “APPROXIMATION OF A CUBIC BEZIER CURVE BY CIRCULAR ARCS AND VICE VERSA” (PDF). Information Technology and Control. Department of Multimedia Engineering, Kaunas University of Technology. 35 (4): 371–378. ISSN 1392124X.^{[permanent dead link]}
 ^ DeVeneza, Richard. “Drawing a circle with Bézier Curves” (PDF). Retrieved 10 April 2010.
Recent Comments