Abstract
As a new method of representing curves, Q-Bézier curves not only exhibit the beneficial properties of Bézier curves but also allow effective shape adjustment by changing multiple shape parameters. In order to resolve the problem of not being able to construct complex curves using a single curve, we study the geometric continuity conditions for Q-Bézier curves of degree n. Following the analysis of basis functions and terminal properties of Q-Bézier curves of degree n, the continuity conditions of and between two adjacent Q-Bézier curves are proposed. In addition, we discuss the specific steps of smooth continuity for Q-Bézier curves and analyze the influence rules of shape parameters for Q-Bézier curves. The modeling examples show that the proposed method is effective and easy to achieve, making it useful for constructing complex curves for engineering design.
Keywords: Q-Bézier curve, shape parameter, geometric continuity, curve design
Introduction
Parametric curves are not only an important research area in CAD/CAM, but also a powerful tool for shape design. Classical Bézier curves are constructed using Bernstein basis functions, which have a simple structure and are easy to use. The latter have already become one of the most important methods in the CAD/CAM field. However, the shapes of Bézier curves are only determined by the control points, which causes issues for engineering design. In order to overcome this shortcoming, rational Bézier curves can be used, and their shapes can be modified or adjusted by introducing weight factors without changing their control points. However, the introduction of rational fractions produces some other issues, such as complex calculations, cumbersome integrals, and repetitive differentiation [1, 2].
In order to maintain the advantages of the Bézier method and enhance the shape adjustability of the curves, scholars have constructed many non-rational Bézier curves with shape parameters [3–19]. A set of generalized Bernstein basis functions was proposed in [20], constructing a type of Q-Bézier curve with multiple shape parameters. These generalized Bernstein basis functions inherited many of the beneficial properties of Bernstein basis functions, and the Q-Bézier curves also inherited many beneficial properties of Bézier curves. Moreover, the Q-Bézier curve also had flexible shape adjustability, with the shape of the curve being easily modified by changing shape parameters, thus creating complex curves with more degrees of freedom. Therefore, Q-Bézier curves can be widely used in various CAD/CAM systems.
As the Q-Bézier curve is a type of polynomial curve, it has inevitably inherited the instability that calculations of high-order polynomials suffer from. Consequently, the control of the polygon on the curve will be weakened when the degree of the Q-Bézier curve is too high; by contrast, a lower degree cannot express a complex curve any better. Based on this, in order to describe a Q-Bézier curve with more extensive applications in the CAD/CAM field, in this paper we derive the geometric continuity conditions between two adjacent Q-Bézier curves by analyzing the basis functions and terminal properties of the Q-Bézier curve. The resultant curves are flexible enough to be used in a wide variety of engineering design applications.
The family of Q-Bézier curves
Generalized Bernstein basis functions
Definition 1
For any natural number n () and n arbitrary real values of (), the following polynomial functions in t
| 1 |
are called the generalized Bernstein basis functions of degree n, associated with the shape parameters [20], where , , , ,
It can be easily proved that the generalized Bernstein basis functions of degree n have many properties similar to those of classical Bernstein basis functions of degree n, such as non-negativity, partition of unity, symmetry, etc. [20]. Specifically, when the shape parameters are (), the generalized Bernstein basis functions of degree n degenerate into the classical Bernstein basis functions of degree n.
Theorem 1
The generalized Bernstein basis functions of degree n, as shown in (1), associated with the shape parameters (), are linearly independent.
Proof
First, using degree elevation of the Bernstein basis functions of degree n and combining with (1), we can obtain the following equations to convert classical Bernstein basis functions to generalized Bernstein basis functions:
| 2 |
where
are the Bernstein basis functions of degree .
Let , where , . Then, according to (2), we can obtain
| 3 |
where
| 4 |
where
Since the Bernstein basis functions of degree are linearly independent, we obtain (). Thus, it is obvious that for , meaning that () are linearly independent. □
Definition and properties of Q-Bézier curve
Definition 2
Let points (; ), then the polynomial curve of degree n associated with shape parameters , a so-called Q-Bézier curve, can be defined as follows [20]:
| 5 |
where points () are control points of the curve, , , , and , () are the generalized Bernstein basis functions of degree n defined by (1). According to the definition and properties of the generalized Bernstein basis functions, it is easy to see that the Q-Bézier curve has inherited many of the characteristics of the Bézier curve, such as symmetry, convex hull property, geometric invariance, etc. In addition, the Q-Bézier curve has good shape adjustability, with the shape of the curve being determined by its own control points and shape parameters. Specifically, with shape parameters (), the Q-Bézier curve degenerates to a classical Bézier curve.
Theorem 2
The Q-Bézier curve of degree n has the following terminal properties:
| 6 |
Proof
According to (1), the generalized Bernstein basis functions (; ) at the terminal points are
| 7 |
| 8 |
| 9 |
| 10 |
| 11 |
| 12 |
For the terminal properties (7)-(12) of the basis functions, as well as the definition of the Q-Bézier curve, we can produce the terminal properties (6) of the Q-Bézier curve, thus, proving Theorem 2. □
Figure 1 shows the influence on the shapes of Q-Bézier curves of degree 4 by altering four parameters on the curves. Figure 1(a) shows the curves with , , , (solid lines), (dashed lines), (dotted lines). Figure 1(b) shows the curves with , , , (solid lines), (dashed lines), (dotted lines). Figure 1(c) shows the curves with , , , (solid lines), (dashed lines), (dotted lines). Figure 1(d) shows the curves with , , , (solid lines), (dashed lines), (dotted lines). The broken lines indicate the control polygons, and the circular points indicate control points of the curve.
Figure 1.

The effect of altering the shape parameters of a Q-Bézier curve.
and smooth continuity conditions for Q-Bézier curves
Given two adjacent Q-Bézier curves with control points () and with control points (), the continuity conditions and for Q-Bézier curves are shown by the following equations.
Smooth continuity conditions of for Q-Bézier curves
Theorem 3
For two adjacent Q-Bézier curves and , the necessary and sufficient conditions of smooth continuity at the common joint are given by
| 13 |
where is a constant.
Proof
If Q-Bézier curves and need to reach continuity, they are required to reach continuity at the common joint first, which means combining the end of with the beginning of , that is,
| 14 |
Also, they should satisfy the same tangent direction at the joint, which means
According to the terminal properties (6) of the Q-Bézier curve, the above equation can be simplified to
| 15 |
By combining with (14), (15) can be expressed in the form of (13), thus proving Theorem 3. □
The geometric significance of continuity for two Q-Bézier curves at the joint is that the control points , () and should have collinear ordering when and combine.
Specifically, let in (13), then (13) is equal to
Now, the continuity conditions of degrade into the corresponding continuity conditions.
Smooth continuity conditions of for Q-Bézier curves
Theorem 4
For two adjacent Q-Bézier curves and , the necessary and sufficient conditions of smooth continuity at the common joint are given by
| 16 |
where is a constant, and γ is an arbitrary constant.
Proof
If Q-Bézier curves and reach continuity, they are required to reach continuity at the common joint first, which means
| 17 |
where the value of α is the same as that in (13). Suppose that the vice-normal vector is for at and for , then we have
| 18 |
Then the continuity required for the vice-normal vector of and has the same direction at the joint. Combining (17) with (18), we obtain the four vectors , , , and which are coplanar. Thus, using (17) we can obtain
| 19 |
where is an arbitrary constant.
If the curvatures are and for the curves of and , respectively, we obtain
| 20 |
As continuity is required, the curvatures of and have the same value at the joint, i.e., . Substituting (17) and (19) into (20), we have
| 21 |
Using (21), we can see that . Putting the value of β into (19), we obtain
| 22 |
where the value of α is equal to that in (13).
From the terminal properties of the Q-Bézier curve given in Theorem 1, we can calculate the tangent vector for and , which substituted into (19) yields
| 23 |
In conclusion, if the two Q-Bézier curves satisfy (13) and (23) simultaneously, then they reach smooth continuity at the joint, thus proving Theorem 4. □
In particular, let , in (16). Then (16) becomes
| 24 |
This describes the smooth continuity conditions of for Q-Bézier curves. Note that the smooth continuity conditions in [20] are incorrect because of an error in the second-order terminal properties given in [20]. This was because equation (5.9) in [20] was incorrectly stated.
Steps and examples of smooth continuity for Q-Bézier curves
Using the smooth continuity conditions between Q-Bézier curves and combining with the flexible shape adjustability of these curves, we now take smooth continuity as an example to discuss the basic steps of smooth continuity between Q-Bézier curves.
According to the proof of Theorem 3, the steps for smooth continuity for two Q-Bézier curves are given by: ① for any degree n, with shape parameters () and control points () of the initial curve , then ② let so that and have a common control point, which makes the curves reach continuity; ③ given the degree m and shape parameters () of , as well as constant , according to the second equation in (16), calculate the second control point of . ④ On the basis of steps ② and ③, given an arbitrary constant γ, using the third equation in (16), calculate the third control point of . ⑤ Given the remaining control points () of , then we can achieve smooth continuity between two adjacent Q-Bézier curves.
Obviously, repeating the above smooth continuity steps can achieve smooth continuity between multiple Q-Bézier curves. A similar process can be used to obtain the steps for smooth continuity.
Example 1
Figure 2 shows smooth continuity of a cubic curve, a quartic curve, and a quintic curve from left to right. The first example shows the joining of a cubic curve and a quartic curve, where the shape parameters are and , respectively, as well as a scale factor of . The second example is a quartic Q-Bézier curve spliced with a quintic Q-Bézier curve, where the shape parameters are for the quintic Q-Bézier curve, with a scale factor of . The broken lines indicate the control polygons of the Q-Bézier curves; the circular points indicate control points for the curve.
Figure 2.

smooth continuity of Q-Bézier curves.
Example 2
Figure 3 shows an example of ‘Type 2’ modeling, based on the smooth continuity conditions between two quintic Q-Bézier curves. The shape parameters for the top and bottom curves are and , respectively. The scale factors in Figures 3(a) and 3(b) are and , respectively. Here, the broken lines and circular points in Figure 3 indicate the same features as in Figure 2. As can be seen from Figure 3, the value of the scale factor α for various continuity conditions can alter the position of the second control point of the bottom curve, thus changing the bottom curve’s shape.
Figure 3.

smooth continuity of quintic Q-Bézier curves.
Example 3
Figure 4 shows an example of a butterfly curve using the continuity conditions. The butterfly curve is constructed using eight quadric Q-Bézier curves and four cubic Q-Bézier curves based on the continuity conditions, with the curves at the joints marked with different colors. The broken lines and circular points in Figure 4 indicate the same features as in Figure 2.
Figure 4.

Example of a butterfly curve.
Example 4
Figure 5 illustrates smooth continuity of a sextic Q-Bézier curve and a septic Q-Bézier curve with scale factors and , as well as shape parameters and . The broken lines and circular points in Figure 5 indicate the same features as in Figure 2. Figure 5 shows that the splicing curves are smooth and natural at the common joint.
Figure 5.

Example of smooth continuity.
Example 5
Figure 6 shows smooth continuity of two sextic Q-Bézier curves. The shape parameters are and from left to right in Figure 6. The scale factors are and in Figure 6(a), and and in Figure 6(b). The broken lines and circular points in Figure 6 indicate the same features as in Figure 2. Figure 6 shows that the second and third control points of the second curve in the splicing curves are altered by changing the value of two scale factors, thus changing the shape of the second curve.
Figure 6.

smooth continuity of sextic Q-Bézier curves.
Shape adjustment of the smooth continuity between Q-Bézier curves
Compared to classical Bézier curves, Q-Bézier curves have multiple shape parameters, allowing adjustment of the local or global shape. However, altering the control points at the same time as the shape parameters does not affect the smoothness of the curve. In this paper, we will now examine the issue of shape adjustment of and continuity using, as an example, the smooth continuity between two Q-Bézier curves. A similar argument can be applied to multiple curves.
Proposition 1
In the case where the control points and continuity for the splicing curves are not changed, we can adjust the local and global shape of the splicing curves.
Proof
From Theorem 2, continuity only needs to have the same tangent direction at the common joint between adjacent Q-Bézier curves, but modifying any shape parameters for part of curves simply impacts on the size of the tangent vector without changing the direction. Thus, Proposition 1 is proved. □
Specifically, referring to a Q-Bézier curve with multiple shape parameters, the local shape of the splicing curves can all be modified so long as changing shape parameters. Such a property gives the Q-Bézier curves their flexible shape adjustability.
Example 6
Figure 7 shows examples of local and global shape adjustment of smooth continuity for the splicing curves shown in Figure 3(a). The solid lines represent the initial curves, with dashed lines and dotted lines showing the modified curves. The broken lines and circular points in Figure 7 indicate the same features as in Figure 2. Figure 7(a) shows local shape adjustment by altering one shape parameter of the second curve. It can be seen from Figure 7(a) that the shape of a part of one curve is affected by changing a single shape parameter. Figure 7(b) shows local shape adjustment through modification of the shape parameters of the smooth continuity conditions. Figure 7(c) shows global shape adjustment by changing the shape parameters of two splicing curves. This example shows the flexible shape adjustability of smooth continuity of the splicing curves.
Figure 7.

Examples of shape adjustment of smooth continuity.
Similarly, we can prove the following proposition.
Proposition 2
Based on smooth continuity of the splicing curves, the following conclusions can be reached: ① If the control points and continuity for all the splicing curves are not changed, we can adjust the local shape of the splicing curves by altering shape parameters. ② If smooth continuity is unchanged, then global shape adjustment of the splicing curves can be achieved by altering shape parameters and control points.
Example 7
Figure 8 shows the shape adjustment of smooth continuity for the splicing curves in Figure 6(a). The solid lines in Figure 8 indicate the initial curves, with the dashed lines and dotted lines representing curves with modified shape parameters. The broken lines and circular points in Figure 8 indicate the same features as in Figure 7. The asterisks indicate the modified control points. Figure 8(a) shows local shape adjustment by altering one of the shape parameters of the first curve. Figure 8(b) shows global shape adjustment by changing two control points of the second curve and the shape parameters of two sextic Q-Bézier curves.
Figure 8.

Examples of shape adjustment of smooth continuity.
Conclusions
In this paper, we described the and smooth continuity conditions between two adjacent Q-Bézier curves of degree n and analyzed the influence rules of shape parameters on the shapes of splicing curves, as well as the basic steps of smooth continuity. We feel our work is significant since our proposals help to simplify the construction and computer realization of complex curves as well as extend the conclusions presented in [20]. The modeling examples show the effectiveness of the proposed methods: our proposed and continuity conditions for Q-Bézier curves are better than the existing continuity conditions described in [20]. The benefits and features of the proposed methods can be summarized as follows:
Our proposed and continuity conditions for Q-Bézier curves of degree n extend the conclusions about the continuity condition given in [20].
For a piecewise generalized Q-Bézier curve with or smooth continuity, we can adjust its global and local shape by changing the shape parameters.
The continuity conditions proposed in this paper are not only intuitive and easy to implement, but also offer more degrees of freedom for the construction of complex curves used in engineering design.
It is worth noting that the proposed methods in this paper are the first to consider the and geometric continuity conditions for Q-Bézier curves.
Acknowledgements
The authors are very grateful to the referees for their helpful suggestions and comments which have improved the paper. This work is supported by the National Natural Science Foundation of China (No. 51305344, No. 11501443, No. 11626185). This work is also supported by the Research Fund of Shaanxi, China (No. 2014K05-22), the Research Fund of Department of Education of Shaanxi, China (No. 15JK1535).
Footnotes
Competing interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Authors’ contributions
All authors contributed equally to the writing of this paper. All authors read and approved the final manuscript.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Farin G. Curves and Surfaces for CAGD: A Practical Guide. 5. San Diego: Academic Press; 2002. [Google Scholar]
- 2.Mamar E. Shape preserving alternatives to the rational Bézier model. Comput. Aided Geom. Des. 2001;18(1):37–60. doi: 10.1016/S0167-8396(01)00011-5. [DOI] [Google Scholar]
- 3.Chen Q, Wang G. A class of Bézier-like curves. Comput. Aided Geom. Des. 2003;20(1):29–39. doi: 10.1016/S0167-8396(03)00003-7. [DOI] [Google Scholar]
- 4.Oruc H, Phillips G. Q-Bernstein polynomials and Bézier curves. J. Comput. Appl. Math. 2003;151(1):1–12. doi: 10.1016/S0377-0427(02)00733-1. [DOI] [Google Scholar]
- 5.Han X. Cubic trigonometric polynomial curves with a shape parameter. Comput. Aided Geom. Des. 2004;21(6):535–548. doi: 10.1016/j.cagd.2004.03.001. [DOI] [Google Scholar]
- 6.Han X, Ma Y, Huang X. The cubic trigonometric Bézier curve with two shape parameters. Appl. Math. Lett. 2009;22(3):226–231. doi: 10.1016/j.aml.2008.03.015. [DOI] [Google Scholar]
- 7.Farin G. Class a Bézier curves. Comput. Aided Geom. Des. 2006;23(7):573–581. doi: 10.1016/j.cagd.2006.03.004. [DOI] [Google Scholar]
- 8.Xiang T, Liu Z, Wang W, Jiang P. A novel extension of Bézier curves and surfaces of the same degree. J. Inf. Comput. Sci. 2010;7(10):2080–2089. [Google Scholar]
- 9.Hu G, Cao H, Zhang S, Wei W. Developable Bézier-like surfaces with multiple shape parameters and its continuity conditions. Appl. Math. Model. 2017;45(C):728–747. doi: 10.1016/j.apm.2017.01.043. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Qin X, Hu G, Zhang N, Shen X, Yang Y. A novel extension to the polynomial basis functions describing Bézier curves and surfaces of degree n with multiple shape parameters. Appl. Math. Comput. 2013;223(C):1–16. [Google Scholar]
- 11.Rachid A, Yusuke S, Taishin N. Gelfond-Bézier curves. Comput. Aided Geom. Des. 2013;30(2):199–225. doi: 10.1016/j.cagd.2012.10.002. [DOI] [Google Scholar]
- 12.Yang L, Zeng X. Bézier curves and surfaces with shape parameter. Int. J. Comput. Math. 2009;86(7):1253–1263. doi: 10.1080/00207160701821715. [DOI] [Google Scholar]
- 13.Hu G, Qin X, Ji X, Wei G, Zhang S. The construction of λμ-B-spline curves and its application to rotational surfaces. Appl. Math. Comput. 2015;266:194–211. [Google Scholar]
- 14.Liu Z, Chen X, Jiang P. A class of generalized Bézier curves and surfaces with multiple shape parameters. J. Comput.-Aided Des. Comput. Graph. 2010;22(5):838–844. doi: 10.3724/SP.J.1089.2010.10801. [DOI] [Google Scholar]
- 15.Din M, Wang G. T-Bézier curves based on algebraic and trigonometric polynomials. Chinese J. Comput. 2004;27(8):1021–1026. [Google Scholar]
- 16.Zhang J, Frank L, Zhang H. Unifying C-curves and H-curves by extending the calculation to complex numbers. Comput. Aided Geom. Des. 2005;22(9):865–883. doi: 10.1016/j.cagd.2005.04.009. [DOI] [Google Scholar]
- 17.Tan J, Wang Y, Li Z. Subdivision algorithm, connection and applications of cubic H-Bézier curves. J. Comput.-Aided Des. Comput. Graph. 2009;21(5):584–588. [Google Scholar]
- 18.Han X, Huang X, Ma Y. Shape analysis of cubic trigonometric Bézier curves with a shape parameter. Appl. Math. Comput. 2010;217(6):2527–2533. [Google Scholar]
- 19.Qin X, Hu G, Yang Y, Wei G. Construction of PH splines based on H-Bézier curves. Appl. Math. Comput. 2014;238(6):460–467. [Google Scholar]
- 20.Han X, Ma Y, Huang X. A novel generalization of Bézier curve and surface. J. Comput. Appl. Math. 2008;217(1):180–193. doi: 10.1016/j.cam.2007.06.027. [DOI] [Google Scholar]
