A biarc is a smooth curve formed from two circular arcs.[1] In order to make the biarc smooth (G1 continuous), the two arcs should have the same tangent at the connecting point where they meet.
Biarcs are commonly used in geometric modeling and computer graphics. They can be used to approximatesplines and other plane curves by placing the two outer endpoints of the biarc along the curve to be approximated, with a tangent that matches the curve, and then choosing a middle point that best fits the curve. This choice of three points and two tangents determines a unique pair of circular arcs, and the locus of middle points for which these two arcs form a biarc is itself a circular arc. In particular, to approximate a Bézier curve in this way, the middle point of the biarc should be chosen as the incenter of the triangle formed by the two endpoints of the Bézier curve and the point where their two tangents meet. More generally, one can approximate a curve by a smooth sequence of biarcs; using more biarcs in the sequence will in general improve the approximation's closeness to the original curve.
In the below examples biarcs are subtended by the chord and is the join point. Tangent vector at the start point is , and is the tangent at the end point
(1)
Fig. 2 shows six examples of biarcs
Biarc 1 is drawn with Biarcs 2-6 have
In examples 1, 2, 6 curvature changes sign, and the join point is also the inflection point. Biarc 3 includes the straight line segment .
Biarcs 1–4 are short in the sense that they do not turn near endpoints. Alternatively, biarcs 5,6 are long: turning near one of endpoints means that they intersect the left or the right complement of the chord to the infinite straight line.
Biarcs 2–6 share end tangents. They can be found in the lower fragment of Fig. 3, among the family of biarcs with common tangents.
Fig. 3 shows two examples of biarc families, sharing end points and end tangents.
Fig. 4 shows two examples of biarc families, sharing end points and end tangents, end tangents being parallel:
Fig. 5 shows specific families with either or
Different colours in figures 3, 4, 5 are explained below as subfamilies
,
,
.
In particular, for biarcs, shown in brown on shaded background (lens-like or lune-like), the following holds:
the total rotation (turning angle) of the curve is exactly (not , which is the rotation for other biarcs);
: the sum is the angular width of the lens/lune, covering the biarc, whose sign corresponds to either increasing (+1) or decreasing curvature (−1) of the biarc, according to generalized Vogt's theorem (Теорема Фогта#Обобщение теоремы [ru]).
A family of biarcs with common end points , , and common end tangents (1) is denoted as or, briefly, as being the family parameter. Biarc properties are described below in terms of article.[2]
Constructing of a biarc is possible if
(2)
Denote
, and the curvature, the turning angle and the length of the arc : ;
The locus of join points is the circle
(shown dashed in Fig.3, Fig.5).
This circle (straight line if , Fig.4) passes through points the tangent at being
Biarcs intersect this circle under the constant angle
Tangent vector to the biarc at the join point is , where
Biarcs with have the join point on the Y-axis and yield the minimal curvature jump, at
Degenerate biarcs are:
Biarc : as , , arc vanishes.
Biarc : as , , arc vanishes.
Discontinuous biarc includes straight line or and passes through the infinite point :
Darkened lens-like region in Figs.3,4 is bounded by biarcs It covers biarcs with
Discontinuous biarc is shown by red dash-dotted line.
The whole family can be subdivided into three subfamilies of non-degenerate biarcs:
Subfamily vanishes if
Subfamily vanishes if
In figures 3, 4, 5
biarcs are shown in brown,
biarcs in blue,
and biarcs in green.
Nutbourne, A. W.; Martin, R. R. (1988). Differential geometry applied to curve and surface design. Vol.1: Foundations. Ellis Horwood. ISBN978-0132118224.