Abstract
This work presents the new cubic trigonometric Bézier-type functions with shape parameter. Basis functions and the curve satisfy all properties of classical Bézier curve-like partition of unity, symmetric property, linear independent, geometric invariance, and convex hull property and have been proved. The and continuity conditions between two curve segments have also been achieved. To check the applicability of proposed functions, different types of open and closed curves have been constructed. The effect of shape parameter and control points has been observed. It is observed that, by decreasing the value of shape parameter, the curve moves toward the control polygon and vice versa. The CT-Bézier curve is closer to the cubic Bézier curve for a fixed value of shape parameter. The proposed CT-Bézier curve can be used to represent ellipse. Using proposed basis functions, we have constructed the spiral segment which is very useful to construct fair curves and desirable to design trajectories of mobile robots, highway, and railway routes’ designing.
1. Introduction
Spline curves have been considered a major tool for the geometric modelling in computer aided geometric design. In recent past, trigonometric Bézier-like functions and curves have also attained the attention in computer aided geometric design, computer aided design, and bio-modelling [1, 2]. The concept of trigonometric B-spline (TBS) was introduced by [3], and the scheme of trigonometric B-spline with recurrence relation of the arbitrary order has been presented in [4]. A technique based on cubic Bézier curves (CBC) with the association of a shape parameter is proposed by [5]. This technique is useful for the construction of planer curves and the shape parameter is used to control the curve. Han et al. [6] proposed the trigonometric cubic Bézier curves with two shape parameters. Spiral segments are considered useful to construct fair curves and desirable to design trajectories of mobile robots, highway, and railway routes’ designing. The scheme proposed in [7] is suitable for the “S″ shaped curves. Spiral and transition curves have been constructed using CTB with appropriate conditions in [8]. And, this work has been extended to cubic Bézier curve and Bézier-like curves with exponential functions in [9].
A technique, based on quadratic trigonometric Bézier (QTB) basis functions using one shape parameter, has been introduced in [10]. Generalized trigonometric Bézier curves with one shape parameter is introduced in [11]. For corner cutting algorithm, Bosner and Rogina [12] have proposed the cycloidal splines. Wen and Wang [13] have proposed the uniform trigonometric B-spline of order with shape parameters. These basis functions are very suitable for designing the circular and elliptic type objects. Class of nonuniform B-spline basis functions with local shape parameter is presented in [14]. Using these nonuniform basis functions, one can attain the continuity for single knot and and continuity can be attained for unique shape parameters. Han [15] demonstrated the trigonometric cubic B-spline with exponential shape parameter. Cubic B-spline basis functions on uniform knot with one shape parameter are proposed in [16]. Chouby and Ojha [17] proposed the trigonometric spline curve. In this scheme, the shape parameter is a variable which is helpful in adjusting and controlling the curve and surface locally. Denominator trigonometric DT-B-spline basis function i proposed in [18] is similar to trigonometric B-spline functions. These functions have denominator shape parameter. Troll [19] introduced the trigonometric cubic Bézier curve with constrained and two shape parameters. Trigonometric B-spline basis functions of degree 2 and the quadratic NUAT-B-spline curve of many shape parameters are proposed in [20, 21]. Cubic trigonometric B-spline curve has been proposed in [22, 23]. Xie and Li [24] proposed the cubic trigonometric B-spline basis and curve with real shape parameter called -B-spline curve. Hang et al. [25] proposed the cubic B-spline curve with shape parameter and mainly focus on the quasi-uniform B-spline curve. The authors used the proposed the curve for generating the fractal curves. Hu et al. [26] proposed the generalized developable surface shape parameters. The generalized developable H-Bézier surfaces are designed by using control planes with generalized H-Bézier basis functions, and their shapes can be adjusted by altering the values of shape parameters. Kovcs and Vrady [27] introduced P-Bézier and P-B-spline curve. Cubic B-spline collocation method has been used in [28] for the numerical solution of time fractional advection diffusion equation. Crank–Nicolson with cubic B-spline has been used in [29] for the solution parabolic partial differential equation.
In this work, new trigonometric Bézier basis functions with a shape parameter are constructed. The proposed bases are more efficient as the degree of proposed bases is two but it works with four control points. We have also constructed the spiral segment using the proposed bases which is not common in literature, using trigonometric functions. The proposed basis functions and the curve satisfy all basic properties such as partition of unity, linear independency, symmetric property, convex hull property, and geometric invariance. Different curve segments are constructed using proposed basis functions. The and continuity conditions are also discussed. The shape of the curve can be rearranged by varying values of the shape parameter. The proposed CT-Bézier curve behaves like cubic Bézier curve for a specific value of the shape parameter. By decreasing the value of the shape parameter, the curve gets closer to the control polygon. The ellipse can be represented exactly using proposed cubic trigonometric Bézier curve. To illustrate the application of proposed cubic Bézier curves, different open and closed curves are designed; the constructed curves are very flexible and easy to handle.
The present work is organized as follows. In Section 2, new proposed cubic trigonometric bases functions and their properties are described. Cubic trigonometric Bézier curves, their properties, effect of shape parameter, and parametric and geometric continuity are part of Section 3. In Section 4, application of the proposed curve is discussed. In Sections 5 and 6, representation of ellipse and approximation of cubic trigonometric Bézier curve to the ordinary cubic Bézier curve is presented. In Section 7, curvature and spiral curves are discussed, and Section 8 is all about conclusions.
2. Cubic Trigonometric Bézier Functions
For a shape parameter , the proposed trigonometric Bézier-like functions , , are defined as
The graphical behavior of proposed basis functions defined in equation (1) can be observed in Figure 1. The effect of shape parameter can also be observed in this figure.

2.1. Properties of the Basis Functions
Theorem 1. Proposed trigonometric basis functions defined in equation (1) satisfy the following properties: Positivity: all trigonometric functions are positive, i.e., , for Partition of unity: sum of all trigonometric functions is one, mathematically, Symmetry: proposed functions are symmetric means; becomes and vice versa by replacing by ; mathematically, , for Linearly independent: the basic functions are linearly independent, as they cannot be written as a linear combination of each other for any nonzero constant
Proof. (a) For and , then It is observed that , i = 0, 1, 2, 3.
(b) .
The remaining cases follow obviously.
3. Trigonometric Cubic Bézier Curve
For given control points in or , the cubic trigonometric Bézier curve with a shape parameter is defined as
3.1. Properties of CT-Bézier Curve
Theorem 2. The CT-Bézier curve defined in equation (2) satisfies the following properties: Endpoint interpolation: Cubic trigonometric curve always passes through the first and last control point: Geometric invariance: The shape of a cubic trigonometric Bézier curve is independent of the choice of coordinates; i.e., equation (2) satisfies the following two equations: where is arbitrary vector in or and T is an arbitrary matrix, or 3. Convex hull property: The cubic curve always lies within the convex hull of control polygon. Coordinate system independence: The proposed curve is independent of the coordinate system means by changing the coordinated curve remains unchanged.
3.2. Continuity Conditions between Two Curve Segments
In this section, we will derive the different parametric and geometric continuity conditions between two curve segments.
3.2.1. Parametric Continuity
(i)Continuity (). It is obvious, which means continuity holds.
(ii)Continuity.as and , so continuity holds.
(iii)Continuity.as , , and , so continuity holds.
(iv)Continuity.
and as , , and , so continuity holds.
3.2.2. Geometric Continuity
(i)Continuity (). It is obvious, which means continuity holds.
(ii)Continuity.
All conditions are satisfied. So, continuity holds.
(iii)Continuity., and ; also,i.e., . So, continuity holds.
(iv)Continuity. , and as , and ; also,
All conditions are satisfied. So, continuity holds.
4. Application of Proposed Curves
In this section, different open and closed curves have been constructed using proposed functions. The effect of shape parameter and control points will also be observed in detail as in Figure 2; the open curve has been constructed using different values of as (green dashed dotted), (blue dotted), and (red solid), (black dotted), and (magenta dash dotted).

The effect of control point can be observed in Figures 3 and 4. In Figure 3, we constructed the two segment curve using seven control points. The effect of first and last control point is observed in this figure. The curve follows the direction of control point as the control point moves toward outside curve move in the same direction, as shown in Figure 3(b). Similarly, in Figure 3(d), the curve moves toward inside. Figure 4 represents the effect of second and second-last control point.

(a)

(b)

(c)

(d)

(a)

(b)

(c)

(d)
Another way to control the curve is the shape parameter. In this case, there is no need to change the control points, as shown in Figure 5. In this figure, the four-segment curve has been constructed using different values of such as (green dashed), (black dash dotted), (red solid), (blue dash dotted), and (magenta dashed). For , the curve becomes a straight line.

In Figure 6, different values of m are (magenta dotted), (black dash dotted), (red solid), (blue dash dotted), and (red dotted). The curves become the straight line when . It is observed that, by increasing the value of , the curve moves toward the control polygon, and by decreasing, it moves away from the control polygon.

To check the applicability of the proposed scheme, different closed curves using different shape parameters have also been designed in this paper, as shown in Figures 7 and 8. In Figure 7, (magenta dashed), (red dash dotted), (black solid), (blue dashed), and (magenta dash dotted), and in Figure 8, (green dashed), (black dash dotted), (red solid), (blue dash dotted), and (magenta dashed) have been used for designing.


5. Representation of Ellipse
Theorem 3. Let be control points for ellipse with semiaxes “k” and “n;” for suitable coordinates, coordinates of ellipse can be written in the following form:
Then, the corresponding CT-Bézier curve with shape parameter and local domain represents an arc of a`n ellipse with
Proof. If we put the given points in equation (2), coordinates of CT-Bézier curve becomesThis gives the intrinsic equation:It is equation of ellipse, and Figure 9 represents the graphical behavior of ellipse.

6. Approximability
For curve construction, the control polygon plays a vital role. In this section, we will develop the relation between the classic and trigonometric Bézier curve corresponding to their control polygons by adjusting the control point and shape parameter.
Theorem 4. For noncollinear control points , and , the relation between classical and trigonometric Bézier curve , , with control points are as follows:where .
Proof. After some computation, and .
SincesoHence, it is proved.
Corollary 1. The CT-Bézier curve approaches to control polygon more than the Bézier curve for
Corollary 2. CT-Bézier curve will be closer to classical Bézier curve when , i.e., .
The relation between the classic and trigonometric Bézier curve is given in Figure 10.

7. Curvature and Spiral Curve
A planer curve is defined by the set of points for real . The tangent vector of is given by . If , then the signed curvature of is defined as [11]where .
Differentiate equation (19):where .
7.1. Planer Cubic Trigonometric Bézier Spiral Segment
Given a starting point at origin, i.e., , the other points arewhere , , and . Here, is a positive angle from to . The tangent unit vectors and the unit normal vector at the beginning points of the Bézier curve, see Figure 11, from [4] are

Now, equation (22) can be written aswhere
The more general form for spiral segment is now obtained by taking the derivatives of the curvature of (12). The first three derivatives of equations (23) and (24) are
It follows from equations (19), (25), (26), (28), and (29) that the curvature of equation (23) at and are, respectively,and by using equation (20), we obtain
From equations (32) and (33), we conclude that the curve given in equation (22) is not a Bloss curve because it does not satisfy the conditions. However, if we put , then curvature and its derivative values drop to zero; is not a curve, it is a line. Thus, a cubic trigonometric Bézier Bloss curve is nothing but just a straight line.
8. Conclusions
New trigonometric cubic Bézier-like functions have been proposed in this work. Proposed bases’ functions and curves satisfy the basic properties and have been proved. Open and closed curves with different control points and shape parameters have been constructed using proposed basis to check its applicability and flexibility. Furthermore, cubic trigonometric Bézier curve behave like a classical Bézier curve and have been proved. In the end, trigonometric spiral curve segment has also been constructed using cubic trigonometric functions, which indicate that proposed basis functions can be used in CAD/CAM modelling especially road and railway track designing.
8.1. Limitations and Future Work
The proposed bases’ functions work well for all type of curves such as open and closed and are a good addition in literature; however, functions can be improved by increasing the interval of the free-shape parameter. In our future work, we will use the proposed work for the construction of craniofacial fracture and will develop the surface.
Data Availability
No data were used to support this study.
Conflicts of Interest
The authors declare that they have no conflicts of interest or personal relationships that could have appeared to influence the work reported in this paper.
Authors’ Contributions
All authors equally contributed to this work. All authors read and approved the final manuscript.