Modeling of Free-Form Complex Curves Using SG-B é zier Curves with Constraints of Geometric Continuities

: The modeling of free-form engineering complex curves is an important subject in product modeling, graphics, and computer aided design/computer aided manufacturing (CAD/CAM). In this paper, we propose a novel method to construct free-form complex curves using shape-adjustable generalized B é zier (or SG-B é zier, for short) curves with constraints of geometric continuities. In order to overcome the difﬁculty that most of the composite curves in engineering cannot often be constructed by using only a single curve, we propose the necessary and sufﬁcient conditions for G 1 and G 2 continuity between two adjacent SG-B é zier curves. Furthermore, the detailed steps of smooth continuity for two SG-B é zier curves, and the inﬂuence rules of shape parameters on the composite curves, are studied. We also give some important applications of SG-B é zier curves. The modeling examples show that our methods in this paper are very effective, can easily be performed, and can provide an alternative powerful strategy for the design of complex curves.


Introduction
As a useful tool for shape designs and geometric representations of different kinds of products, parametric curves and surfaces have become an important research subject in CAD/CAM. Traditional Bézier curves and surfaces, which hold simple definitions and enjoy many excellent properties, are obtained by using the Bernstein basis functions. Due to this superiority, the traditional Bézier curves and surfaces have been becoming an important way to represent curves and surfaces in the CAD/CAM field. However, the Bézier method still has some shortcomings which are manifested mainly in the following two aspects: 1 the shapes of the Bézier model are only determined by their control points; 2 conic curves and surfaces cannot be represented by the Bézier method accurately. So, in order to overcome the former defect, rational Bézier curves and surfaces have been proposed in recent years whose shapes can be modified by adjusting their weight factors while keeping the control points unchanged. However, some other problems, such as complex calculations, cumbersome integrals, and repetitive differentiation [1,2] will be caused by the introduction of rational fractions. In addition, using the spline method can also realize shape control in constructing complex curves; many theories about splines can be found in [3]. Another relevant class of literature that gives more degrees of freedom for shape control relates to the degree elevation and degree reduction; see [4,5].
For the past few years, scholars have proposed various Bézier curves with shape parameters [6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22] so as to keep the advantages and increase the shape adjustability of the traditional Bézier curves. Oruc et al. [6] constructed a new kind of q-Bernstein basis function and gave the definition of q-Bézier curves. Wang et al. [7] used a selected initial function and combined it with an integral to propose some types of Bézier curves with shape parameters. To introduce one shape parameter into Bézier curves, Yan et al. [8] extended quadratic Bernstein basis functions to quartic Bernstein-like basis functions, and then utilized the De Casteljau elevation algorithm and recursive method; a class of high-degree generalized Bézier curves were obtained. In 2014, Chu [9] used Beta functions to construct a kind of Beta-Bézier basis function, and thereby give the corresponding definition of the Beta-Bézier curve with one shape parameter. Furthermore, Farin et al. [10] and Cao et al. [11] gave two different kinds of high-degree Bézier curves with single shape parameters, respectively. As only one shape parameter is contained in curves in the literature [6][7][8][9][10][11], its value can be modified to make this type of curve merely simply swing from one or two sides of classical Bézier curves. This leads to the limitation of the local shape adjustability. Scholars have carried out some studies of integrating several shape parameters into high-degree Bézier curves (see [12][13][14][15][16][17][18][19][20][21][22]) in order to improve their local shape adjustability further. The curves in [12][13][14][15][16][17][18][19][20][21][22] had something in common: 1 these curves inherited the most beneficial properties of classical Bézier curves; 2 these curves possessed multiple local shape parameters, which could be easily utilized to modify the local shapes of these curves once the control points were given. However, as shown in [12][13][14][15][16][17][18][19][20][21][22], these curves have no global shape parameters, which results in the inconvenience of global shape adjustability for the curves.
To sum up, the local shape adjustments of the curves and surfaces in [6][7][8][9][10][11] are difficult and caused by the absence of a local shape parameter, while the global shapes adjustment in [12][13][14][15][16][17][18][19][20][21][22] are inconvenient as a result of the lack of a global shape parameter. In practical engineering applications, the local or global shapes of curves or surfaces often need to be modified under the condition of the control points remaining the same. Therefore, the research on how to construct a kind of special curve and surfaces that holds shape adjustability becomes an important topic with great value. Hu et al. introduced certain polynomial curves and surfaces called SG-Bézier curves, which can be regarded as an extension of classic Bézier curves; their global and local shape can be adjusted by altering the global and local shape parameters under the condition of keeping the control points unchanged, respectively [23]. The theoretical analysis shows that the proposed SG-Bézier curves hold most of the advantages of the classical Bézier model, as well as overcomes the disadvantages of the Bézier model [6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22].
In practical engineering applications, complex curves are often constructed by using the piecewise method. In order to make the final composite curves have overall smoothness, the adjacent curves should meet some specific continuity conditions. As an important current research topic in CAD/CAM systems, the smooth continuity technology between two parametric curves has an impact on the construction of complex curves. At present, two types of standards have been established for measuring the smoothness joining between two adjacent parametric curves [24,25]: 1 parametric continuity (usually called C n continuity); and 2 geometric continuity (namely, G n continuity). Compared with the traditional Bézier curves, the SG-Bézier curves in [23] have more advantages and play a key role in representing complex curves. Nonetheless, the expressions of SG-Bézier curves are polynomials, and one will also be facing the issue of smooth joining to construct composite curves. According to the basis functions and terminal properties of SG-Bézier curves, we give the geometric continuity conditions between two SG-Bézier curves in this paper. The modeling examples show that the shape adjustability of the composite curves are more flexible, which lends itself to the wide application of the SG-Bézier curves.
The outline of this paper is as follows. The definition and properties of SG-Bézier curves are described in Section 2. In Section 3, we give the G 1 and G 2 continuity conditions for SG-Bézier curves. In Section 4, we then investigate the steps of smooth joining for SG-Bézier curves and give some examples. In Section 5, we analyze the shape adjustment of piecewise SG-Bézier curves. Finally, some practical applications are shown in Section 6. At the end of the paper, we give a short conclusion in Section 7.

Remark 1.
It can be seen that the values of the shape parameters λ j , µ j in Equation (1) meet the following constraint conditions: (a) if n is even, From the definition above, we can know that the SG-Bernstein basis functions in Equation (1) have n + 1 polynomials, each of which is of the degree n + 1. The basis functions defined by Equation (1) have n + 1 different shape parameters, which are ω, λ j , µ j , respectively. Specially, if n is even, the numbers of λ j and µ j are equal to n/2, respectively; while if n is odd, the number of λ j is equal to (n + 1)/2, and the number of µ j is equal to (n − 1)/2.
It can be verified that the SG-Bernstein basis functions l j,n (t)(j = 0, 1, · · · , n) defined by Equation (1) possess most of the properties that are similar to those of the nth-degree traditional Bernstein basis functions such as: (1) Degeneracy: If the shape parameter ω = 0, the nth-degree SG-Bernstein basis functions are just the traditional Bernstein basis functions.
(4) Symmetry: If shape parameters λ j = µ j , we have l n−j,n (t) = l j,n (1 − t) (j = 1, 2, . . . , [n/2]). (5) Linear independence: For any ω, λ j , µ j , the SG-Bernstein basis functions l j,n (t) (j = 0, 1, . . . , n) satisfy the condition of linear independence. Figure 1 shows the third-degree SG-Bernstein basis functions with different shape parameters, where the blue lines, red dotted lines, cyan dashed lines, and magenta imaginary lines correspond to the four SG-Bernstein basis functions l 0,3 (t), l 1,3 (t), l 2,3 (t) and l 3,3 (t), respectively. We can see from Figure 1 that the different shape parameters can produce various shapes for the SG-Bernstein basis functions. Similar to the traditional Bernstein basis, the SG-Bernstein basis also has the property of symmetry. Figure 1a,b shows this feature, respectively (while the curves in Figure 1c,d) do not). Figure 1 shows the third-degree SG-Bernstein basis functions with different shape parameters, where the blue lines, red dotted lines, cyan dashed lines, and magenta imaginary lines correspond to the four SG-Bernstein basis functions t l , respectively. We can see from Figure 1 that the different shape parameters can produce various shapes for the SG-Bernstein basis functions. Similar to the traditional Bernstein basis, the SG-Bernstein basis also has the property of symmetry. Figure 1a,b shows this feature, respectively (while the curves in Figure 1c,d) do not).
Given n + 1 control points P j (j = 0, 1, · · · , n), they might produce a set of SG-Bézier curves with various shapes when the shape parameters are changing with the values taken over the corresponding ranges. On the basis of the properties of SG-Bernstein basis functions, it is not difficult to prove that Symmetry 2018, 10, 545 5 of 23 the SG-Bézier curves that were defined in Equation (2) inherit a lot of properties of the classical Bézier curves, as follows: (1) Degeneracy: If shape parameter ω = 0, the SG-Bézier curve of degree n degenerates to the classical Bézier curve of degree n.
(3) Convex hull property: The SG-Bézier curve is contained in the convex hull of its defining control points.
Given n + 1 control points ) , , 1 , 0 ( n j j  = P , they might produce a set of SG-Bézier curves with various shapes when the shape parameters are changing with the values taken over the corresponding ranges. On the basis of the properties of SG-Bernstein basis functions, it is not difficult to prove that the SG-Bézier curves that were defined in Equation (2) inherit a lot of properties of the classical Bézier curves, as follows: (1) Degeneracy: If shape parameter 0 = ω , the SG-Bézier curve of degree n degenerates to the classical Bézier curve of degree n.
(2) Symmetry: For any of the given control points (4) Affine invariance: Rotations, translations, and scalings are applied to an SG-Bézier curve by applying them to its control points, that is: ( where Q is an arbitrary constant vector in R 2 or R 3 , and M∈R k×k (k = 2 or 3) is an arbitrary constant matrix. Figure 2 shows the SG-Bézier curves of degree 3. We know that SG-Bézier curves have local and global shape parameters by Definition 2. Figure 2a,b thus show the shape adjustment by modifying the global and local shape parameters, respectively. In Figure 2a    Theorem 1. The nth-degree SG-Bézier curve L n (t ; λ j , µ j , ω) holds some terminal properties as follows: Proof. On the basis of the definition and properties of the nth-degree SG-Bernstein basis functions l j,n (t) n j=0 , we can obtain the following terminal properties: The terminal properties of the SG-Bézier curves shown in Equation (3) can be obtained by combining Equations (4)- (9) with the definition of the SG-Bézier curves. This completes the proof of Theorem 1.

The Influence of Shape Parameters on the Shapes of SG-Bézier Curves
Besides the above properties, the most outstanding characteristic of the SG-Bézier curve is that it contains n + 1 different shape parameters. We can modify the local and global shape of the curve conveniently by changing its n + 1 shape parameters under the condition that the control points are kept unchanged. Therefore, it is of great important practical significance to study the influence rules of shape parameters on the SG-Bézier curves.
The geometric meaning of the shape parameters ω, λ j , µ j : 1 According to the definitions of the SG-Bernstein basis functions in Equation (1), each basis function has the shape parameter ω. Thence, the change of shape parameter ω would affect the value of each basis function, which in turn gives Symmetry 2018, 10, 545 7 of 23 rise to the change of approximation degree of the SG-Bézier curve and each control point. This finally makes the change of the global shape for the SG-Bézier curve. So, we call ω the global shape parameter. 2 Since the shape parameters λ j (j = 1, 2, · · · , [n/2] + 1) are merely contained in the adjacent basis functions l j−1,n (t) and l j,n (t), the change of λ j will greatly affect the local shape of the curve nearby P j−1 and P j . In other words, the curve will approach the control point P j−1 and be far away from the control point P j when increasing the values of λ j . Similarly, the change of µ j will greatly affect the local shape of the curve nearby P n−j and P n+1−j , which means that the curve will approach the control point P n+1−j and be far away from the control point P n−j when increasing the values of µ j . So, the shape parameters λ j and µ j are all called the local shape parameters. Figure 3 shows the SG-Bézier curves of degree 3 with different shape parameters. The corresponding shape parameters for the curves from the top to the bottom in Figure 3a are ω = 0, 0.3, 0.6, 1, respectively, where the shape parameters λ 1 , λ 2 and µ 1 are fixed. Fixing the shape parameters ω, λ 2 and λ 1 , the other shape parameters for the curves from the top to the bottom in Figure 3b are λ 1 = 1, 2, 3, 4, respectively. In Figure 3c, the shape parameters ω, λ 2 and λ 1 are fixed, and the other shape parameters for the curves from the top to the bottom are µ 1 = 1, 2, 3, 4, respectively. In Figure 3d, the corresponding shape parameters for the curves from the right to the left are λ 2 = 0, 2, 4, 6, while the other shape parameters ω, λ 1 and λ 1 are fixed.
As shown in Figure 3, the global shape of the SG-Bézier curve can be adjusted by altering the global shape parameter ω. In this way, the local shape of the SG-Bézier curve also can be modified by changing other local shape parameters. The effects of all of the shape parameters on the shape of the curve satisfy the above description of geometric significance.
The geometric meaning of the shape parameters j j μ λ ω , , : ① According to the definitions of the SG-Bernstein basis functions in Equation (1), each basis function has the shape parameter ω .
Thence, the change of shape parameterω would affect the value of each basis function, which in turn gives rise to the change of approximation degree of the SG-Bézier curve and each control point.
This finally makes the change of the global shape for the SG-Bézier curve. So, we call ω the global shape parameter. ② Since the shape parameters μ . So, the shape parameters j λ and j μ are all called the local shape parameters. Figure 3 shows the SG-Bézier curves of degree 3 with different shape parameters. The corresponding shape parameters for the curves from the top to the bottom in Figure 3a   As shown in Figure 3, the global shape of the SG-Bézier curve can be adjusted by altering the global shape parameter ω . In this way, the local shape of the SG-Bézier curve also can be modified by changing other local shape parameters. The effects of all of the shape parameters on the shape of the curve satisfy the above description of geometric significance.

Smooth Continuity Conditions of SG-Bézier Curves
In practical applications, we usually encounter some complex curves that cannot be constructed by a single curve. Using the method of piecewise to construct this kind of curve, the first problem is to discuss the continuity conditions between adjacent curves. The continuity conditions for

Smooth Continuity Conditions of SG-Bézier Curves
In practical applications, we usually encounter some complex curves that cannot be constructed by a single curve. Using the method of piecewise to construct this kind of curve, the first problem is to discuss the continuity conditions between adjacent curves. The continuity conditions for SG-Bézier curves are shown as the following theorem form:
Proof. According to Equation (2), we suppose the two splicing SG-Bézier curves that need to be smooth joining are defined as follows: If the SG-Bézier curves L n (t ; λ j,1 , µ j,1 , ω 1 ) and L m (t ; λ j,2 , µ j,2 , ω 2 ) need to achieve G 1 continuity, they are required to achieve G 0 continuity at a common joint in the first place. This signifies that one needs to combine the end of L n (t ; λ j,1 , µ j,1 , ω 1 ) with the beginning of L m (t ; λ j,2 , µ j,2 , ω 2 ), that is: Equation (13) above can be simplified to Equation (14) as follows in terms of the terminal properties of Equation (3): Equation (14) shows that the two curves reach G 0 continuity at a common joint firstly. Furthermore, for the two splicing SG-Bézier curves, the second condition of the same tangent direction at the joint should be satisfied, that is: Equation (15) above can be simplified to Equation (16) as follows on the basis of the terminal properties of the SG-Bézier curve in Theorem 1: Plugging Equation (16) into Equation (15), we have: Here, ζ > 0 is a constant, and m + ω 2 − ω 2 λ 1,2 = 0. In summary, if these two curves satisfy Equations (14) and (17) simultaneously, then they reach G 1 smooth continuity at the common joint, and hence Theorem 2 is proved.
Specifically, let us set α = 1. Then, (10) is equal to: That is, the G 1 continuity conditions will degenerate into the C 1 continuity conditions when we set α = 1, and the signs in Equation (18) are the same as that in Equation (10).
Here, a = Proof. If the SG-Bézier curves L n and L m achieve G 2 continuity, they are required to achieve G 1 continuity at a common joint in the first place, which satisfies: Assuming the vice-normal vector is H 1 for L n at t = 1 and H 2 for L m at t = 0, then we have: Then, the G 2 continuity requires that the vice-normal vector L n has the same direction at the joint as L m . According to Equations (16) and (20), we can obtain the four vectors L n (1 ; λ j,1 , µ j,1 , ω 1 ), L " n (1 ; λ j,1 , µ j,1 , ω 1 ), L m (0 ; λ j,2 , µ j,2 , ω 2 ), and L " m (0 ; λ j,2 , µ j,2 , ω 2 ), which are coplanar. Thus, using Equation (20), we have: where β > 0 is an arbitrary constant. Suppose that the curvatures of the curves L n and L m are κ 1 (1) and κ 2 (0), respectively, we obtain: According to the Equations (20), (22), and (23), the curvature κ 2 (0) is equal to: As G 2 continuity requires that the value of the curvatures κ 1 (1) is equal to the value of κ 2 (0), i.e., κ 1 (1) = κ 2 (0). Combining with Equations (23) and (24), we see that β = ζ 2 . Substituting β into Equation (22), we have: The tangent vectors of L n and L m can be computed easily on the basis of the terminal properties of the SG-Bézier curve given in Theorem 1; substituting them into Equation (25) yields: where a = To sum up, the two splicing SG-Bézier curves reach G 2 smooth continuity at a common joint if they meet Equations (20) and (26) simultaneously, thus proving Theorem 3.

The Concrete Steps of Smooth Joining between Two SG-Bézier Curves
According to the smooth continuity conditions between two splicing SG-Bézier curves discussed above, and combining with the shape adjustability of the SG-Bézier curves, now we will give the concrete steps of G 2 smooth joining between SG-Bézier curves. Meanwhile, other smooth continuity conditions can be carried out similarly.
Step 5. Finally, the G 2 smooth continuity between two splicing SG-Bézier curves can be achieved if we freely give the remaining m-2 shape parameters and control points of L m (t ; λ j,2 , µ j,2 , ω 2 ).
Apparently, a complex SG-Bézier curve with G 2 smooth continuity can be obtained by repeating the steps above. Figure 4 shows an example of 'flower' modeling, which is constructed by multiple third-degree SG-Bézier curves with C 1 smooth continuity. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 3 is constructed by the continuity conditions in Equation (18), with the blue curve reaching C 1 smooth continuity. The shape parameters for these two SG-Bézier curves of degree 3 are λ 1,1 = µ 1,1 = λ 1,2 = µ 1,2 = 2, λ 2,1 = λ 2,2 = 3 and ω 1 = ω 2 = 0.5, with the scale factor ζ = 1. Note that the control polygons and control points of each SG-Bézier curve are denoted as broken lines and circular points, respectively; and similarly hereinafter.  Figure 4 shows an example of 'flower' modeling, which is constructed by multiple third-degree SG-Bézier curves with C 1 smooth continuity. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 3 is constructed by the continuity conditions in Equation (18), with the blue curve reaching C 1 smooth continuity. The shape parameters for these two SG-Bézier curves of degree 3 are    Figure 5 shows an example of 'fish' modeling, where the main structure is composed of the cubic and quartic SG-Bézier curves reaching G 1 smooth continuity. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 4 is constructed by the G 1 continuity conditions in Equation (10), with the blue curves reaching G 1 smooth continuity. The local and global shape parameters for the cubic and quartic SG-Bézier curves are  Figure 5 shows an example of 'fish' modeling, where the main structure is composed of the cubic and quartic SG-Bézier curves reaching G 1 smooth continuity. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 4 is constructed by the G 1 continuity conditions in Equation (10), with the blue curves reaching G 1 smooth continuity. The local and global shape parameters for the cubic and quartic SG-Bézier curves are λ 1,2 = µ 1,2 = 5, λ 1,1 = µ 1,1 = λ 2,1 = 4, λ 2,2 = µ 2,2 = 8, and ω 1 = ω 2 = 0.5, with the scale factor ζ = 1/2. We can see from Figure 5 that the overall modeling of the 'fish' are smooth and natural.   Figure 5 shows an example of 'fish' modeling, where the main structure is composed of the cubic and quartic SG-Bézier curves reaching G 1 smooth continuity. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 4 is constructed by the G 1 continuity conditions in Equation (10), with the blue curves reaching G 1 smooth continuity. The local and global shape parameters for the cubic and quartic SG-Bézier curves are    Figure 6 shows an example of 'cetacean' modeling, which was constructed by the cubic and quartic SG-Bézier curves. Given the initial blue SG-Bézier curve of degree 3, the red SG-Bézier curve of degree 4 is constructed by the C 2 continuity conditions in Equation (27) with the blue curves reaching C 2 smooth continuity. The shape parameters for these two SG-Bézier curves are ω 1 = ω 2 = 0.5, λ 1,1 = µ 1,1 = 3, λ 1,2 = µ 1,2 = 4, and λ 2,1 = 5, λ 2,2 = µ 2,2 = 8, with the scale factors ζ = 1, ψ = 0. Figure 7 shows an example of 'mouse' modeling, which was constructed by two cubic SG-Bézier curves. The red curve is the given initial SG-Bézier curve of degree 3, and the blue SG-Bézier curve of degree 3 is constructed by G 2 continuity conditions in Equation (19), with the red curve reaching G 2 smooth continuity. The shape parameters for these two cubic SG-Bézier curves are λ 1,1 = λ 1,2 = µ 1,1 = µ 1,2 = 3, λ 2,1 = λ 2,2 = 5, and ω 1 = ω 2 = 0.5, with the scale factors ζ = 1, ψ = 1/2. In addition, the line of curvature corresponding to Figure 7 plotted in Figure A1 visually supports the claim on G 2 continuity (see Appendix A). SG-Bézier curve of degree 3 is constructed by G 2 continuity conditions in Equation (19), with the red curve reaching G 2 smooth continuity. The shape parameters for these two cubic SG-Bézier curves are  Figure   A1 visually supports the claim on G 2 continuity (see Appendix A).     Figure 7 shows an example of 'mouse' modeling, which was constructed by two cubic SG-Bézier curves. The red curve is the given initial SG-Bézier curve of degree 3, and the blue SG-Bézier curve of degree 3 is constructed by G 2 continuity conditions in Equation (19), with the red curve reaching G 2 smooth continuity. The shape parameters for these two cubic SG-Bézier curves are  Figure   A1 visually supports the claim on G 2 continuity (see Appendix A).      Figure 7b. The blue one is the curve before the scale factors are ready to make a modification, while the green one is the curve after each change in the values of the scale factors. The shape parameters in Figure 8 are the same as that in Figure 7b. As seen from Equation (10) and Figure 8a, for the second curve in the splicing curve, on the basis of the other control points and G 2 smooth continuity of the splicing curve remaining unchanged, the value of the scale factor ζ will change the position of the second and third control points. Similarly, Figure 8b shows the change of the third control point of the second curve in the splicing curve by altering the scale factor ψ. Analogously, the broken lines and circular points in Figure 8 represent the control polygons and control points of each SG-Bézier curve, respectively. Notice that the asterisks labeled on the control polygon denote the altered control points. curve remaining unchanged, the value of the scale factor ζ will change the position of the second and third control points. Similarly, Figure 8b shows the change of the third control point of the second curve in the splicing curve by altering the scale factor ψ . Analogously, the broken lines and circular points in Figure 8 represent the control polygons and control points of each SG-Bézier curve, respectively. Notice that the asterisks labeled on the control polygon denote the altered control points.

Shape Adjustment of the Composite SG-Bézier Curves with Smooth Continuity
According to the definition of the SG-Bézier curve, an SG-Bézier curve has one global and multiple local shape parameters. In view of this, we can modify the local or global shape under the precondition that the G 1 , G 2 and C 1 , C 2 smooth continuity of the composite curves remain unchanged. In what follows, we shall discuss the shape adjustability of the composite SG-Bézier curves with G 1 , G 2 and C 1 , C 2 continuity, which were constructed by two SG-Bézier curves. Moreover, a similar discussion can be carried out on the multiple curves case.

Shape Adjustment of the Composite SG-Bézier Curves with C 1 or G 1 Smooth Continuity
Proposition 1. For a composite SG-Bézier curve with C 1 smooth continuity, some significant conclusions can be obtained when keeping its control points and C 1 smooth continuity unchanged.
(1) We can adjust the local shape of the composite curve by altering (2) We can modify the global shape of a composite curve by altering to achieve the global shape

Shape Adjustment of the Composite SG-Bézier Curves with Smooth Continuity
According to the definition of the SG-Bézier curve, an SG-Bézier curve has one global and multiple local shape parameters. In view of this, we can modify the local or global shape under the precondition that the G 1 , G 2 and C 1 , C 2 smooth continuity of the composite curves remain unchanged. In what follows, we shall discuss the shape adjustability of the composite SG-Bézier curves with G 1 , G 2 and C 1 , C 2 continuity, which were constructed by two SG-Bézier curves. Moreover, a similar discussion can be carried out on the multiple curves case.

Shape Adjustment of the Composite SG-Bézier Curves with C 1 or G 1 Smooth Continuity
Proposition 1. For a composite SG-Bézier curve with C 1 smooth continuity, some significant conclusions can be obtained when keeping its control points and C 1 smooth continuity unchanged.

Modeling Examples of Shape Adjustment for the Composite SG-Bézier Curves with C 1 or G 1 Smooth Continuity
The rest of the shape parameters are the same as those in Figure 10a, expect for those that are modified in Figure 10.
Proof. According to the C 2 continuity conditions in Equation (27), if the control points and C 2 smooth continuity remain unchanged, we can alter the local shape of the composite curve by changing these shape parameters, which are not included in the conditions in Equation (27). Thus, conclusion (1) is proved.
As the conditions in Equation (27) involve the global shape parameters ω 1 , ω 2 and local shape parameters µ 1,1 , µ 2,1 , λ 1,2 , λ 2,2 , we merely change these shape parameters (apparently these parameters are not included in smooth continuity conditions) to adjust the shape of the composite curve while keeping the control points and C 2 smooth continuity the same. Now, we only adjust the local shape of the composite curve. So, we cannot modify the global shape only by altering the shape parameters.

Proposition 4.
For a composite SG-Bézier curve with G 2 smooth continuity, some significant conclusions can be obtained when keeping its control points and G 2 smooth continuity unchanged.
Proof. Proposition 4 can follow by the similar argument in Proposition 3. Thus, we omit the proof. Figure 11 gives an example to show the C 2 smooth continuity between two SG-Bézier curves of degree 3. In this figure, the blue curve is the given SG-Bézier curve, and the red curve is constructed by the continuity conditions in Equation (27), which together with the blue curve reaches C 2 smooth continuity. The solid lines denote the curves before adjustment, while the dashed lines and dotted lines denote the curves after the adjustment of the shape parameters. The circular points denote the points before adjustment, and the asterisks indicate the modified control points. The shape parameters in Figure 11a are ω 1 = 1, λ 1,1 = 2, µ 1,1 = 2, λ 2,1 = 3 and ω 2 = 0.5, λ 1,2 = 4, µ 1,2 = 4, λ 2,2 = 3. Figure 11b displays the global shape adjustment of the composite curve by altering the shape parameters λ 1,1 , λ 2,1 , where the shape parameters for the solid lines, dashed lines, and dotted lines are λ 1,1 = 2, λ 2,1 = 3, λ 1,1 = 0, λ 2,1 = 0, and λ 1,1 = 4, λ 2,1 = 6, respectively. Figure 11c displays the local shape adjustment by using a single shape parameter µ 1,2 , where the shape parameters are µ 1,2 = 4 (solid lines), µ 1,2 = 2 (dashed lines), and µ 1,2 = 0 (dotted lines), respectively. Based on Figure 11a, Figure 11d illustrates the global shape adjustment by modifying the shape parameters ω 1 , ω 2 , λ 1,2 . From the figure, we realize the global shape adjustment for the dashed lines merely using the shape parameters ω 1 , ω 2 (with ω 1 = ω 2 = 0.1), and the dotted lines by changing shape parameters ω 1 , ω 2 , λ 1,2 (with ω 1 = 0.5, ω 2 = 0.8, λ 1,2 = 3) . The rest of the shape parameters are equal to those in Figure 11a expect for the ones that are modified in the other three figures. Figure 12 shows the shape adjustment of G 2 smooth continuity between the two SG-Bézier curves of degree 3. The shape parameters in Figure 12a are the same as those in Figure 7b. As argued in the paragraph above, the solid line means the curves before adjustment, while the dotted lines and dashed lines are the curves after the shape parameters are changed. The circular points in Figure 12 denote the control points before adjustment, and the asterisks marked on the control polygon are the modified control points. Figure 12b displays the local shape adjustment by changing the shape parameters λ 1,1 , λ 2,1 , with the shape parameters λ 1,1 = 3, λ 2,1 = 5 (solid lines), λ 1,1 = 2, λ 2,1 = 2 (dashed lines), and λ 1,1 = 0, λ 2,1 = 0 (dotted lines). Figure 12c illustrates the local shape adjustment by using a single shape parameter µ 1,2 , with the shape parameter µ 1,2 = 3 (solid lines), µ 1,2 = 1.5 (dashed lines) and µ 1,2 = 0 (dotted lines). Figure 12d gives an example showing the global shape adjustment by modifying the shape parameters ω 1 , ω 2 , µ 1,1 . The dashed lines achieve the global shape adjustment merely by using the shape parameters ω 1 , ω 2 (with ω 1 = 0.8, ω 2 = 0.1). The dotted lines realize the global shape adjustment in Figure 12d by altering the shape parameters ω 1 , ω 2 , µ 1,1 (with ω 1 = 0.2, ω 2 = 0.8, µ 1,1 = 1). The rest of the shape parameters are all equal to those in Figure 12a expect for the ones that are modified in the other three figures. Figure 12 shows the shape adjustment of G 2 smooth continuity between the two SG-Bézier curves of degree 3. The shape parameters in Figure 12a are the same as those in Figure 7b. As argued in the paragraph above, the solid line means the curves before adjustment, while the dotted lines and dashed lines are the curves after the shape parameters are changed. The circular points in Figure  12 denote the control points before adjustment, and the asterisks marked on the control polygon are the modified control points. Figure 12b displays the local shape adjustment by changing the shape parameters

Applications
In the field of the development of CAD/CAM application software, the SG-Bézier curves provide a new powerful tool in mathematical theory as an extension of the traditional Bézier curves, which play a key role in many areas such as computer animation, computer vision, computer graphics, the manufacturing industry, and multimedia technology. In CAD/CAM, if the apparent surface of a product is a complex composite curve, the curve needs to be treated as a piecewise curve composed of multiple ones.
In order to demonstrate the approaches that can be applied to complex curve design, we will give two practical applications in this section. In computer graphics, the generation technology for different types of Chinese fonts has always been an important research topic. Figure 13 gives an example to design the curves for the script form of the Chinese character "long", which means Chinese dragon. Figure 13a is a copy of the Chinese script of "long" drawn using the drawing software INKSCAPE. In Figure 13b, the graph of the Chinese character "long" is composed of nine SG-Bézier curves. Figure 13c,d shows the local and global deformation of the graph in Figure 13b by changing the shape parameters, respectively.
give two practical applications in this section. In computer graphics, the generation technology for different types of Chinese fonts has always been an important research topic. Figure 13 gives an example to design the curves for the script form of the Chinese character "long", which means Chinese dragon. Figure 13a is a copy of the Chinese script of "long" drawn using the drawing software INKSCAPE. In Figure 13b, the graph of the Chinese character "long" is composed of nine SG-Bézier curves. Figure 13c,d shows the local and global deformation of the graph in Figure 13b by changing the shape parameters, respectively.
(a) Script form of the Chinese character "long" (b) Designing graph of the Chinese character "long" (c) Local deformed curves (d) Global deformed curves Figure 13. Nine SG-Bézier curves used to define the script form of the Chinese character "long". Figure 14 displays an example to design the curve graph of a goose by using SG-Bézier curves. In this figure, the shape curves are composed of 13 SG-Bézier curves with different shape parameters. Figure 14 displays an example to design the curve graph of a goose by using SG-Bézier curves. In this figure, the shape curves are composed of 13 SG-Bézier curves with different shape parameters.

Conclusions
In order to resolve the problem that complex curves can not be constructed by a single curve, we give the C 1 , C 2 and G 1 , G 2 smooth continuity conditions for two adjacent nth-degree SG-Bézier curves, and study the effect of shape parameters on the shapes of the composite curves. Moreover, we give the concrete steps of G 2 smooth continuity between SG-Bézier curves. Furthermore, we

Conclusions
In order to resolve the problem that complex curves can not be constructed by a single curve, we give the C 1 , C 2 and G 1 , G 2 smooth continuity conditions for two adjacent nth-degree SG-Bézier curves, and study the effect of shape parameters on the shapes of the composite curves. Moreover, we give the concrete steps of G 2 smooth continuity between SG-Bézier curves. Furthermore, we utilize some practical examples to verify the validity of the proposed continuity conditions. The theoretical analysis and modeling examples show that our proposed continuity conditions between two SG-Bézier curves are not only easy to carry out, they also make the shapes of the curves adjusted more conveniently under these conditions. This paper provides an effective scheme for the shape design and construction of complex curves in the engineering that encode the value in the future applications. Notice that the introduction of shape parameters not only brings an advantage to the shape modification of composite SG-Bézier curves, it also provides optimized parameters for the shape optimization design of the SG-Bézier ones. Therefore, the research on how to utilize the genetic algorithm [26] to solve the model of curve shape optimization, which takes the shape parameters as the optimization variables, will be addressed in our future work.