Geometric Modeling of Novel Generalized Hybrid Trigonometric Bézier-Like Curve with Shape Parameters and Its Applications

: The main objective of this paper is to construct the various shapes and font designing of curves and to describe the curvature by using parametric and geometric continuity constraints of generalized hybrid trigonometric Bézier (GHT-Bézier) curves. The GHT-Bernstein basis functions and Bézier curve with shape parameters are presented. The parametric and geometric continuity constraints for GHT-Bézier curves are constructed. The curvature continuity provides a guarantee of smoothness geometrically between curve segments. Furthermore, we present the curvature junction of complex ﬁgures and also compare it with the curvature of the classical Bézier curve and some other applications by using the proposed GHT-Bézier curves. This approach is one of the pivotal parts of construction, which is basically due to the existence of continuity conditions and different shape parameters that permit the curve to change easily and be more ﬂexible without altering its control points. Therefore, by adjusting the values of shape parameters, the curve still preserve its characteristics and geometrical conﬁguration. These modeling examples illustrate that our method can be easily performed, and it can also provide us an alternative strong strategy for the modeling of complex ﬁgures.


Introduction
Mathematical modeling, construction of curves and surfaces, and shape preserving [1][2][3][4][5][6] are very significant areas of research in computer-aided geometric design, computer-aided manufacturing, and computer graphics.Traditional Bézier curves, which is formed by the classical Bernstein basis functions and control points, have many excellent properties like symmetry, terminal properties, partition of unity, non-negativity, linear precision, integral property, convex hull property, etc.We can easily construct any shape by using parametric and geometric continuity constraints of the classical Bézier curve, but its drawback is that we cannot modify and cannot make a small adjustment in the shape of the curves design without changing the control points.To overcome this problem, we move towards those basis functions that possess shape parameters that help us to make small modifications in the shape of the curves according to our chosen values of the shape parameters.These shape parameters do not affect the physical and geometrical configuration of the curves.
In [7], Hering defined C 2 and C 3 continuous Bézier and B-spline curves with their tangent polygons.He considered the planner segmented Bézier curves and B-spline curves to present their parametric and geometric continuities.Yan [8] presented a particular family of Bézier curves with three different shape parameters, which are also known as adjustable Bézier curves.Those curves have same shape and structure like the traditional quartic Bézier curve.Schneider et al. [9] described the discrete fairing of curves and surfaces, which is based on linear curvature distribution.In [10], geometric and parametric continuities with arc length parametrization and smoothness were presented.Here, the basic results of the geometric continuity of the curve were also discussed in a self-contained way.Hu et al. [11] presented the modeling of free-form complex curves by using geometric continuities of SG-Bézier (shape-adjustable generalized Bézier) curves and also presented their properties and applications.In [12], Bashir et al., presented the C 2 and G 2 continuity conditions with their applications by using the rational quadratic trigonometric Bézier curve.They also constructed a conic section-like circle and ellipse by using this rational quadratic trigonometric Bézier curve.Usman et al. [13] constructed a new trigonometric cubic Bézier-like curve for free-form complex curve modeling with some applications in engineering.Qin et al., gave the parametric and geometric continuity conditions of GE Bézier curves and also presented the geometric significance of shape parameters in [14].
In [15], BiBi et al. presented the modeling of symmetric curves and surfaces in the 2D and 3D plane.They developed a new technique for the modeling of symmetric figures, which is very useful in our daily life.Misro et al. [16] presented a new quintic trigonometric Bézier curve with two shape parameters.Its parametric, as well as curvature continuity were also discussed in this work.In [17], Veltkamp presented the survey of the parametric and geometric continuities of curves and surfaces and also established the visibility of continuities and graphic algorithms.Hu et al., developed a method for geometric continuity constraints and different modelings by using developable λ-Bézier surfaces in [18].In [19][20][21], the modeling of different curves and surfaces by using B-spline curves and Bézier curves was presented.The techniques and algorithms were also discussed in these literature works.Sharma et al. [22] developed the shapes and modeling of the cubic trigonometric Bézier curve with two different shape parameters.In [23,24], the basis functions and their geometric and parametric continuities were presented.Moreover, the various modelings by different curves and surfaces were also presented here.Qin et al. [25] presented quartic trigonometric Bézier curves and also discussed their properties and presented their practical applications in the CAD/CAM field.In this research, the broad concept about geometric and solid modeling was also given.In [26], Han et al., presented the cubic trigonometric Bézier curve with two different shape parameters and its properties, and they also discussed the continuity constraints with the curve modeling.Hu et al., constructed the SG-Bézier curve with multiple shape parameters, and various modelings of engineering surfaces like swung surface, swept surface, rotation surface, etc., by the SG-Bézier basis were also discussed in [27].In [28], Reenu Sharma constructed the quartic trigonometric Bézier (QTB) curve with two different shape parameters and discussed the properties of the QTB curve with shape modeling and the shape control of the curves.
Bashir et al. [29] designed various curves by the class of quasi-trigonometric Bézier curves having two shape parameters.Similarly, Yang et al. [30] also discussed the class of quasi-trigonometric Bézier curves.In [31], the quadratic trigonometric spline curve with multiple shape parameters was discussed, where each segment of the spline curve was obtained by four consecutive control points.The necessary and sufficient conditions were derived in [32] for introducing the separate Bézier part in order to represent some regular curves like the cycloid, etc.In [33], the rational Bézier model was generated by mixing polynomial and trigonometric functions.The shape preserving properties were also discussed in this work.Liang [34] introduced new Bernstein basis functions and Bézier curves with their properties.Liu et al. [35] presented a class of generalized Bézier curves and surfaces with multiple shape parameters.They also presented different modelings by using these Bézier curves and surfaces.In [36], a new formulation by the class of polynomial basis functions was presented for the construction of curves and surfaces.The properties of PHcurves in geometric modeling were presented in [37].These PH curves could be computed at a speed similar to the polynomial curves.In [38], Wang et al., described the three conditions for the analysis of the curvature distribution.They also showed the significance of monotone curvature in CAGD/CAM.In [39], Yahya et al., presented the automatic generation of Arabic characters and font designing by using G 1 continuity conditions.A Bézier curve with shape parameters was presented by Wang in [40].Furthermore, its significance and properties were also discussed in this work.In [41], Han et al., presented the shape analysis of the cubic trigonometric Bézier curve with its shape parameters and also its geometric significance and continuity conditions.Hu et al. [42] introduced Q-Bézier curves with their beneficial properties and shape adjustment with its multi-valued shape parameters.Pelosi et al., presented geometric Hermite interpolation depending on the orientation of the end tangents relative to the end point displacement vector in [43].The problem of assigning tangents to a sequence of points compatible with a G 1 piecewise-PH-cubic spline interpolating of those points was also briefly addressed.Least squares approximation of Bézier coefficients with factored Hahn weights [44] provided the best constrained polynomial degree reduction with respect to the Jacobi L2-norm.This result afforded generalizations to many previous findings in the field of polynomial degree reduction.Various designs and models of C 2 algebraic-trigonometric Pythagorean hodograph splines with shape parameters were presented by González et al. [45].Here, the curvature profile of some algebraic-trigonometric Pythagoreans was also presented.
This paper defines the curvature continuity of GHT-Bézier curves of order n, (n ≥ 2), which are described by taking a set of hybrid trigonometric Bernstein basis functions of degree two with three shape parameters, with identical characteristics to the classical Bernstein basis functions.In order to resolve the problem of not being able to construct complex curves using a single curve, we study the parametric and geometric continuity conditions for GHT-Bézier curves of degree n.Here, we join the various GHT-Bézier curves of the same/different degrees to obtain our required shape.Finally, the comparison of the curvature junction by GHT-Bézier curves and classical Bézier curves and some applications by different complex modelings (by using continuity conditions) are also presented.
In this work, we make the following technical contributions: • C 3 continuity of the 2D GHT-Bézier curves.
• a set of algorithms explaining how to enforce these constraints in practice.
This paper is organized into eight sections: In Section 2, the basic preliminaries and notations about the curvature, derivative of curvature, GHT-Bernstein basis functions, and the GHT-Bézier curve with its properties are discussed.In Section 3, the geometric significance of shape parameters and the relationship between the fixed point and GHT-Bézier curve are described.Similarly, the parametric and geometric continuity of GHT-Bézier curves with their mathematical and graphical results are given in Section 4. The comparison of the curvature junction of the GHT-Bézier curve and classical Bézier curve by G 2 and G 3 continuity with their valid results is presented in Sections 5 and 6, respectively.Some applications of font designing and sketching by C 3 and G 3 continuity of GHT-Béezier curves are given in Section 7. Finally, a summarized conclusion is given in Section 8.

Preliminaries and Notations
We usually consider the Cartesian coordinate system to draw any curve.That is why we consider the control points in two tuples.
Similarly, boldface is used for points, as well as vectors.e.g., a = a x a y and the Euclidean norm of a vector a can be defined as ||a|| = a 2 x + a 2 y , where a||b represents that the vectors a and b are parallel.The derivative of a function f (θ) can be represented as f (θ).

Curvature
In mathematics, curvature is a very strong concept of geometry.Basically, curvature is the amount by which any curve deviates about its position from being a straight line.For any parametric curve S(θ), the curvature with its mathematical expression can be written as follows, For any two-dimensional curve, its parametric equation can also be written as follows: In brief, the rate of change of curvature κ(θ) is defined by taking the first derivative of Equation ( 1), and we have: where ||S (θ)|| is the magnitude of the tangent vector.Therefore, for any curvature, the radius of curvature is its reciprocal.By taking the first derivative of Equation ( 2), we obtain: (4)

GHT-Bernstein Basis Functions of Degree n
Definition 1.For any integer n, where n = 2, the quadratic hybrid trigonometric (QHT) Bernstein basis functions in terms of variable θ ∈ [0, 1] are defined as follows, For n ≥ 3, the function q i,n (θ) where (i = 0, 1, 2...., n), is recursively defined by: and is known as GHT-Bernstein basis functions as in [15].Moreover, the function q i,n (θ) = 0 if and only if i = −1 or i > n and ν, β, γ ∈ [−1, 1] are the shape parameters defined in the given domain.

Remark 1.
It is noted that the expressions given in Definition 1 differ from the ones we introduced in our earlier work [15] in that we explicitly removed the λ parameter (i.e., λ is set to zero in the current paper).We found in our experiments that this parameter was not intuitive enough for the users to control, while resulting in unnecessarily complex computations.As we prove in this work, we were able to derive sufficiently high order derivative constraints (up to C 3 and G 3 ) while keeping this parameter set to zero.We advocate therefore Definition 1 from now on.
Figure 1 illustrates the graphs for GHT-Bernstein basis functions with different values of n and by the alteration of shape parameters.The black (solid), blue (dashed), orange (dash + dotted), and green (solid) lines were obtained by varying the values of shape parameters.These four figures also depict that the GHT-Bernstein basis functions gives us the same graphical representation as the traditional Bernstein basis functions.Therefore, they must possess all basic properties of traditional Bernstein basis functions.Theorem 1.The GHT-Bernstein basis functions have the basic properties like symmetry, positivity, partition of unity, and terminal properties.

4.
End point interpolation property: For the shape parameters ν, β, γ and for given variable θ, the function satisfies the end point interpolation properties as: and the first derivatives of these functions at their end points are: Proof.The proof of the above results is as described in [15].
Consider a cubic HT-Bézier curve with the control points P * 0 = (0, 0), P * 1 = (2, 1), P * 2 = (3, 0), and P * 3 = (5, 1) and shape parameters ν, β and γ.Since, the GHT-Bézier curve possesses three different shape parameters, by varying these three shape parameters, we can see the beautiful influence on the red, blue, green, and purple (thin) lines.The black dots on these curves show the linearity of the curves.Hence, Figure 2 depicts the influence of shape parameters on the GHT-Bézier curve.Theorem 2. GHT-Bézier curves possess the various properties like the convex hull property, symmetry, shape adjustable property, and variation diminishing property.
Proof.The proof of these properties is as described in [15].

Correlation between a Fixed Point on the Curves and Shape Parameters
By using the definition of GHT-Bernstein basis functions and GHT-Bézier curves, we know that the cubic HT-Bézier curve S(θ; ν, β, γ) = ∑ 3 i=0 P * i q i,n (θ) is a function having shape parameters.Therefore, we have: )).By concluding the above relationship, we can see that by changing the shape parameters, the fixed point on the curves change linearly for an unmovable control polygon.Figure 2 depicts the graph on which the black dots are given.These points corresponds to S(0.3) on the left-hand side and S(0.7) on right-hand side.We can see that by changing the shape parameters, the points on these curves change in a linear way.

Affiliation between GHT-Bézier Curves and Shape Parameters
It was already described that the above-mentioned properties of GHT-Bézier curves illustrate that these remarkable curves can be attained according to our own desire by varying different shape parameters in their domain.Therefore, the alteration of these shape parameters can afford us an extraordinary beautification and attraction in the figures.Figure 3 shows the affiliation between the shape parameters and GHT-Bézier curves.By considering the minimum value of shape parameters, all the curves will be very close to the origin, but as we increase the values of these parameters, the curves will move away from the origin and near to the control polygon.Since GHT-Bézier curves have three distinct shape parameters, we can adjust and beautify the figures according to our own choice.Figure 3 represents the beautification of multiple colored GHT-Bézier curves of various degrees having distinct shape parameters and the influence of these shape parameters, and the shape control of the curves is also obvious in these figures.All these figures lie in the convex hull of the control polygon.

Continuity Constraints of GHT-Bézier Curves
In CAD/CAM systems, the construction of complex curves and figures is a very difficult process by using the C 2 and G 2 continuity conditions of traditional Bézier curves.While the GHT-Bézier curve has three different shape parameters, has great smoothness, and can be easily bent by adjusting the shape parameters according to our choice, it helps us to construct various complex curves by using parametric and geometric continuity constraints, which cannot be executed by classical Bézier curves.

Parametric Continuity Constraints of GHT-Bézier Curves
Theorem 3. Given two GHT-Bézier curves S 1 (θ) = ∑ n i=0 P * i q i,n (θ) and S 2 (θ) = ∑ m j=0 Q * j q j,m (θ) of the same degree, the necessary and sufficient conditions for parametric continuity at the joints are given as follows: 1.
For the C 2 continuity condition, we have:

4.
For C 3 continuity conditions, we used C 2 continuity constraints and also obtained a new fourth control point Q * 3 in C 3 continuity.Therefore, we have: Proof.For the C 0 continuity of GHT-Bézier curves, we keep both the first and second curves equal at the final and initial point of the domain respectively as S 1 (1) = S 2 (0) to obtain the control point Q * 0 .Similarly, for C 1 , C 2 , and C 3 continuity conditions, we consider the first, second, and third derivative of both curves equal like S 1 (1) = S 2 (0), S 1 (1) = S 2 (0) as in [15] and S 1 (1) = S 2 (0) to obtain the control points Q * 1 , Q * 2 , and Q * 3 given in Equations ( 12) and ( 13), respectively.

Algorithm for the Construction of Curves by Parametric Continuity Constraints
A brief algorithm about the construction of complex curves by using continuity constraints is given in this section.As we know that the smooth curves by using continuity conditions can be easily obtained and by adjusting the shape parameters, we can easily modify the curve according to our own choice as in [42].
The procedure for the construction of complex figures by parametric continuity between two GHT-Bézier curve segments is given as follows: 1.
For any curve of degree n, we consider an initial curve like S 1 (θ; ν 1 , β 1 , γ 1 ) with its shape parameters and n + 1 control points.

3.
For C 1 continuity, tangent vectors of both the initial and final curve segment will be equal at the first and last point, respectively.Then, we obtain a new control point Q * 1 of the second curve segment, and remaining control points will be left to the designer's choice.4.
Similarly, for C 2 continuity constraints, we also keep the second derivative of both curve segments equal along with C 1 continuity conditions and obtain the control point Q * 2 of the final curve while remaining control points are left to the designer's choice.5.
Finally, for C 3 continuity conditions, we consider the third derivative of both curves equal along with C 2 continuity constraints to obtain the control point Q * 3 , and remaining control points will be taken as the designer's choice.Hence, by using the above algorithm, any graphical figure can be obtained by using continuity conditions.Some constructions of figures are given below, which were obtained by using the above brief discussion.

1.
C 1 continuity of GHT-Bézier curves: It is well known that the GHT-Bézier curve has three shape parameters, and we can construct various figures by using the continuity of any two curves.Therefore, consider any two quartic GHT-Bézier curves named as W 1 (θ) and W 2 (θ) containing shape parameters ν 1 , β 1 , γ 1 and Example 1. Figure 4 represents the GHT-Bézier curves that satisfy the parametric smooth continuity constraints at their joints.
Here, in Figure 4, we consider the control points P * 0 = (0.04, 0.2), P * 1 = (0.05, 0.24), P * 2 = (0.075, 0.26), P * 3 = (0.1, 0.24), and P * 4 = (0.11, 0.2) to construct the thin curves, then the dotted curves will be obtained by C 1 continuity conditions; where Q * 0 and Q * 1 were obtained from continuity conditions and the last three control points could be adjusted according to our own choice.All these multiple thin and dotted curves could be attained by the variation of shape parameters.The different values of shape parameters are mentioned underneath the figures.

2.
C 2 continuity of GHT-Bézier curves: As we discussed above the C 1 continuity of the curves, now were turn to elaborate on the C 2 continuity of the curves.For this continuity, we again consider two quartic GHT-Bézier curves given in Equation ( 14) with three different shape parameters.We can also construct various complex curves by using C 2 continuity constraints.All the conditions are described above in Theorem 3.

C 3 continuity of GHT-Bézier curves:
Example 3. Consider any two quartic GHT-Bézier curves named as W 1 (θ) and W 2 (θ) given in Equation ( 14) having three different shape parameters.All thin curves were obtained by using the definition of the first curve, and the second curve was obtained by using continuity conditions.We just needed to adjust the last control point of the second curve.Moreover, multi-valued shape parameters are given underneath the figures, which helped us to attain various curves at different positions.

Example 4.
As discussed above, we can construct various GHT-Bézier curves of the same/different degrees by the procedure given in the above algorithms for the construction of curves by parametric continuity.Here, Figure 7 represents the C 2 and C 3 continuity between a cubic and quartic GHT-Bézier curve (curves of different degrees) with shape parameters For C 2 continuity, the control points for the initial cubic GHT-Bézier curve are P * 0 = (0.04, 0.2), P * 1 = (0.05, 0.24), P * 2 = (0.075, 0.26), and P * 3 = (0.1, 0.24), while the first three control points for the second quartic GHT-Bézier curve can be obtained by C 2 continuity condition, and the remaining two control points can be taken according to our own choice such as Q * 3 = (0.1, 0.15) and Q * 4 = (0.05, 0.14).Similarly, for C 3 continuity conditions, the control points for the initial cubic GHT-Bézier curve are P * 0 = (0.02, 0.2), P * 1 = (0.05, 0.24), P * 2 = (0.1, 0.24), and P * 3 = (0.11, 0.2), while the second GHT-Bézier curve was obtained by applying the C 3 continuity condition only on the last control point taken as Q * 4 = (0.02, 0.14).Variation in the curves could be obtained by varying the values of shape parameters as mentioned with the figures.

Geometric Continuity Constraints of GHT-Bézier Curves
Just like parametric continuity, geometric continuity also helps us to construct different complex figures.It is superior to parametric continuity because it gives us more smoothness due to the scale factor.Theorem 4. Consider any two GHT-Bézier curves S 1 (θ; ν 1 , β 1 , γ 1 ) and S 2 (θ; ν 2 , β 2 , γ 2 ) of the same degree with their shape parameters and control points P * i and Q * j , respectively.These curves meet to the geometric continuity constraints if and only if: where φ is any positive real number and ε and J are the terms that are used to generalize the control point Q * 2 in G 2 continuity.
Similarly, for G 3 continuity conditions and for both curves having degree three, we have: where, where η 1 , η 2 , a, and b are the terms used to define the large value of control point Q * 3 in G 3 continuity.
Proof.For the G 0 continuity condition, we keep both curves equal, i.e., and obtained the first control point of the second curve, i.e., For G 1 continuity constraints, we keep both curves equal and also the first derivative of both curves involving a scale factor such as, By solving the above equation, we get: Now, for G 2 continuity, first we should fulfil the G 1 continuity conditions.One more necessary condition for the G 2 continuity condition is that the curvature of first curve at the last point and the second curve at the first point should be equal, i.e., κ 1 (1) = κ 2 (0).
After the derivation of the G 2 continuity condition, now we move to find the G 3 continuity condition at which the derivative of the curvature of the first curve at the final point and the second curve at the initial point will be the same, i.e., κ 1 (1) = φκ 2 (0).The first derivative of the curvature is: and: We consider the conditions given as follows: where ψ = φ 3 and ξ = φ 2 meet the G 3 continuity constraints.Consider, where: ||, we will obtain: and by substituting this value of ϑ in ( 21), we have:

Algorithm for the Construction of Curves by Geometric Continuity Constraints
Like parametric continuity, a brief algorithm about the construction of complex curves by using geometric continuity conditions is given in this section.The procedure for the construction of figures by geometric smooth continuity between two GHT-Bézier curves is given as follows: 1.
For any curve of degree n, we consider an initial curve like S 1 (θ; ν 1 , β 1 , γ 1 ) with its shape parameters and n + 1 control points.

3.
For G 1 continuity, both the initial and final curve segments with their tangent vectors will be equal at the last and first point of the domain, respectively, and an extra positive scale factor will be added with the tangent vector of the second curve as S 1 (1) = φS 2 (0) to obtain Q * 1 in the G 1 continuity.The remaining control points will be left to the designer's choice.The new curve will be obtained smoothly by using this condition.4.
Similarly, for G 2 continuity conditions, a new point Q * 2 will be obtained by using S 1 (1) = φ 2 S 2 (0) + φS 2 (0) as in [42] along with G 1 continuity conditions while remaining control points should be taken according to our own choice to construct any complex curve.5.
Finally, for the construction of any curve by using G 3 continuity conditions, consider S 1 (1) = ψS 2 (0) + 3φ 2 S 2 (0) + φS 2 (0) along with G 2 continuity conditions to obtain the control point Q * 3 , and the remaining control points of any complex figure will be left to the designer's choice.Some constructions of complex figures by using the above algorithm are given as follows: 1.
G 1 continuity of GHT-Bézier curves: Example 5. Figure 8 depicts the graphical representation of the G 1 smooth continuity between two quartic GHT-Bézier curves (the same as defined above for parametric continuity).
The thin colored lines were obtained by using the definition of the initial curve, while dotted colored lines were constructed by using the curve, which were obtained after using continuity conditions.In Figure 8, the control points are to be taken as P * 0 = (0.04, 0.2), P * 1 = (0.05, 0.24), P * 2 = (0.075, 0.26), P * 3 = (0.1, 0.24), and P * 4 = (0.1, 0.2), and the shape parameters for each curve are given under those figures.Now, by applying the continuity constraints, which are described in Theorem 4, we can obtain the dashed curves having the shape parameters ν 2 , β 2 , and γ 2 .φ is the scale factor, which has a positive value, and it has great worth to modify the shape of the curve.By the G 1 continuity conditions, we only obtained Q * 0 and Q * 1 , while the remaining control points would be taken according to our own will.Therefore, by varying the values of shape parameters, we can see the variation in the curves given in Figure 8.
We can see the influence on the curves by altering the values of three different shape parameters.Here, we constructed the first curve by using Equation (14), and the second curve was constructed by using the G 3 continuity condition given in Theorem 4, while the last control point was taken according to our own choice.
Example 8.As described in the above algorithm for the construction of curves by geometric continuity, various figures by using the G 1 , G 2 , or G 3 continuity of curves of different degrees can also be constructed.Figure 11a represents the G 2 and G 3 continuity between a quartic and cubic GHT-Bézier curve.For G 2 continuity, we considered a quartic S 1 (θ; ν 1 , β 1 , γ 1 ) and cubic GHT-Bézier curve S 2 (θ; ν 2 , β 2 , γ 2 ).Here, in this figure, the control points P * 0 = (−0.1,0.4), P * 1 = (0.1, 0.75), P * 2 = (0.35, 0.9), P * 3 = (0.55, 0.9), and P * 4 = (0.7, 0.65) were chosen to construct the initial curves of the figure, while the curves after the joint point were constructed by the G 2 continuity condition as discussed in above algorithm.The values of multiple shape parameters and scale factors were used to construct the various curves given in the figure.
Just like G 2 continuity behaves as curvature continuity, G 3 continuity represents the derivative of curvature continuity.For G 3 continuity conditions, the derivative of the curvature of the first curve at the final point and the derivative of the curvature of the second curve at the initial point will be the same, i.e., κ 1 (1) = φκ 2 (0).Consider any two quartic GHT-Bézier curves named as g(θ) and r(θ), respectively.The control points of the first curve are given as g * 0 = (5, 15.5), g * 1 = (10, 20.5), g * 2 = (15, 25.5), g * 3 = (20, 20.5), and g * 4 = (20.05,10.89), while the control points of the second curve were obtained by using G 3 continuity conditions described in Theorem 4, and the last control point was r * 4 = (8, 5).Here, in Figure 13a, the green and black curves are joined by G 3 continuity conditions, while in Figure 13b, the comparison of the derivative of curvature by the classical Bézier curve and GHT-Bézier curve is given.The solid and dashed lines represent the derivative of the curvature of the classical Bézier curve and GHT-Bézier curve, respectively.It is obvious from Figure 13 and Tables 3 and 4 that the derivative of the curvature of the first curve at the final point and the second curve at the initial point is identical.For the classical Bézier curve, κ 1 (1) = φκ 2 (0) = 0.0934709, while for the GHT-Bézier curve, κ 1 (1) = φκ 2 (0) = 0.0767506.

Main Result
From the above discussion of curvature junction, we concluded that the GHT-Bézier curve was superior to the classical Bézier curve due to the significance that the curvature junction value for the GHT-Bézier curve could be changed as we varied the values of the shape parameter in their domain, but the curvature junction values for the classical Bézier curve always remained the same.

Applications
As an extension of the traditional Bézier curve, the GHT-Bézier curve provides a new way of mathematical theory for the excellence of CAGD and CAD.Its application range includes computer graphics, image processing, font designing, modeling of complex figures, computer vision, etc.If we need to design any complex shape by GHT-Bézier curves, then we must consider it as a piecewise curve composed of multiple ones.Those piecewise curves will be worthier if we join them by using various continuity conditions as given in Figures 14 and 15.In recent years, we have seen beautiful buildings and roads constructed by using computer technology.Therefore, currently, we can compose multiple maps of buildings, bridges, highway designs, and also sketching and various designing by the help of GHT-Bézier curves, which are very useful in daily life.As font designing and sketching are difficult to fit due to having various curves and cusps, as an application of continuity conditions, the construction of multiple complex figures is given below.

Construction of Free-Form Complex Figures by Parametric and Geometric Continuity Constraints
In order to resolve the problem of the construction of complex figures (which cannot be executed by a single curve), the C 3 and G 3 continuity conditions were derived.Since GHT-Bézier curves are capable of designing any curve of n degrees, by using any two adjacent GHT-Bézier curves having the same degrees and the above continuity conditions, multiple shapes can be constructed.
in Figure 14d, the blue circle shows the joint point between two GHT-Bézier curves connected by C 2 continuity constraints.Similarly, Figure 14e shows the complete graph of the GHT-Bézier curve, while in Figure 14f, the multi-colored dashed and dashed-dotted lines are obtained by varying the multiple shape parameters in their given domain.Just like the C 1 and C 2 continuity conditions, we can also construct various complex figures with great smoothness by using the C 3 continuity conditions of the GHT-Bézier curves.In Figure 14g-i, the graph of the English letter e is presented.In Figure 14g, multiple curves are joined to make the smooth graph, and the joint points are highlighted with tiny blue circles.Figure 14h presents the complete figure, while Figure 14i shows the beautiful figure with dashed lines, which have been obtained by varying the multiple shape parameters.
Mathematics 2020, 8, 967 26 of 31 in Figure 14d, the blue circle shows the joint point between two GHT-Bézier curves connected by C 2 continuity constraints.Similarly, Figure 14e shows the complete graph of the GHT-Bézier curve, while in Figure 14f, the multi-colored dashed and dashed-dotted lines are obtained by varying the multiple shape parameters in their given domain.Just like the C 1 and C 2 continuity conditions, we can also construct various complex figures with great smoothness by using the C 3 continuity conditions of the GHT-Bézier curves.In Figure 14g-i, the graph of the English letter e is presented.In Figure 14g, multiple curves are joined to make the smooth graph, and the joint points are highlighted with tiny blue circles.Figure 14h presents the complete figure, while Figure 14i shows the beautiful figure with dashed lines, which have been obtained by varying the multiple shape parameters.Example 10.It is well known that in geometric continuity, the tangents are collinear, and they may not have the same magnitude, while in parametric continuity, the magnitudes of the vectors are always equal.Due to Example 10.It is well known that in geometric continuity, the tangents are collinear, and they may not have the same magnitude, while in parametric continuity, the magnitudes of the vectors are always equal.Due to these distinctions, the curves obtained by geometric continuity have more smoothness as compared to the curves obtained by parametric continuity.
these distinctions, the curves obtained by geometric continuity have more smoothness as compared to the curves obtained by parametric continuity., and G 3 continuity conditions.In Figure 15a, a beautiful shape of a duck is constructed by G 1 continuity constraints.The blue circles in this figure highlight the junction between the two curves (initial curve and the curve obtained after applying continuity conditions).Similarly, Figure 15b shows the spliced graph of a duck, while the variation in curves by varying the shape parameters can be seen in Figure 15c as dashed and dashed-dotted lines.
The shape of an elephant wasis constructed by using G 2 continuity conditions.Just like Figure 15a, the tiny blue circles demonstrate the continuity conditions between the initial and final curve (the curve obtained   , and G 3 continuity conditions.In Figure 15a, a beautiful shape of a duck is constructed by G 1 continuity constraints.The blue circles in this figure highlight the junction between the two curves (initial curve and the curve obtained after applying continuity conditions).Similarly, Figure 15b shows the spliced graph of a duck, while the variation in curves by varying the shape parameters can be seen in Figure 15c as dashed and dashed-dotted lines.
The shape of an elephant wasis constructed by using G 2 continuity conditions.Just like Figure 15a, the tiny blue circles demonstrate the continuity conditions between the initial and final curve (the curve obtained after continuity conditions) segments given in Figure 15d.The very next figure gives us the splicing graph of the elephant obtained by G 2 continuity and Figure 15e shows the spliced graph.The dashed and dashed-dotted lines demonstrate the variation in the values of the shape parameters.
After G 1 and G 2 continuity conditions, now we turn to construct any figure by using G 3 continuity conditions to show the efficiency of GHT-Bézier curves in modeling and shape preserving processes.Here, C 1 parametric continuity of degree one C 2 parametric continuity of degree two C 3 parametric continuity of degree three G 1 geometric continuity of degree one G 2 geometric continuity of degree two G 3 geometric continuity of degree three

Figure 6 depicts the C 3
continuity of curves by varying different shape parameters, and the shape parameters are mentioned under each figure.

Figure 11 .
Figure 11.Geometric continuity between two GHT-Bézier curves of different degrees.(a) G 2 continuity between two GHT-Bézier curves of different degrees; (b) G 3 continuity between two GHT-Bézier curves of different degrees.

Figure 12 .
Figure 12.Graphical representation of the G 2 continuity for the GHT-Bézier curve and the classical Bézier curve.(a) G 2 continuity between two cubic GHT-Bézier curve segments; (b) comparison of the curvature between the GHT-Bézier curve and classical Bézier curve.

Figure 12 .
Figure 12.Graphical representation of the G 2 continuity for the GHT-Bézier curve and the classical Bézier curve.(a) G 2 continuity between two cubic GHT-Bézier curve segments; (b) comparison of the curvature between the GHT-Bézier curve and classical Bézier curve.

2 ΘFigure 13 .
Figure 13.Graphical representation of the G 3 continuity for the GHT-Bézier curve and classical Bézier curve.(a) G 3 continuity between two quartic GHT-Bézier curve segments; (b) comparison of the derivative of curvature between the classical Bézier curve and GHT-Bézier curve.

Figure 14 .
Figure 14.Modeling by the C 1 , C 2 , and C 3 smooth continuity of GHT-Bézier curves by varying shape parameters.(a) Joints by C 1 continuity; (b) connected graph by C 1 continuity; (c) graph of C 1 continuity by varying shape parameters; (d) joints by C 2 continuity; (e) connected graph by C 2 continuity; (f) graph of C 2 continuity by variation of shape parameters; (g) joints by C 3 continuity; (h) connected graph by C 3 continuity; (i) graph of C 3 continuity by variation of shape parameters.

Figure 14 .
Figure 14.Modeling by the C 1 C 2 , and C 3 smooth continuity of GHT-Bézier curves by varying shape parameters.(a) Joints by C 1 continuity; (b) connected graph by C 1 continuity; (c) graph of C 1 continuity by varying shape parameters; (d) joints by C 2 continuity; (e) connected graph by C 2 continuity; (f) graph of C 2 continuity by variation of shape parameters; (g) joints by C 3 continuity; (h) connected graph by C 3 continuity; (i) graph of C 3 continuity by variation of shape parameters.

Figure 15 .
Figure 15.Modeling of complex figures by G 1 , G 2 , and G 3 smooth continuity, respectively, of GHT-Bézier curves with multiple shape parameters.(a) Joints by G 1 continuity; (b) connected graph of G 1 continuity; (c) connected graph of G 1 continuity by varying shape parameters; (d) joints by G 2 continuity; (e) connected graph by G 2 continuity; (f) graph of G 2 continuity by variation of shape parameters; (g) joints by G 3 continuity; (h) connected graph of G 3 continuity; (i) graph of G 3 continuity by variation of shape parameters.

Figure 15
Figure15displays the disparate shapes constructed by G 1 , G 2 , and G 3 continuity conditions.In Figure15a, a beautiful shape of a duck is constructed by G 1 continuity constraints.The blue circles in this figure highlight the junction between the two curves (initial curve and the curve obtained after applying continuity conditions).Similarly, Figure15bshows the spliced graph of a duck, while the variation in curves by varying the shape parameters can be seen in Figure15cas dashed and dashed-dotted lines.The shape of an elephant wasis constructed by using G 2 continuity conditions.Just like Figure15a, the tiny blue circles demonstrate the continuity conditions between the initial and final curve (the curve obtained

Figure 15 .
Figure 15.Modeling of complex figures by G 1 , G 2 , and G 3 smooth continuity, respectively, of GHT-Bézier curves with multiple shape parameters.(a) Joints by G 1 continuity; (b) connected graph of G 1 continuity; (c) connected graph of G 1 continuity by varying shape parameters; (d) joints by G 2 continuity; (e) connected graph by G 2 continuity; (f) graph of G 2 continuity by variation of shape parameters; (g) joints by G 3 continuity; (h) connected graph of G 3 continuity; (i) graph of G 3 continuity by variation of shape parameters.

Figure 15
Figure15displays the disparate shapes constructed by G 1 , G 2 , and G 3 continuity conditions.In Figure15a, a beautiful shape of a duck is constructed by G 1 continuity constraints.The blue circles in this figure highlight the junction between the two curves (initial curve and the curve obtained after applying continuity conditions).Similarly, Figure15bshows the spliced graph of a duck, while the variation in curves by varying the shape parameters can be seen in Figure15cas dashed and dashed-dotted lines.The shape of an elephant wasis constructed by using G 2 continuity conditions.Just like Figure15a, the tiny blue circles demonstrate the continuity conditions between the initial and final curve (the curve obtained after continuity conditions) segments given in Figure15d.The very next figure gives us the splicing graph of the elephant obtained by G 2 continuity and Figure15eshows the spliced graph.The dashed and dashed-dotted lines demonstrate the variation in the values of the shape parameters.After G 1 and G 2 continuity conditions, now we turn to construct any figure by using G 3 continuity conditions to show the efficiency of GHT-Bézier curves in modeling and shape preserving processes.Here,

Table 1 .
Curvature values for G 2 continuity by the classical Bézier curve.

Table 1 .
Curvature values for G 2 continuity by the classical Bézier curve.

Table 2 .
Curvature values for G 2 continuity by the GHT-Bézier curve.

Table 2 .
Curvature values for G 2 continuity by the GHT-Bézier curve.

Table 3 .
Curvature values for G 3 continuity by the classical Bézier curve.

Table 4 .
Curvature values for G 3 continuity by the GHT Bézier curve. 2 2