New Cubic Trigonometric Bezier-Like Functions with Shape Parameter: Curvature and Its Spiral Segment

*is 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.*eC3 andG3 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. *e 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. *e CT-Bézier curve is closer to the cubic Bézier curve for a fixed value of shape parameter. *e proposed CTBé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.


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]. e 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]. is 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. e 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 n th with shape parameters. ese 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 C 2 continuity for single knot and C 3 and C 5 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. ese 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 alpha-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. e authors used the proposed the curve for generating the fractal curves. Hu et al. [26] proposed the generalized developable surface shape parameters. e 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. e 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. e 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. e C 3 and G 3 continuity conditions are also discussed. e shape of the curve can be rearranged by varying values of the shape parameter.
e 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. e 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. e 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.

Cubic Trigonometric Bézier Functions
For a shape parameter mε[0, 1], the proposed trigonometric (1) e graphical behavior of proposed basis functions defined in equation (1) can be observed in Figure 1. e effect of shape parameter m can also be observed in this figure.

Properties of the Basis Functions
Linearly independent: the basic functions are linearly independent, as they cannot be written as a linear combination of each other for any nonzero constant e remaining cases follow obviously.

Trigonometric Cubic Bézier Curve
For given control points p i (i � 0, 1, 2, 3) in R 2 or R 3 , the cubic trigonometric Bézier curve with a shape parameter m is defined as

Properties of CT-Bézier Curve
Theorem 2. e CT-Bézier curve defined in equation (2) satisfies the following properties: Cubic trigonometric curve always passes through the first and last control point: Geometric invariance: e 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 q is arbitrary vector in R 2 or R 3 and T is an arbitrary d × d matrix, d � 2 or 3.

Convex hull property:
e cubic curve always lies within the convex hull of control polygon.
Coordinate system independence: e proposed curve is independent of the coordinate system means by changing the coordinated curve remains unchanged.

Continuity Conditions between Two Curve Segments.
In this section, we will derive the different parametric and geometric continuity conditions between two curve segments.
All conditions are satisfied. So, G 1 continuity holds.
All conditions are satisfied. So, G 3 continuity holds.

Application of Proposed Curves
In this section, different open and closed curves have been constructed using proposed functions. e effect of shape parameter m and control points will also be observed in detail as in Figure Figure 3, we constructed the two segment curve using seven control points. e effect of first and last control point is observed in this figure. e 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.
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

Representation of Ellipse
Theorem 3. Let p i be control points for ellipse with semiaxes "k" and "n;" for suitable coordinates, coordinates of ellipse can be written in the following form: en, the corresponding CT-Bézier curve with shape parameter m � 0 and local domain u ∈ [0, 1] represents an arc of a`n ellipse with Proof. If we put the given points in equation (2), coordinates of CT-Bézier curve becomes is gives the intrinsic equation: It is equation of ellipse, and Figure 9 represents the graphical behavior of ellipse. Journal of Mathematics 7

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.
Proof. After some computation, r(0) � P 0 � B(0) and r(1) � P 3 � B(1). Since Hence, it is proved. □ Corollary 1. e 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 m � (5 − 3√2)/4, i.e., r(1/2) � B(1/2). e relation between the classic and trigonometric Bézier curve is given in Figure 10. 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 θ � 0, then curvature and its derivative values drop to zero; r(u) is not a curve, it is a line. us, a cubic trigonometric Bézier Bloss curve is nothing but just a straight line.

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.

Limitations and Future Work.
e 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
e authors declare that they have no conflicts of interest or personal relationships that could have appeared to influence the work reported in this paper.