Abstract

Adopting a recurrence technique, generalized trigonometric basis (or GT-basis, for short) functions along with two shape parameters are formulated in this paper. These basis functions carry a lot of geometric features of classical Bernstein basis functions and maintain the shape of the curve and surface as well. The generalized trigonometric Bézier (or GT-Bézier, for short) curves and surfaces are defined on these basis functions and also analyze their geometric properties which are analogous to classical Bézier curves and surfaces. This analysis shows that the existence of shape parameters brings a convenience to adjust the shape of the curve and surface by simply modifying their values. These GT-Bézier curves meet the conditions required for parametric continuity (, , , and ) as well as for geometric continuity (, , and ). Furthermore, some curve and surface design applications have been discussed. The demonstrating examples clarify that the new curves and surfaces provide a flexible approach and mathematical sketch of Bézier curves and surfaces which make them a treasured way for the project of curve and surface modeling.

1. Introduction

The study of curves and surfaces plays a very significant role in computer-aided geometric design (CAGD) and computer graphics (CG). CAGD deals with the composition and representation of free-form curves and surfaces. Numerous applications which demand free-form curves and surfaces arise in science and engineering, e.g., car bodies, ship hulls, airplane, and propeller blades. The use and effectiveness of curves in modeling are resolute by the type of input data and their consequence on the control of the resulting curve. Curves representation, related to the control points, flexible enough to bend and twist or change the curve shape by changing one or more control points as the designers' requirements are big challenges in curve modelling. For these reasons, parametric representation of curves and surfaces is mostly used to handle these challenges.

Bézier curves and surfaces have been extensively used in CG and CAGD because of their valuable properties. Bézier curves are parametric curves and are constructed by using Bernstein polynomials as basis functions. To change the shape of the classical Bézier curves, their control points are essential to be adjusted because they have no shape parameters. In CAD/CAM technology fields, creating more suitable skills of scheming and amending of Bézier curve is an important research subject. Since traditional Bézier curves can be obtained by control points and Bernstein basis functions, after creating Bézier curves and surfaces, we can construct different shapes by using parametric and geometric continuities which fulfill our design requirements. Since shape designing is a time-consuming process, usually we cannot execute our required design in one step even though by using continuity conditions, especially, when, we are going to establish some complex curves and surfaces by the help of those Bézier curves. In order to overcome this cumbersome problem, we construct GT-Bézier curves/surfaces based on GT-basis functions with two shape parameters instead of any bunch of parameters [1]. Since trigonometric Bézier curve with the shape parameters is more continuous as compared to polynomial Bézier curve, by the variation of shape parameters, we can modify the shape according to our own choice.

In practical applications, the appearance design of many products is relatively complex and cannot be illustrated by a single curve/surface. Therefore, there is a necessity to model such products using adjacent curves/surfaces with some continuities. The authors in [2] derived the geometric continuity conditions only for H-Bézier curves of degree . Hu et al. [35] also derived the continuity conditions between generalized Bézier-like surfaces with multiple shape parameters in order to resolve the issue of shape design for complex surfaces in engineering. In industrial applications, computer-aided machines have the ability to cut the shapes like circles or helices or the shapes of many objects designed with the help of straight lines and circle arcs. Therefore, it is useful to have curves piecewisely spanned by linear polynomials, sine and cosine, i.e., cycloidal splines (also called helix splines) to approximate such objects [6].

Many authors have constructed numerous varieties of Bézier curve/surface design. A class of extension of Bézier curve is constructed by Han and Liu [7], Wu et al. [8, 9], and Liu [10]. Due to the presence of one shape control parameter in all the above cited work, the control on the shape of Bézier curve has made more desirable, but still it is limited. Han et al. [11] suggested shape modification of cubic quasi-Bézier curve to enhance the shape adjustability of the curves. In [12], Qin et al. described the extension of cubic Bézier curve with different shape parameters and also its continuity conditions and applications. An extension of quartic Bézier curve with three shape parameters is presented by Zhu et al. [13], which is a continuation to a forth degree Bézier curve with a single parameter which improved the shape control of the curve. In [14], an extension of quartic Bézier curve is presented by Zhang et al. which not only inherits the outstanding properties of quadric Bézier curve but also fits the control polygon. Graphical examples with valuable design of curves and surfaces are also given in this literature. Yan and Liang [15] presented an extension of the Bézier model with all the properties. The newly created curves and surfaces by Qin et al. [16] not only have most properties of the corresponding classical Bézier curves and surfaces of order but they also help to modify the shapes by using various shape parameters. Hu et al. [17, 18] described the rotation surfaces by using polynomial basis and shape modification of various curves by using shape parameters. The generalized B-spline (GB-spline) functions of arbitrary order having all the basic properties of the curve are presented by Ksasov and Sattayatham in [19]. Zhang and Krause [20] presented the unified trigonometric basis and the hyperbolic basis with a shape parameter. The functional B-splines (FB-splines) and subdivision B-splines (SB-splines) are also presented with a geometric proof of curvature continuity for SB-splines. Lü et al. [21] constructed the trigonometric polynomial B-spline curves in which they have many similar properties to traditional B-splines. Based on the explicit representation of the curves, the subdivision formulae for this new kind of curve are also presented in this literature. Wang et al. [22] described the subdivision formulae of the new kind of NAUT B-spline curves. The generation of tensor product surfaces by these new splines and unified and extended form of three types of splines are also studied in this work.

In [23, 24], Han presented the cubic and quadratic trigonometric polynomial curves with the shape parameters. The author used them for various designing purposes with the help of continuity conditions. Nikolis and Seimenis [25] presented the special nonlinear dynamical systems by using cubic trigonometric splines. The existence of the unique spline approximation is proved, and the convergence order of the method is shown to be cubic. The methods based on various spline techniques for planning and fast modifications of a trajectory for robot manipulators are investigated by Dyllong and Visioli in [26]. Su and Zou [27] designed the manipulator trajectory using algebraic-trigonometric Hermite polynomial curves and interpolated the data points for the manipulator of these curves.

Schweikert in [28] presented the use of a linearized mathematical spline for interpolation between given points which occasionally yields extraneous inflection points for some applications. Mazure [29] defined the Chebyshev–Bernstein basis as the dual bases of the linear functional giving the control points in which they shared the same properties as the Bernstein bases in polynomial spaces. Xu and Wang [30] presented the two unified mathematic models of conics and polynomial curves by AHT Bézier curves and NUAHT B-spline curves. Zhu and Liu [31] presented a class of trigonometric Bernstein-type basis functions with four different shape parameters. The continuity conditions and various modeling are also presented in this work. Mainer et al. [32] discussed several alternatives to the rational Bézier model based on using curves generated by mixing polynomial and trigonometric functions and expressing them in bases with optimal shape preserving properties (normalized B-bases). In [33], Wang and Fang unified and extended the polynomial, trigonometric, and hyperbolic splines by a new kind of UE-spline over a space.

Bosner and Rogina in [34] proposed numerically stable algorithms for cycloidal splines. They developed a corner cutting algorithm for lower-order cycloidal curves through a straightforward generalization. Costantini et al. [35] presented the approximation power, the existence of a normalized B-basis, and the structure of a degree-raising process for spaces of the form requiring suitable assumptions on the functions. Mainer and Peña [36] presented the quadratic cycloidal curves associated to equally spaced knots and the properties of the generated curves for a specific domain. Gang et al. [37] constructed a unified approach, the generalized nonuniform B-splines, and studied the corresponding isogeometric analysis framework for solving the partial differential equation. The proposed frameworks have several advantages such as high accuracy and easy-to-compute derivatives and integrals due to the nonrational form when compared with the NURBS-IGA method.

This paper defines the work based on the construction of new GT-basis functions of order which are described by taking a set of basis functions of degree 2 with two shape parameters, with identical characteristics to the classical Bernstein basis functions. As an alternative technique of representing curves/surfaces, GT-Bézier curves/surfaces not only demonstrate the valuable characteristics of Bézier curves/surfaces but also allow efficient shape modification by altering the values of shape parameters. In order to resolve the problem of not being able to construct complex curves/surfaces using a single curve/surface, we study the parametric and geometric continuity conditions for GT-Bézier curves/surfaces of degree . The continuity conditions of and between two adjacent GT-Bézier curves and surfaces are proposed using terminal properties of GT-Bézier curves/surfaces of degree . The present GT-basis functions and GT-Bézier curves/surfaces of degree are novel for the smooth connection between two adjacent GT-Bézier curves by continuity conditions and as far as we are aware, it has never been employed for thispurpose before.

This paper is laid out as follows: in Section 2, generalized trigonometric basis functions are constructed, and their properties are discussed. The GT-Bézier curves and surfaces are proposed with their properties in Sections 3 and 7, respectively. The geometric implication of the shape parameters will be examined in Section 4. Sections 5 and 6 provide the continuity conditions, some design applications, and examples of GT-Bézier curves and surfaces. A summarized conclusion is given in Section 8.

2. GT-Basis Function

We construct the GT-basis functions by using a recursive relation in this section.

Definition 1. For and , the functionsare known as GT-basis functions of degree 2. The function described recursively for any integer asis GT-basis function of the order. In situation, when or , the function .

2.1. Properties of GT-Basis Functions

The GT-basis functions enjoy many properties as follows:(1)Partition of unity:(2)Nonnegativity: for , .(3)Terminal property: , , , , and .(4)Derivative at the corner points:where .

Using Definition 3.1, the GT-basis functions for , and 5 can be defined as follows:(1)For , we haveFigure 1(a) exhibits the curves generated by cubic GT-basis functions for (blue dotted), (green), 0.5 (red), and 1 (black dashed).(2)For , we haveFigure 1(b) depicts the graphs of quartic GT-basis functions with (blue), (red dotted), 0.5 (orange), and 1 (black dashed).(3)For , we have

The graphs of and degree GT-basis functions with shape parameters (blue dotted), (red), 0.5 (green), and 1 (black dashed) are given in Figures 1(c) and 1(d), respectively.

3. Construction of GT-Bézier Curves

Definition 2. For any given control points or and shape parameters , the GT-Bézier curve can be constructed aswhere are GT-basis functions (2).

3.1. Properties of GT-Bézier Curves

In this section, we examine the geometric properties of GT-Bézier curves which are identical to classical Bézier curves.(1)Terminal properties:If ,If ,(2)Convex hull property: the whole GT-Bézier curve segment absolutely lies inward its control polygon.(3)Geometric invariance: the shape of the GT-Bézier curve does not depend on the choice of the chosen coordinate. This property can be visualized by Figure 2. Figure 2(a) shows that black is the first curve with control points , and the blue curve is obtained by adding a point in . Yellow-dotted circle on the blue circle is obtained by the control points . Similarly, Figure 2(b) shows that black is the first curve with control points , the blue curve is represented by the control points , and the yellow-dotted curve printed on the blue curve is obtained by multiplying with a matrix

4. Geometric Implication of Shape Parameters

4.1. Correlation amid Shape Parameters and Stationary Points on the Curves

From the definition of GT-Bézier curve (8), we confirm that it is a linear function for every shape parameter, and

Therefore, there is no relationship among and and and . Modifying one shape parameter or , the point on the curve changed linearly for an unmovable control polygon and defined value of . The route modification is as follows:

Figures 3 and 4 depict the graphs of cubic and quartic GT-Bézier curves, respectively. Points marked on the cubic GT-Bézier curves relate to in red, in blue, in black, and in green, as well as on quartic GT-Bézier curves correlate to in orange, in blue, in red, and in green. From these figures, it can be concluded that, by just altering one shape parameter, the points on these curves change in a linear manner.

4.2. Affiliation among the Shape Parameters and the Shape of the Curves

The above defined characteristics of the GT-basis functions make the shape of GT-Bézier curves extraordinarily easier to modify. The appearance of the GT-Bézier curves can be attuned by changing the values of shape parameters. Figure 5 displays the graphs of cubic, quartic, and quintic GT-Bézier curves. Figure 5(a) shows the cubic GT-Bézier curves with (purple), (blue dotted), (blue), (red dashed), . The second flower presented in Figure 5(b) is designed by cubic GT-Bézier curves when (red), (green), (blue), (black dashed), . Figure 5(c) shows the flower created by quartic GT-Bézier curves with shape parameters (red dashed), (blue), (black dotted), (blue dashed), . By using different values of shape parameters, (black dotted), (red), (blue dashed), (orange), , the quintic GT-Bézier flowers are generated in Figure 5(d). Figure 6(a) represents the shape modification of an apple by changing the values of shape parameters as for (purple), (blue dotted), (red dashed dashed), , whereas Figure 6(b) illustrates different shapes of the butterfly by applying these values of shape parameters (black), (orange), .

5. Continuity of GT-Bézier Curves

The continuity conditions for connecting two GT-Bézier curve segments are described as follows:

Lemma 1. (see [16]). For two given GT-Bézier curves and with control points , , and , , respectively, the necessary and sufficient constraints for parametric continuity are given by(1) for continuity(2) and for continuity(3), , and for continuity(4), , , and for continuity

Lemma 2. (see [16]). Given control points , , and , , the necessary and sufficient constraints for connecting two GT-Bézier curve segments and are defined by(1)For continuity: .(2)For continuity: and , .(3)For continuity: , , , and the curvatureParametric and geometric continuity constraints for connecting two GT-Bézier curve segments are given in the following two theorems.

Theorem 1. For two GT-Bézier curve segments and with control points , and , respectively, the necessary and sufficient constraints of parametric continuity are derived as(1) continuity, .(2)For continuity,(3)For continuity,(4)For continuity,where , , , , and .

Proof. (1) continuity is simple and straightforward from .(2)From continuity condition, and . It is simple to obtain the required value of control from .(3) continuity condition is continuity condition in addition with , so from , and end constraints (10), continuity constraint (16) is achieved.(4) continuity can be achieved by using continuity conditions along with . From the terminal properties (9)–(11) of the GT-Bézier curves, continuity condition (17) is obtained.

Theorem 2. For two segments of GT-Bézier curves and with control points , and , the necessary and sufficient constraints of geometric continuity are defined as(1) continuity, .(2)For continuity,(3)For continuity,where .

Proof. (1)Using straightforward computations, continuity is obvious.(2) continuity condition can be achieved if and , . Using end constraints and, . From the terminal properties of the GT-Bézier curves, continuity condition (18) is obtained.(3)If both GT-Bézier curves and connect by continuity, they need to connect first by at a common joint, which meansSuppose that the vice normal vector for at and reverse normal vector of ; then, we haveBoth vice normal vectors and must have the same direction at the joint to achieve the continuity. Four vectors , , , and become coplanar by combining equations (20) and (21). Thus, we obtainAs continuity is archived, if the curvatures and for the GT-Bézier curves and , respectively, have the same value at the joint point, i.e., , using equations (20)–(22), we obtainFrom equation (23), , and substituting this value into equation (22), we haveFrom the terminal properties of the GT-Bézier curves, continuity condition (19) is obtained.

6. Examples and Discussions

Some examples and discussions about parametric and geometric continuity of GT-Bézier curves are given in this section.(1)Figure 7(a) illustrates the continuity of GT-Bézier curves of order 3, 4, and 5, respectively, with control points , , , , , , , , , , , , and for different values of shape parameters . Applying continuity conditions (15) on these GT-Bézier curves, points and for every curve can be derived as , , , and and , , , and , respectively, with decreasing values of .(2)For given control points , , , , and , Figure 7(b) represents continuity of two cubic GT-Bézier curve segments. Using continuity constraints (16) of two GT-Bézier curves, the calculated control points and for each curve according to the decreasing values of are , , , and and , , , and , respectively.(3)Figure 7(c) displays the continuity of cubic and quartic GT-Bézier curves with control points , , , , , and and shape parameters . Using conditions (19) of continuity from Theorem 2, the computed control points and for each curve corresponding to the increasing value of are given as , , , , and and , , , , and , respectively.(4)Two cubic GT-Bézier curves exhibit continuity in Figure 7(d) along with control points , , , and and shape parameters . Using conditions (17) of continuity from Theorem 1, calculated control point for each curve is , , , , and , point is , , , , and , and point is , , , , and correspondingly.

7. GT-Bézier Surfaces

7.1. Formation of the GT-Bézier Surface

The GT-Bézier surfaces of order for given points or with shape parameters are defined aswhere are GT-basis functions (2). Figures 8(a)8(d) represent the GT-Bézier vine glass, GT-Bézier vase diagrams, and GT-Bézier swept surface of different orders but with fixed values of shape parameters, whereas Figures 9(a)9(c) demonstrate the GT-Bézier surfaces of different degrees with different values of shape parameters.

7.2. Continuity of GT-Bézier Surfaces

In engineering applications, continuity between two adjacent surface patches is required, that is, at every point where the curved surfaces meet, the surfaces must have a combined tangent plane or a collective normal line to the surface [35, 38]. There exists continuity in different four types of directions between two GT-Bézier surfaces and .

7.3. Continuity in Direction on Every Surface

Two regions of GT-Bézier surfaces should have a collective edge curve to attain continuity, i.e.,which results inimplying

If , then

The normal direction at the boundary is uninterrupted for two regions of the surfaces, i.e., the joining boundary should have a mutual tangent plane to meet the continuity between two regions of the surfaces. So, we have the following condition:where is the scaling factor among their normal vectors such that . Equivalently,

Since

Substituting (32) and (33) into equation (31), we have

If , then

Continuity conditions on each surface are described in equations (29) and (35) which are the general conditions for continuity in direction. In accumulation, under continuity condition, the two surfaces need to retain the similar normal curvature at any point on their joint boundary, so the two surfaces also have to fulfil the following continuity constraints:where and are linear functions of and is a random constant. For the simplification of operation and calculation in applied submissions, generally, set [32], so the above equation can be further simplified as

Since

Substituting (38) and (39) into equation (37), we get

If , we have

To sum up, if the two surfaces and satisfy (29), (35), and (41) at the same time, the continuity in direction is achieved.

7.4. Continuity in and Direction

The condition of holding a common boundary when the surface has continuity in direction and the surface has continuity in direction isorimplying

If , then equation (44) is further simplified as

For having a common tangent plane, we have the following condition:

Since

Substituting (47) and (48) into equation (46), we obtain

If , we have

Hence, the general conditions for continuity in and direction are described in equations (41) and (46); when , then the continuity conditions are defined in equations (45) and (50).

Moreover, from smooth continuity conditions, the two surfaces are also essential to have the same normal curvature at each point on their shared boundary, so for continuity, they also required to satisfy

Substituting the boundary surfaces into equation (53), we get

When , equation (52) yields

Finally, if the two surfaces and satisfy (45), (50), and (53), then both surfaces are connected by continuity in and direction.

7.5. Continuity in Direction

The and continuity in direction of two GT-Bézier surfaces is achieved in a similar fashion as the continuity in direction of two GT-Bézier surfaces, which is discussed in Section 7.3.

7.6. Continuity in and Direction

The and continuity in direction and is obtained in a similar way as the continuity in and direction which is proved in Section 7.4.

The continuity between two GT-Bézier surfaces is also analyzed as for two GT-Bézier surfaces, the continuity in direction is achieved; when , , then the continuity between two regions of GT-Bézier surfaces has mutual control points, and the control points are taken and varied in order. For continuity in and direction, when , , then the continuity between two regions of GT-Bézier surfaces has mutual control points, and the control points are in the same straight line and changeable in order.

Figures 1015 depict the continuity surfaces between two GT-Bézier surfaces of different degrees in direction for different shape parameters and scaling factor . For the fixed values of shape parameters, the control points (or ) move closer to (away from) the control points when thevalues of the scaling factor increases (or decreases), and when is fixed and the values of shape parameters are increased (or decreased), the surfaces move closer to (away from) the control polygon (control net). This analysis shows that the piecewise GT-Bézier surface is smooth and continuous at the joint, which significantly increases the abilities to solve problems in engineering appearance design by amending the position and shape of surfaces.

8. Conclusions

New order GT-Bézier curves along with two shape parameters which share most properties with the order classical Bézier curve have been presented in this study. GT-Bézier surfaces of order have also been proposed by using GT-Bézier curves of order and . The contour of GT-Bézier curves and surfaces can be transformed not by modifying the control points but it is by varying the values of the shape parameters. Since the GT-Bézier curves and surfaces have been described by using amendable shape parameters, the connection of such curves and surfaces is unwrinkled than that of traditional Bézier curves and surfaces. In contrast with other curve-forming techniques, the technique proposed here can develop curves whose degree and mathematical complication are not increased which make it more useful in practical submissions. Some curve and surface design examples exhibit that this scheme is more convenient, flexible, and effective for both curve and surface interaction modeling and has significant mathematical and applied applications. Additionally, this scheme can be applied to generate trigonometric surfaces over triangles with adjustable shape parameters [37].

Data Availability

The experimental data used to support the findings of this study are available within this paper.

Disclosure

The second author presented this paper in C-2018-21st International Conference on Humans and Computers, March 28th and 29th, 2019, at Shizuoka University, Hamamatsu, Japan, as a keynote speaker.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

The authors are grateful to the anonymous reviewers for their helpful, valuable comments and suggestions in the improvement of this manuscript. The second author acknowledges the Department of Mechanical Engineering, Shizuoka University, Japan, for providing airfare to attend the C-2018-21st International Conference on Humans and Computers, March 28th and 29th, 2019, at Shizuoka University, Hamamatsu, Japan, as a keynote speaker.