Next Article in Journal
Generalization of Quantum Ostrowski-Type Integral Inequalities
Previous Article in Journal
Non-Isothermal Hydrodynamic Characteristics of a Nanofluid in a Fin-Attached Rotating Tube Bundle
Previous Article in Special Issue
Possibilities and Advantages of Rational Envelope and Minkowski Pythagorean Hodograph Curves for Circle Skinning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Generalized Quasi Cubic Trigonometric Bernstein Basis Functions and Its B-Spline Form

School of Mathematics, South China University of Technology, Guangzhou 510640, China
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(10), 1154; https://doi.org/10.3390/math9101154
Submission received: 28 March 2021 / Revised: 8 May 2021 / Accepted: 16 May 2021 / Published: 20 May 2021
(This article belongs to the Special Issue Computer Aided Geometric Design)

Abstract

:
In this paper, under the framework of Extended Chebyshev space, four new generalized quasi cubic trigonometric Bernstein basis functions with two shape functions α ( t ) and β ( t ) are constructed in a generalized quasi cubic trigonometric space span { 1 , sin 2 t , ( 1 sin t ) 2 α ( t ) , ( 1 cos t ) 2 β ( t ) } , which includes lots of previous work as special cases. Sufficient conditions concerning the two shape functions to guarantee the new construction of Bernstein basis functions are given, and three specific examples of the shape functions and the related applications are shown. The corresponding generalized quasi cubic trigonometric Bézier curves and the corner cutting algorithm are also given. Based on the new constructed generalized quasi cubic trigonometric Bernstein basis functions, a kind of new generalized quasi cubic trigonometric B-spline basis functions with two local shape functions α i ( t ) and β i ( t ) is also constructed in detail. Some important properties of the new generalized quasi cubic trigonometric B-spline basis functions are proven, including partition of unity, nonnegativity, linear independence, total positivity and C 2 continuity. The shape of the parametric curves generated by the new proposed B-spline basis functions can be adjusted flexibly.

1. Introduction

The construction of basis functions with good properties, including partion of unity, nonnegativity and total positivity, is a basic subject within computer aided geometric design (GAGD) and Computer Graphics (CG). Basis functions with desirable properties have an important role in curves and surfaces construction.
In order to control the shape of the curves flexibly, various spline curves possessing shape parameters have been proposed. In [1], a kind of G 2 continuous rational cubic spline curves with tension shape parameters was developed. In [2], a kind of G 2 continuous Beta-spline curves with local bias and tension parameters was proposed. In [3], in the polynomial space 1 , t , ( 1 t ) p , t q , a kind of variable degree spline curves was constructed. In [4], a kind of changeable degree spline curves was constructed. In [5], new cubic rational B-spline curves with two shape parameters were constructed. In the space span 1 , 3 t 2 2 t 3 , ( 1 t ) α , t β , a class of α β –Bernstein basis functions and the related B-spline form with two local shape parameters was proposed in [6]. In [7], a kind of λ μ –Bernstein basis functions with two exponential functions was developed in the space span { 1 , 3 t 2 2 t 3 , ( 1 t ) 3 e λ t , t 3 e μ ( 1 t ) } .
Blossom theory plays a significant role in the construction of B-splines, which is first stated in [8]. In [9], Mazure and Laurent proposed a general notion of blossom which can be extended to Chebyshev splines. In [10], the necessary and sufficient conditions for the existence of blossoms for splines with connection matrices and with sections in different four-dimensional quasi-Chebyshev spaces were explored. In [11], Mazure showed how the existence of blossoms in some spaces automatically leads to optimal bases. The approximation power and the conditions of existence of a normalized B-basis were further studied in [12]. In [13], the dimension elevation process from Quasi Extended Chebyshev spaces was analyzed and a new insight into some special cases was given. In [14], a new space of variable degree polynomial was proposed, where a Bernstein basis was shown and some generalized tension properties were given.
Some trigonometric basis functions with shape parameters have been proposed for curve design. In 2004, in the space span 1 , sin 2 t , ( 1 sin t ) 2 ( 1 λ sin t ) , ( 1 cos t ) 2 ( 1 λ cos t ) , Han presented a kind of cubic trigonometric Bernstein basis function possessing a shape parameter in [15]. In 2008, Wu and their coauthors proposed quadratic trigonometric Bernstein basis functions with shape parameters in the space span 1 , sin 2 t , ( 1 sin t ) ( 1 λ sin t ) , ( 1 cos t ) ( 1 λ cos t ) in [16]. Later, in the space span 1 , sin 2 t , ( 1 sin t ) 2 ( 1 λ sin t ) , ( 1 cos t ) 2 ( 1 μ cos t ) , a kind of cubic trigonometric Bernstein basis functions possessing two shape parameters was presented in [17], which includes the cubic trigonometric Bernstein basis functions in [15] as a special case. In 2015, in the space span 1 , sin 2 t , ( 1 sin t ) α , ( 1 cos t ) β , Zhu and Han constructed a kind of trigonometric Bernstein basis functions with two exponential shape parameters in [18]. In 2018, a class of rational trigonometric Bernstein basis functions were proposed in the space span 1 , sin 2 t , ( 1 sin t ) 2 / [ 1 + ( α 2 ) sin t ] , ( 1 cos t ) 2 / [ 1 + ( β 2 ) cos t ] in [19]. In 2019, Zhu and Liu proposed a family of trigonometric Bernstein basis functions with four shape parameters in the space span 1 , sin 2 t , ( 1 sin t ) α ( 1 λ sin t ) , ( 1 cos t ) β ( 1 μ cos t ) in [20], which includes the trigonometric Bernstein basis functions given in [15,16,17,18] as special cases. In [21], five new trigonometric blending functions possessing two shape parameters of exponential form were proposed. Recently, Majeed [22] and their coauthors proposed a kind of trigonometric B-spline curves holding the shape-adjustable quality that the classical B-spline curves does not hold.
The purpose of this paper is to propose a new kind of generalized quasi cubic trigonometric Bernstein basis functions with two shape functions α ( t ) and β ( t ) constructed in the space T α , β : = span 1 , sin 2 t , ( 1 sin t ) 2 α ( t ) , ( 1 cos t ) 2 β ( t ) , which form a normalized optimal totally positive basis and include the functions in [15,16,17,18,19,20] as special cases. In [23,24,25], the concept of normalized B-basis related to the normalized optimal totally positive basis is mentioned, which corresponds to the optimal shape preserving properties. This kind of new generalized quasi cubic trigonometric Bernstein basis functions has good generality and wide applications, as different shape functions α ( t ) and β ( t ) lead to different kinds of spaces mentioned in [15,16,17,18,19,20]. In order to construct more new basis functions conveniently, we propose some simplified constructive conditions. Based on those simplified constructive conditions, we construct three specific examples of the shape functions α ( t ) and β ( t ) , and give the corresponding applications of those three examples. What is more, after verification, the space mentioned in [19] is a special case that satisfies the simplified constructive conditions. Moreover, the corresponding quasi cubic trigonometric B-spline basis functions with two local shape functions α i ( t ) and β i ( t ) are also constructed, and the shape functions α i ( t ) and β i ( t ) satisfy some additional conditions.
The rest of this paper is organized as follows. In Section 2, the meterial and methods are introduced. In Section 3, the construction and properties of the generalized quasi trigonometric Bernstein basis and the corresponding quasi trigonometric Bézeir curves are given, including the simplified constructive conditions that the two shape functions satisfy. Three specific examples are given. Section 4 gives the definitions and properties of the generalized quasi cubic trigonometric B-spline basis functions and corresponding curves, including the additional conditions that the two shape functions satisfy. In Section 5, our conclusions are given.

2. Materials and Methods

2.1. Bernstein Basis Functions and Bézeir Curves

Definition 1.
Given control points P i R 2 or R 3 (i = 0, 1, …, n), the Bézier curve can be defined as
P ( t ) = i = 0 n P i B i , n ( t ) , t [ 0 , 1 ] ,
where the Bernstein basis functions B i , n ( t ) , i = 0 , 1 , 2 , . . . , n are defined as follows
B i , n ( t ) = C n i t i ( 1 t ) n i , i = 0 , 1 , 2 , . . . , n .
Some important properties of the Bernstein basis functions B i , n ( t ) , i = 0 , 1 , 2 , . . . , n are listed as follows.
(A) Nonnegativity. For any t [ 0 , 1 ] , B i , n ( t ) 0 , 0 i n .
(B) End-point properties. B i , n ( 0 ) = δ i , 0 , B i , n ( 1 ) = δ i , n .
(C) Partition of unity. i = 0 n B i , n ( t ) = 1 .
(D) Symmetry. B i , n ( t ) = B n i , n ( 1 t ) .
(E) Recurrence. B i , n ( t ) = ( 1 t ) B i , n 1 ( t ) + t B i 1 , n 1 ( t ) .
(F) Total positivity. For any sequence of points 0 t 0 < t 1 < . . . < t n 1 , the collocation matrix ( B j , n ( t i ) ) 0 i , j n is totally positive, which means that all its minors are nonnegative.
From the properties of Bernstein basis functions above, the following properties of Bézier curves can be obtained.
(A) Affine invariance. Since the Bernstein basis functions have the property of partition of unity, the corresponding Bézier curve has the property of affine invariance.
(B) End-point property. The starting point and end point of Bézier curve coincide with P 0 and P n .
(C) Convex hull property. Since the Bernstein basis functions have nonnegativity and partition of unity, the Bézier curve must lie inside the control polygon spanned by the control points.
(D) Symmetry. A new Bézier curve is constructed from the control vertex P i = P n i , i = 0 , 1 , , n , which has the same shape as the original Bézier curve and the opposite direction.
(E) Variation diminishing property. Since the Bernstein basis functions form a group of optimal normalized totally positive bases, the corresponding Bézier curve possesses variation diminishing property, that is no plane intersects a Bézier curve more often than it intersects the corresponding control polygon.

2.2. Extended Chebyshev Space and Blossom Theory

In this subsection, we shall give a brief presentation of Chebyshev spaces and blossom theory, which will be used further in the following construction.
Definition 2.
Given a real interval I, we call a k-dimensional space U as an Extended Chebyshev space (EC space) on I if any nonzero element of U has at most k − 1 zeros (counted with multiplicities) in I. It is said to be a complete extended Chebyshev space (ECC space) on I if there exists a nested sequence
U 1 U 2 U 3 U k 1 U k = U ,
where U i is an i-dimensional EC space on I, for i = 1, 2, …, k.
Remark 1.
On a closed bounded interval I = [a, b], an EC space is an ECC space.
The related proofs are given in [26].
Remark 2.
A given k-dimensional subspace U is an ECC space on I iff there exists k positive functions w i ( i = 1 , 2 , . . . k ) such that U = K e r D L k , where D stands for the ordinary differentiation and w i ( i = 1 , 2 , . . . k ) are called weight functions associated with U. For L 1 , . . . , L k , the differential operators are defined by
L i U = 1 w 1 U , i = 1 , 1 w i ( L i 1 U ) , i 2 .
Blossom is a useful tool for curves and surfaces construction, and it is especially powerful when used to analyze splines. More details are shown in [8]. Using means of intersections of convenient osculating flats, it is possible to define a notion of blossom.
Definition 3.
A geometrically regular function of order k, Φ : I A , is said to be a piecewise smooth Chebyshev function of order k on I, if for all distinct points τ 1 , τ 2 , . . . , τ r I and all positive integers μ 1 , μ 2 , . . . , μ r whose sum is equal to k, the affine flat i = 1 r O s c k μ i Φ ( τ i ) consists of a single point. The function φ : I k A so defined is called the blossom of Φ. It is a symmetric function and it satisfies
φ ( t k ) = Φ ( t ) , t I .
Let ε be the associated space of Φ. For any affine map h: aff I m ( Φ ) C , the blossom of the ε-function F = h Φ will be defined by
f = h φ .
The detailed proofs and properties are given in [27].

3. Generalized Quasi Cubic Trigonometric Bernstein Basis Functions

3.1. Construction and Properties

In this subsection, for t [ 0 , π / 2 ] , we shall work with the generalized quasi cubic trigonometric function space T α , β : = span 1 , sin 2 t , ( 1 sin t ) 2 α ( t ) , ( 1 cos t ) 2 β ( t ) , which possesses good generality. In the cases of [15,16,17,18,19,20], the expressions of the shape functions are
α ( t ) = 1 λ sin t , β ( t ) = 1 λ cos t , α ( t ) = 1 λ sin t 1 sin t , β ( t ) = 1 λ cos t 1 cos t , α ( t ) = 1 λ sin t , β ( t ) = 1 μ cos t ,
α ( t ) = ( 1 sin t ) α 2 , β ( t ) = ( 1 cos t ) β 2 , α ( t ) = 1 1 + ( α 2 ) sin t , β ( t ) = 1 1 + ( β 2 ) cos t , α ( t ) = ( 1 sin t ) α 2 ( 1 λ sin t ) , β ( t ) = ( 1 cos t ) β 2 ( 1 μ cos t ) ,
respectively. The corresponding properties and applications have been stated in detail in [15,16,17,18,19,20].
In order to construct more new basis functions conveniently, here we give some simplified constructive conditions that α ( t ) , β ( t ) C 3 [ 0 , π / 2 ] satisfy
α ( t ) > 0 , α ( t ) 0 , α ( t ) 1 3 α ( t ) , α ( t ) 0 , β ( t ) > 0 , β ( t ) 0 , β ( t ) 1 3 β ( t ) , β ( t ) 0 , α ( 0 ) = 1 , β ( π / 2 ) = 1 .
The expression of the associated mother-function is
Φ ( t ) : = sin 2 t , ( 1 sin t ) 2 α ( t ) , ( 1 cos t ) 2 β ( t ) , t [ 0 , π / 2 ] .
Firstly, we are about to show that the following space
D T α , β = s p a n sin 2 t , ( sin 2 t 2 cos t ) α ( t ) + ( 1 sin t ) 2 α ( t ) , ( 2 sin t sin 2 t ) β ( t ) + ( 1 cos t ) 2 β ( t )
is a 3-dimensional EC-space on [ 0 , π / 2 ] . Then by Theorem 2.1 of [28], we can see the existence of blossom in T α , β , which implies that the new space T α , β is suited for curves design.
Theorem 1.
For any α ( t ) and β ( t ) satisfying Equation (1), the space D T is a 3-dimensional EC-space on [ 0 , π / 2 ] .
Proof of Theorem 1.
For any ξ i R , i = 0 , 1 , 2 , t [ 0 , π / 2 ] , we consider a linear equation
ξ 0 sin 2 t + ξ 1 ( sin 2 t 2 cos t ) α ( t ) + ( 1 sin t ) 2 α ( t ) + ξ 2 ( 2 sin t sin 2 t ) β ( t ) + ( 1 cos t ) 2 β ( t ) = 0 .
For t = 0 , from Equation (3), we can immediately obtain ξ 1 = 0 . Similarly, for t = π / 2 , from Equation (3), we can obtain ξ 2 = 0 . Furthermore, finally, we can draw the conclusion that ξ 0 = 0 . Thus, the space D T α , β is a 3-dimensional space on [ 0 , π / 2 ] .
Next, we are about to prove that the space D T α , β is a 3-dimensional ECC-space in ( 0 , π / 2 ) . For any t [ a , b ] ( 0 , π / 2 ) , let
u ( t ) = ( 1 sin t ) 2 α ( t ) + ( sin 2 t 2 cos t ) α ( t ) sin 2 t = 1 ( sin 2 t ) 2 sin 2 t ( 1 sin t ) 2 α ( t ) 2 ( sin t 1 ) 2 ( 4 sin t + 2 sin 2 t + 1 ) α ( t ) + 4 cos 3 t α ( t ) > 0 ,
and
v ( t ) = 2 sin t ( 1 cos t ) β ( t ) + ( 1 cos t ) 2 β ( t ) sin 2 t = 1 ( sin 2 t ) 2 sin 2 t ( 1 cos t ) 2 β ( t ) + 2 ( cos t 1 ) 2 ( 2 cos 2 t + 4 cos t + 1 ) β ( t ) + 4 sin 3 t β ( t ) > 0 .
The computation of derivatives gives that
u ( t ) = 1 ( sin 2 t ) 4 16 sin t ( sin 2 t 1 ) 2 ( sin 2 t 2 ) α ( t ) + sin 2 t ( 1 sin t ) 9 cos 4 t + 8 sin t ( 4 cos 2 t 1 ) α ( t ) 16 cos 2 t sin 2 t ( sin t 1 ) 2 ( sin 2 t + 3 sin t + 1 ) α ( t ) + ( 1 sin t ) 2 sin 3 2 t α ( t ) < 0 , v ( t ) = 1 ( sin 2 t ) 4 16 cos t ( cos 2 t 1 ) 2 ( 2 cos 2 t ) β ( t ) + sin 2 t ( 1 cos t ) 9 cos 4 t + 8 cos t ( 4 sin 2 t 1 ) β ( t ) + 16 cos 2 t sin 2 t ( cos t 1 ) 2 ( cos 2 t + 3 cos t + 1 ) β ( t ) + ( 1 cos t ) 2 sin 3 2 t β ( t ) > 0 .
Thus, the expression of the Wronskian of u ( t ) and v ( t ) gives that
W ( u , v ) ( t ) = u ( t ) v ( t ) u ( t ) v ( t ) > 0 , t [ a , b ] .
For t [ a , b ] , three weight functions w i ( t ) ( i = 0 , 1 , 2 ) are defined as follows
w 0 ( t ) = sin 2 t , w 1 ( t ) = η 1 u ( t ) + η 2 v ( t ) , w 2 ( t ) = η 3 W ( u , v ) ( t ) η 1 u ( t ) + η 2 v ( t ) 2 ,
where η j ( j = 1 , 2 , 3 ) are three arbitrary positive real numbers. It is obvious that these weight functions w i ( t ) ( i = 0 , 1 , 2 ) are bounded, positive and C on [ a , b ] . Consider the following ECC-space defined by the weight functions w i ( t ) ( i = 0 , 1 , 2 )
u 0 ( t ) = w 0 ( t ) , u 1 ( t ) = w 0 ( t ) a t w 1 ( t 1 ) d t 1 , u 2 ( t ) = w 0 ( t ) a t w 1 ( t 1 ) a t 1 w 2 ( t 2 ) d t 2 d t 1 ,
it is easy to check that these functions u i ( t ) ( i = 0 , 1 , 2 ) are in fact some linear combinations of sin 2 t , ( sin 2 t 2 cos t ) α ( t ) + ( 1 sin t ) 2 α ( t ) , ( 2 sin t sin 2 t ) β ( t ) + ( 1 cos t ) 2 β ( t ) , which implies that the space D T α , β is an ECC-space on [ a , b ] . As [ a , b ] are arbitrary subintervals of ( 0 , π / 2 ) , we can draw the conclusion that the space D T α , β is an ECC-space in ( 0 , π / 2 ) .
Next, we are about to prove that the space D T α , β is also an EC-space on [ 0 , π / 2 ] . We only need to prove that any nonzero element of the space D T α , β has at most two zeroes (counting multiplicities as far as possible up to 2) on [ 0 , π / 2 ] . For t [ 0 , π / 2 ] , consider the nonzero function
F ( t ) = C 0 sin 2 t + C 1 ( sin 2 t 2 cos t ) α ( t ) + ( 1 sin t ) 2 α ( t ) + C 2 ( 2 sin t sin 2 t ) β ( t ) + ( 1 cos t ) 2 β ( t ) .
Since the space D T α , β is an ECC-space in ( 0 , π / 2 ) , F ( t ) has at most 2 zeroes in ( 0 , π / 2 ) . If we assume that the function F ( t ) vanishes at 0, then we can obtain that C 1 = 0 . In this case, if C 2 = 0 , then F ( t ) has a singular zero at 0 and a singular zero at 1. If C 0 = 0 , it is obvious that 0 is a double zero of F ( t ) . If C 0 C 2 > 0 , F ( t ) vanishes only one time at 0 and it does not vanish anywhere else on ( 0 , π / 2 ] . If C 0 C 2 < 0 , F ( t ) vanishes only one time at 0 and it does not vanish at π / 2 . For t ( 0 , π / 2 ) , the computation of the second derivative of F(t) gives that
F ( t ) = 4 C 0 sin 2 t + C 2 [ 2 sin t ( 4 cos t 1 ) β ( t ) + 6 ( cos t cos 2 t ) β ( t ) + 6 sin t ( 1 cos t ) β ( t ) + ( 1 cos t ) 2 β ( t ) ] .
When C 0 < 0 , then C 2 > 0 , in (0, π / 2 ), it is obvious that 4 sin 2 t < 0 and 9 16 ( cos t 1 4 ) 2 > 0 . By applying the condition β ( t ) 1 3 β ( t ) in Equation (1), we have
2 sin t ( 4 cos t 1 ) β ( t ) + 6 ( cos t cos 2 t ) β ( t ) + 6 sin t ( 1 cos t ) β ( t ) + ( 1 cos t ) 2 β ( t ) 2 sin t ( 4 cos t 1 ) β ( t ) + 6 ( 9 8 2 ( cos t 1 4 ) 2 ) β ( t ) + 2 sin t ( 1 cos t ) β ( t ) + ( 1 cos t ) 2 β ( t ) = 6 sin t cos t β ( t ) + 12 9 16 ( cos t 1 4 ) 2 β ( t ) + ( 1 cos t ) 2 β ( t ) > 0 ,
so F ( t ) > 0 . When C 0 > 0 and C 2 < 0 , F ( t ) < 0 . Thus, F ( t ) is a monotonic function in (0, π / 2 ). By Rolle’s theorem, we can conclude that F ( t ) has at most one zero in (0, π / 2 ). Similarly, by analyzing the case that F ( t ) vanishes at π / 2 , we can also obtain the conclusion that F ( t ) has at most two zeroes on [ 0 , π / 2 ] . Summarizing, the space D T α , β is an EC-space on [ 0 , π / 2 ] . □
Since the space D T α , β is an EC-space on [ 0 , π / 2 ] , by Theorem 4.1 of [28], we can obtain that the space T α , β has a kind of normalized Bernstein basis on [ 0 , π / 2 ] . In the following theorem, we shall give the expression of Chebyshev–Bézier points of the mother-function Φ ( t ) defined in Equation (2) and the associated generalized quasi cubic trigonometric Bernstein basis B i : = B i ( 0 , π / 2 ) of the space T α , β .
Theorem 2.
The four Chebyshev–Bézier points P i : = P i ( 0 , π / 2 ) of the mother-function Φ ( t ) defined in Equation (2) are given by
P 0 = ( 0 , 1 , 0 ) , P 1 = ( 0 , 0 , 0 ) , P 2 = ( 1 , 0 , 0 ) , P 3 = ( 1 , 0 , 1 ) .
Moreover, the associated four generalized quasi cubic trigonometric Bernstein basis functions B i : = B i ( 0 , π / 2 ) ( i = 0 , 1 , 2 , 3 ) of the space T α , β are given by
B 0 ( t ) = ( 1 sin t ) 2 α ( t ) , B 1 ( t ) = 1 ( sin t ) 2 ( 1 sin t ) 2 α ( t ) , B 2 ( t ) = ( sin t ) 2 ( 1 cos t ) 2 β ( t ) , B 3 ( t ) = ( 1 cos t ) 2 β ( t ) .
Proof of Theorem 2.
From the definition of the mother-function Φ ( t ) given in Equation (2), we have
Φ ( 0 ) = ( 0 , 1 , 0 ) , Φ ( π / 2 ) = ( 1 , 0 , 1 ) , Φ ( 0 ) = ( 0 , 2 + α ( 0 ) , 0 ) , Φ ( π / 2 ) = ( 0 , 0 , 2 + β ( π / 2 ) ) , Φ ( 0 ) = ( 2 , 2 4 α ( 0 ) + α ( 0 ) , 0 ) , Φ ( π / 2 ) = ( 2 , 0 , 2 + 4 β ( π / 2 ) + β ( π / 2 ) ) .
Thus, by simply computing, we have
P 0 = Φ ( 0 ) = ( 0 , 1 , 0 ) , P 3 = Φ ( π / 2 ) = ( 1 , 0 , 1 ) , P 1 = Os c 1 Φ ( 0 ) Os c 2 Φ ( π / 2 ) = ( 0 , 0 , 0 ) , P 2 = Os c 2 Φ ( 0 ) Os c 1 Φ ( π / 2 ) = ( 1 , 0 , 0 ) .
For any t [ 0 , π / 2 ] , from Φ ( t ) = i = 0 3 B i ( t ) P i together with i = 0 3 B i ( t ) = 1 , we can easily deduce the expressions of the generalized quasi cubic trigonometric Bernstein basis B i ( t ) , i = 0 , 1 , 2 , 3 . □
Remark 3.
By analyzing the expressions of the generalized quasi cubic trigonometric Bernstein basis functions B i ( t ) ( i = 0 , 1 , 2 , 3 ) given in Equation (5), it is easy to conclude that these basis functions possess the properties of linear independence, nonnegativity and partition of unity. What is more, for i = 0 , 1 , 2 , 3 , the end-point properties are given as follows
B 0 ( j ) ( 0 ) = 1 , j = 0 , 1 , 2 , B i ( j ) ( 0 ) = 0 , i = 1 , 2 , j = 0 , 1 , , i 1 , B i ( j ) ( π / 2 ) = 0 , i = 1 , 2 , j = 0 , 1 , , 3 i , B 3 ( j ) ( π / 2 ) = 1 , j = 0 , 1 , 2 .
Moreover, B 0 ( t ) vanishes two times at π / 2 and B 3 ( t ) vanishes two times at 0 (counting multiplicities as far as possible up to 2). Therefore, by Definition 2.10 of [28], we can see that the system B 0 ( t ) , B 1 ( t ) , B 2 ( t ) , B 3 ( t ) is precisely the normalized Bernstein basis of the space span T α , β , which indicates that the generalized quasi cubic trigonometric Bernstein basis is totally positive and possesses optimal shape preserving properties. In [23,24,25], the concept of normalized B-basis conincides with the normalized Bernstein basis, which corresponds to the optimal shape preserving properties.
These shape preserving properties mainly include monotonicity preserving and variation diminishing, with more details stated in [23,24,25,29,30]. On the one hand, monotonicity preserving indicates that the curve has the same monotonicity as the monotone control points, and the length of the generated parametric curves is bounded above by the length of their control polygon. If the control polygon is planar and convex, then the curve is also planar and convex. On the other hand, the basis functions have variation diminishing property, so the curve never crosses a hyperplane more often than its control polygon does.
There are many shape functions that satisfy Equation (1). Here we analyze three specific examples and show some plots of these examples. In order to state conveniently, in the following discussion, we will also denote the four generalized quasi cubic trigonometric Bernstein basis functions as B i ( t ; α ( t ) , β ( t ) ) , i = 0 , 1 , 2 , 3 , or B i ( t ; α ( t ) ) , i = 0 , 1 , and B i ( t ; β ( t ) ) , i = 2 , 3 .
Example 1.
We consider the simple example without parameters. The expressions of the shape functions are
α ( t ) = 2 π 2 ( π / 2 t cos t ) , β ( t ) = 2 π 2 ( t sin t ) .
Next, we analyze that these two shape functions of Equation (6) satisfy Equation (1) mentioned above. By substituting the endpoint value 0 and π / 2 and calculating the corresponding derivation, we have
α ( 0 ) = 1 , α ( t ) = 2 π 2 ( sin t 1 ) 0 , α ( t ) = 2 π 2 ( sin t ) 0 .
Then, we will prove α ( t ) = 2 π 2 ( π / 2 t cos t ) 0 . By simple analysis, we have
( t + cos t ) = 1 sin t 0 , t + cos t π / 2 + cos ( π / 2 ) = π / 2 ,
which implies that α ( t ) = 2 π 2 ( π / 2 t cos t ) 0 . We shall further prove α ( t ) 1 3 α ( t ) 0 . For this, we only need to prove that
α ( t ) 1 3 α ( t ) = 2 π 2 cos t 1 3 ( π / 2 t cos t ) = 2 3 ( π 2 ) ( 4 cos t + t π 2 ) 0 .
Suppose
f 1 ( t ) = 4 cos t + t , f 1 ( t ) = ( 4 cos t + t ) = 1 4 sin t .
So f 1 ( t ) reaches the maximum value when t = a r c sin ( 1 4 ) and reaches the minimum value when t= π / 2 , since
m i n f 1 ( 0 ) , f 1 ( π / 2 ) = f 1 ( π / 2 ) = π / 2 ,
so we have 4 cos t + t π / 2 . So α ( t ) satisfies Equation (1). The analysis of β ( t ) is the same. The figure of the corresponding generalized quasi cubic trigonometric Bernstein basis functions defined in Equation (5) are shown below in Figure 1.
Example 2.
We consider the shape functions with denominator parameters. The expression of the shape functions are
α ( t ) = ( 1 sin t ) p 1 + λ sin t , β ( t ) = ( 1 cos t ) q 1 + μ cos t ,
where λ , μ 1 / 2 , p , q = 0 , 1 . Next, we analyze that these two shape functions satisfy Equation (1) mentioned above. When p = q = 0 , it has been stated in [6] in detail. Then we prove the case of p = q = 1 . The other cases are the same. It is obvious that
α ( t ) > 0 , α ( 0 ) = 1 , α ( π / 2 ) = 0 , α ( t ) = ( λ + 1 ) cos t ( 1 + λ sin t ) 2 0 .
Then, we further prove that α ( t ) 1 3 α ( t ) 0 .
By simple calculations, we only need to prove
α ( t ) 1 3 α ( t ) = λ sin 3 t ( 4 λ 2 + λ ) sin 2 t + ( λ + 4 ) sin t + ( 6 λ 2 + 6 λ 1 ) 3 ( 1 + λ sin t ) 3 > 0 .
Suppose
f 2 ( x , λ ) = λ x 3 ( 4 λ 2 + λ ) x 2 + ( λ + 4 ) x + ( 6 λ 2 + 6 λ 1 ) , 0 x 1 .
The expression of the partial derivative is
f 2 ( x , λ ) x = 3 λ x 2 2 ( 4 λ 2 + λ ) x + λ + 4 .
The axis of symmetry of f 2 ( x , λ ) x is x = 4 λ + 1 3 1 , so f 2 ( x , λ ) x monotonically decreases on [ 0 , 1 ] . After calculation, we find that
f 2 ( 0 , λ ) x = λ + 4 > 0 , f 2 ( 1 , λ ) x = 8 λ 2 + 2 λ + 4 = 2 [ 4 ( λ 1 8 ) 2 + 33 16 ] 5 8 < 0 ,
we know that f 2 ( x , λ ) x has only one zero on [ 0 , 1 ] , and the function f 2 ( x , λ ) increases monotonically first and then decreases monotonically. The minimum value of the function f 2 ( x , λ ) is
m i n f 2 ( 0 , λ ) = 6 λ 2 + 6 λ 1 , f 3 ( 1 , λ ) = 2 λ 2 + 7 λ 1 .
By simple analysis, the axis of symmetry of f 2 ( 0 , λ ) is λ = 1 2 , and the axis of symmetry of f 2 ( 1 , λ ) is λ = 7 4 , so
f 2 ( 0 , λ ) f 2 ( 0 , 1 2 ) = 7 2 > 0 , f 2 ( 1 , λ ) f 2 ( 1 , 1 2 ) = 3 > 0 .
So we have proved that f 2 ( x , λ ) > 0 . Then we will further prove α ( t ) 0 .
We only need to prove
α ( t ) = ( λ + 1 ) [ ( λ sin t ) 2 4 λ sin t 6 λ 2 + 1 ] cos t ( 1 + λ sin t ) 4 0 .
Suppose
f 3 ( x , λ ) = λ 2 x 2 4 λ x 6 λ 2 + 1 , 0 x 1 .
Then, we have
f 3 ( 0 , λ ) = 1 6 λ 2 1 2 < 0 , f 3 ( 1 , λ ) = 5 λ 2 4 λ + 1 = 5 ( λ + 2 5 ) 2 + 9 5 9 4 < 0 .
By analyzing the structure of the function f 3 ( x , λ ) , we have f 3 ( x , λ ) 0 on [ 0 , 1 ] . So α ( t ) satisfies Equation (1). The analysis of β ( t ) is the same. The figure of the corresponding generalized quasi cubic trigonometric Bernstein basis functions defined in Equation (5) are shown below in Figure 2.
Example 3.
We consider the shape functions with exponential parameters. The expression of the shape functions are
α ( t ) = ( 1 sin t ) p e λ t , β ( t ) = ( 1 cos t ) q e μ ( π / 2 t ) ,
where λ , μ 1 , p , q = 0 , 1 , 2 . Next, we are about to prove that these two shape functions of Equation (8) also satisfy Equation (1). We take p = q = 2 as an example, and other cases are the same. It’s obvious that
α ( 0 ) = 1 , α ( π / 2 ) = 0 , α ( t ) > 0 , α ( t ) = ( 1 sin t ) [ λ ( 1 sin t ) + 2 cos t ] e λ t 0 , α ( t ) 1 3 α ( t ) = [ ( λ 2 1 3 ) ( 1 sin t ) 2 + 2 ( sin t + cos 2 t ) ] e λ t 0 .
Then we will further prove α ( t ) 0 . By simple calculations, combining with the range of parameters, we have
α ( t ) = [ λ 3 ( 1 sin t ) 2 2 λ ( sin t + cos 2 t ) 2 λ 2 cos t ( 1 sin t ) + 2 cos t ( 1 4 sin t ) ] e λ t [ ( 1 sin t ) 2 2 ( sin t + cos 2 t ) 2 cos t ( 1 sin t ) + 2 cos t ( 1 4 sin t ) ] e λ t = [ ( 1 sin t ) 2 2 ( sin t + cos 2 t ) 3 sin 2 t ] e λ t < 0 .
So α ( t ) satisfies Equation (1).
The analysis of β ( t ) is the same. The figure of the corresponding generalized quasi cubic trigonometric Bernstein basis functions with exponential parameters defined in Equation (5) are shown in Figure 3.

3.2. New Generalized Quasi Cubic Trigonometric Bézier Curve

Definition 4.
Given control points Q i ( i = 0 , 1 , 2 , 3 ) in R 2 or R 3 , α ( t ) , β ( t ) satisfying Equation (1), then
Q ( t ; α ( t ) , β ( t ) ) = i = 0 3 B i ( t ; α ( t ) , β ( t ) ) Q i , t 0 , π / 2 ,
is called a generalized quasi cubic trigonometric Bézier curve with two shape functions α ( t ) and β ( t ) .
In [30], Bernstein–Bezier methods are emphasized. As the new generalized quasi cubic trigonometric Bernstein basis given in Equation (5) possesses the properties of partition of unity, nonnegativity and total positivity, we can conclude that the corresponding generalized quasi cubic trigonometric Bézier curve given in Equation (9) possesses the properties of affine invariance, convex hull and variation diminishing, which are crucial properties in the field of curve design and surface construction. With exact computation, the end-point properties of the generalized quasi cubic trigonometric Bézier curve are as follows
Q ( 0 ; α ( t ) , β ( t ) ) = Q 0 , Q ( π 2 ; α ( t ) , β ( t ) ) = Q 3 , Q ( 0 ; α ( t ) , β ( t ) ) = [ 2 α ( 0 ) ] ( Q 1 Q 0 ) , Q ( π 2 ; α ( t ) , β ( t ) ) = [ 2 + β ( π / 2 ) ] ( Q 3 Q 2 ) , Q ( 0 ; α ( t ) , β ( t ) ) = [ 2 4 α ( 0 ) + α ( 0 ) ] ( Q 0 Q 1 ) + 2 ( Q 2 Q 1 ) , Q ( π 2 ; α ( t ) , β ( t ) ) = [ 2 + 4 β ( π / 2 ) β ( π / 2 ) ] ( Q 2 Q 3 ) + 2 ( Q 1 Q 2 ) .
The above end-point properties imply that for any α ( t ) and β ( t ) satisfying Equation (1), the generalized quasi cubic trigonometric Bézier curve has end-point interpolation property and Q 0 Q 1 , Q 2 Q 3 are the tangent lines of the curve at the points Q 0 and Q 3 , respectively. From these equations, we can conclude that the generalized quasi cubic trigonometric Bézier curve has some properties analogous to the similar properties of the cubic Bézier curve.
Corner cutting algorithm is an efficient and stable method of computing the generalized quasi cubic trigonometric Bézier curve and it is formed by convex combinations. In order to develop such an algorithm, we rewrite the generalized quasi cubic trigonometric Bézier curve in Equation (9) in the following matrix form
Q ( t ; α ( t ) , β ( t ) ) = 1 sin 2 t 1 cos 2 t × 1 sin t sin t 0 0 cos t 1 cos t × α ( t ) 1 + sin t 1 + sin t α ( t ) 1 + sin t 0 0 0 ( 1 sin 2 t ) sin t ( 1 sin 2 t ) sin t + ( 1 cos 2 t ) cos t ( 1 cos 2 t ) cos t ( 1 sin 2 t ) sin t + ( 1 cos 2 t ) cos t 0 0 0 1 + cos t β ( t ) 1 + cos t β ( t ) 1 + cos t × Q 0 Q 1 Q 2 Q 3 .
From these, we can easily obtain a corner cutting algorithm for computing the generalized quasi cubic trigonometric Bernstein–Bézier curve, and more details for the Bernstein–Bézeier curve is stated in detail in [29]. While dealing with the approximation of control polygon, shape preserving approximations are considered in [31]. Analogous to these approximation methods mentioned in [31], Figure 4 gives the structure of the corner cutting algorithm and the corresponding applications of three specific examples, respectively. Moreover, for t [ 0 , π / 2 ] , we rewrite Equation (9) as the following form
Q ( t ; α ( t ) , β ( t ) ) = ( 1 sin 2 t ) Q 1 + sin 2 t Q 2 + B 0 ( t ; α ( t ) ) ( Q 0 Q 1 ) + B 3 ( t ; β ( t ) ) ( Q 3 Q 2 ) .
From Equation (10), we can check that the shape functions α ( t ) and β ( t ) only affect the curve on the control edge Q 0 Q 1 and Q 3 Q 2 , respectively. Moreover, for any fixed t ( 0 , π / 2 ) , B 0 ( t ; α ( t ) ) decreases with the increase of α ( t ) , which implies that the curve moves in the same direction of the edge Q 0 Q 1 as α ( t ) increases. Inversely, when α ( t ) decreases, the curve moves in the opposite direction to the edge Q 0 Q 1 . The effect of the shape function β ( t ) on the edge Q 3 Q 2 is similar. When the shape functions satisfy α ( t ) = β ( π / 2 t ) , with the increase or the decrease of α ( t ) , the curve moves in the same direction or the opposite direction to the edge Q 2 Q 1 , respectively. Furthermore, when α ( t ) and β ( t ) increase at the same time, the curve tends to the edge Q 2 Q 1 . Thus, we can see that the shape functions α ( t ) and β ( t ) can be seen as local tension parameters.
Figure 5 shows the effect of the shape parameters on the generalized quasi cubic trigonometric Bézier curves. Figure 6 shows the comparison among the new proposed generalized quasi cubic trigonometric Bézier curves (blue dashed lines, black solid lines and black dashed lines), the classical cubic rational Bézier curves (red dashed lines) and λ μ –Bézier curves (red solid lines) defined by the λ μ –Bernstein basis functions given in [7], constructed in the space span { 1 , 3 t 2 2 t 3 , ( 1 t ) 3 e λ t , t 3 e μ ( 1 t ) } . Clearly, for the same weights, the classical cubic rational Bézier curve is the farmost away from the control polygon among the three curves, and the proposed generalized quasi trigonometric Bézier curves are closer to the control polygon than the λ μ –Bézier curves given in [7] under the same control points.

4. New Generalized Quasi Cubic Trigonometric B-Spline Basis with Two Shape Functions

In this section, similar with the construction of cubic B-spline basis starting from cubic Bernstein basis, we will propose a new kind of generalized quasi cubic trigonometric B-spline basis starting from the generalized quasi cubic trigonometric Bernstein basis given in Equation (5).

4.1. New Generalized Quasi Cubic Trigonometric B-Spline Basis Functions

Given knots u 0 < u 1 < < u n + 4 , we denote U = ( u 0 , u 1 , , u n + 4 ) as a knot vector. Let h j = u j + 1 u j , and t j ( u ) = π u u j u u j h j 2 h j , j = 0 , 1 , , n + 3 . For any functions α i ( t ) , β i ( t ) ( i = 0 , 1 , , n ) satisfying Equation (1) and some additional conditions
β i ( π / 2 ) 2 , β i ( π / 2 ) 4 β i ( π / 2 ) 2 .
we want to construct the associated generalized quasi cubic trigonometric B-spline basis functions as follows
R i ( u ) = R i , 0 ( t i ) = d i B 3 t i ; β i ( t ) , u [ u i , u i + 1 ) , R i , 1 ( t i + 1 ) = j = 0 3 c i + 1 , j B j t i + 1 ; α i + 1 ( t ) , β i + 1 ( t ) , u [ u i + 1 , u i + 2 ) , R i , 2 ( t i + 2 ) = j = 0 3 b i + 2 , j B j t i + 2 ; α i + 2 ( t ) , β i + 2 ( t ) , u [ u i + 2 , u i + 3 ) , R i , 3 ( t i + 3 ) = a i + 3 B 0 t i + 3 ; α i + 3 ( t ) , u [ u i + 3 , u i + 4 ) , 0 , u [ u i , u i + 4 ) ,
where B j ( t i ; α i ( t ) , β i ( t ) ) , j = 0 , 1 , 2 , 3 are the generalized quasi cubic trigonometric Bernstein basis functions given in Equation (5). C 2 continuity at each of knots and the property of partition of unity on the interval [ u 3 , u n + 1 ] are considered. From these conditions, we will calculate the expression of the coefficients a i , b i , j , c i , j , d i . Function having C 2 continuity at each of knots needs to satisfy that the function, the first derivative and the second derivative are continuous at this node, respectively. Obviously, R i ( u ) has C 2 continuity at u i . Then when R i ( u ) has C 2 continuity at u i + 1 , we have
R i ( u i + 1 ) = d i = R i ( u i + 1 + ) = c i + 1 , 0 , R i ( u i + 1 ) = π 2 h i d i [ 2 + β i ( π / 2 ) ] = R i ( u i + 1 + ) = π 2 h i + 1 [ 2 α i + 1 ( 0 ) ] ( c i + 1 , 1 c i + 1 , 0 ) , R i ( u i + 1 ) = π 2 4 h i 2 d i [ 2 4 β i ( π / 2 ) + β i ( π / 2 ) ] = R i ( u i + 1 + ) = π 2 4 h i + 1 2 c i + 1 , 0 [ 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) ] + c i + 1 , 1 [ 4 + 4 α i + 1 ( 0 ) α i + 1 ( 0 ) ] + 2 c i + 1 , 2 .
Further simplification
c i + 1 , 0 = d i , c i + 1 , 1 = [ 2 α i + 1 ( 0 ) ] h i + [ 2 + β i ( π / 2 ) ] h i + 1 h i ( 2 α i + 1 ( 0 ) ) d i : = f i + 1 d i , c i + 1 , 2 = [ 1 2 β i ( π / 2 ) + 1 2 β i ( π / 2 ) ] h i + 1 2 h i 2 [ 1 2 α i + 1 ( 0 ) + 1 2 α i + 1 ( 0 ) ] + [ 2 2 α i + 1 ( 0 ) + 1 2 α i + 1 ( 0 ) ] f i + 1 d i : = φ i + 1 d i .
When R i ( u ) has C 2 continuity at u i + 3 , we have
R i ( u i + 3 ) = b i + 2 , 3 = R i ( u i + 3 + ) = a i + 3 , R i ( u i + 3 ) = π 2 h i + 2 [ 2 + β i + 2 ( π / 2 ) ] ( b i + 2 , 3 b i + 2 , 2 ) = R i ( u i + 3 + ) = π 2 h i + 3 a i + 3 [ α i + 3 ( 0 ) 2 ] , R i ( u i + 3 ) = π 2 ( 2 h i + 2 ) 2 2 b i + 2 , 1 + [ 4 β i + 2 ( π / 2 ) β i + 2 ( π / 2 ) ] b i + 2 , 2 + [ 2 4 β i + 2 ( π / 2 ) + β i + 2 ( π / 2 ) ] b i + 2 , 3 = R i ( u i + 3 + ) = π 2 ( 2 h i + 3 ) 2 a i + 3 [ 2 4 α i + 3 ( 0 ) + α i + 3 ( 0 ) ] .
Further simplification
b i + 2 , 3 = a i + 3 , b i + 2 , 2 = [ α i + 3 ( 0 ) 2 ] h i + 2 + [ 2 β i + 2 ( π / 2 ) ] h i + 3 h i + 3 [ 2 β i + 2 ( π / 2 ) ] a i + 3 : = g i + 2 a i + 3 , b i + 2 , 1 = [ 1 2 α i + 3 ( 0 ) + 1 2 α i + 3 ( 0 ) ] h i + 2 2 h i + 3 2 + [ 2 β i + 2 ( π / 2 ) 1 2 β i + 2 ( π / 2 ) ] ( 1 g i + 2 ) + 1 a i + 3 : = ϕ i + 2 a i + 3 .
When R i ( u ) has C 2 continuity at u i + 2 , we have
R i ( u i + 2 ) = c i + 1 , 3 = R i ( u i + 2 + ) = b i + 2 , 0 , R i ( u i + 2 ) = π 2 h i + 1 [ 2 + β i + 1 ( π / 2 ) ] ( c i + 1 , 3 c i + 1 , 2 ) = R i ( u i + 2 + ) = π 2 h i + 2 [ 2 α i + 2 ( 0 ) ] ( b i + 2 , 1 b i + 2 , 0 ) , R i ( u i + 2 ) = π 2 4 h i + 1 2 2 c i + 1 , 1 + [ 4 β i + 1 ( π / 2 ) β i + 1 ( π / 2 ) ] c i + 1 , 2 + [ 2 4 β i + 1 ( π / 2 ) + β i + 1 ( π / 2 ) ] c i + 1 , 3 = R i ( u i + 2 + ) = π 2 4 h i + 2 2 [ 2 4 α i + 2 ( 0 ) + α i + 2 ( 0 ) ] b i + 2 , 0 [ 4 4 α i + 2 ( 0 ) + α i + 2 ( 0 ) ] b i + 2 , 1 + 2 b i + 2 , 2 .
Further simplification
c i + 1 , 3 = h i + 1 [ 2 α i + 2 ( 0 ) ] ϕ i + 2 a i + 3 h i + 1 [ 2 α i + 2 ( 0 ) ] + h i + 2 [ 2 + β i + 1 ( π / 2 ) ] + h i + 2 [ 2 + β i + 2 ( π / 2 ) ] φ i + 1 d i h i + 1 ( 2 α i + 2 ( 0 ) ) + h i + 2 ( 2 + β i + 2 ( π / 2 ) ) : = n i + 1 a i + 3 + m i + 1 d i , b i + 2 , 0 = c i + 1 , 3 , a i + 3 = 1 h i + 1 2 [ 2 ( f i + 1 m i + 1 ) + [ 4 β i + 1 ( π / 2 ) β i + 1 ( π / 2 ) ] ( φ i + 1 m i + 1 ) ] 1 h i + 2 2 [ 2 4 α i + 2 ( 0 ) + α i + 2 ( 0 ) ] m i + 1 1 h i + 2 2 [ 2 4 α i + 2 ( 0 ) + α i + 2 ( 0 ) ] ( n i + 1 ϕ i + 2 ) + 2 ( g i + 2 ϕ i + 2 ) + 1 h i + 1 2 [ 2 + 4 β i + 1 ( π / 2 ) β i + 1 ( π / 2 ) ] n i + 1 d i : = r i s i + 3 d i .
The above calculation results are summarized as follows
c i , 0 = d i 1 , c i , 1 = f i d i 1 , c i , 2 = φ i d i 1 , c i , 3 = m i d i 1 + n i a i + 2 , b i , 0 = m i 1 d i 2 + n i 1 a i + 1 , b i , 1 = ϕ i a i + 1 , b i , 2 = g i a i + 1 , b i , 3 = a i + 1 , a i = r i 3 s i d i 3 .
where
f i = [ 2 α i ( 0 ) ] h i 1 + [ 2 + β i 1 ( π / 2 ) ] h i h i 1 [ 2 α i ( 0 ) ] : = μ i 1 h i 1 [ 2 α i ( 0 ) ] , g i = [ 2 α i + 1 ( 0 ) ] h i + [ 2 + β i ( π / 2 ) ] h i + 1 h i + 1 [ 2 + β i ( π / 2 ) ] : = μ i h i + 1 [ 2 + β i ( π / 2 ) ] , φ i = [ 1 + 2 β i 1 ( π / 2 ) 1 2 β i 1 ( π / 2 ) ] h i 2 h i 1 2 [ 1 2 α i ( 0 ) + 1 2 α i ( 0 ) ] + [ 2 2 α i ( 0 ) + 1 2 α i ( 0 ) ] f i , ϕ i = [ 1 2 α i + 1 ( 0 ) + 1 2 α i + 1 ( 0 ) ] h i 2 h i + 1 2 + [ 2 β i ( π / 2 ) 1 2 β i ( π / 2 ) ] ( 1 g i ) + 2 , m i = h i + 1 [ 2 + β i ( π / 2 ) ] φ i h i [ 2 α i + 1 ( 0 ) ] + h i + 1 [ 2 + β i ( π / 2 ) ] : = h i + 1 [ 2 + β i ( π / 2 ) ] φ i μ i , n i = h i [ 2 α i + 1 ( 0 ) ] ϕ i + 1 h i [ 2 α i + 1 ( 0 ) ] + h i + 1 [ 2 + β i ( π / 2 ) ] : = h i [ 2 α i + 1 ( 0 ) ] ϕ i + 1 μ i .
To form a partition of unity on the interval [ u 3 , u n + 1 ] , these generalized quasi cubic trigonometric B-spline basis functions need to satisfy the equation as follows
j = 0 n R j ( u ) = j = i 3 i R j ( u ) = j = 0 3 R i j , j ( t i ) = 1 .
For u [ u i , u i + 1 ) ,
j = 0 3 R i j , j ( t i ) = R i 3 , 3 ( t i ) + R i 2 , 2 ( t i ) + R i 1 , 1 ( t i ) + R i , 0 ( t i ) = a i B 0 ( t i ; α i ( t i ) ) + b i , 0 B 0 ( t i ; α i ( t i ) , β i ( t i ) ) + b i , 1 B 1 ( t i ; α i ( t i ) , β i ( t i ) ) + b i , 2 B 2 ( t i ; α i ( t i ) , β i ( t i ) ) + b i , 3 B 3 ( t i ; α i ( t i ) , β i ( t i ) ) + c i , 0 B 0 ( t i ; α i ( t i ) , β i ( t i ) ) + c i , 1 B 1 ( t i ; α i ( t i ) , β i ( t i ) ) + c i , 2 B 2 ( t i ; α i ( t i ) , β i ( t i ) ) + c i , 3 B 3 ( t i ; α i ( t i ) , β i ( t i ) ) + d i B 3 ( t i ; β i ( t i ) ) .
For any t [ 0 , π / 2 ] , from i = 0 3 B i ( t ) = 1 , we can deduce the following equations about the relation among the coefficients a i , b i , j , c i , j , d i ( i = 0 , 1 , , n )
a i + b i , 0 + c i , 0 = 1 , b i , 1 + c i , 1 = 1 , b i , 2 + c i , 2 = 1 , b i , 3 + c i , 3 + d i = 1 .
Use d i , d i 1 , d i 2 , d i 3 for other coefficients and bring them into the equations, we get
r i 3 s i d i 3 + ( m i 1 + n i 1 r i 2 s i + 1 ) d i 2 + d i 1 = 1 , ϕ i r i 2 s i + 1 d i 2 + f i d i 1 = 1 , g i r i 2 s i + 1 d i 2 + φ i d i 1 = 1 , r i 2 s i + 1 d i 2 + ( m i + n i r i 1 s i + 2 ) d i 1 + d i = 1 .
To solve the system of equations, we get
d i 1 = ϕ i g i φ i ϕ i f i g i , d i 2 = φ i f i φ i ϕ i f i g i s i + 1 r i 2 , d i 3 = [ 1 d i 1 ( m i 1 + n i 1 r i 2 s i + 1 ) d i 2 ] s i r i 3 , d i = 1 r i 2 s i + 1 d i 2 ( m i + n i r i 1 s i + 2 ) d i 1 .
Combine the above calculations, when these generalized quasi cubic trigonometric B-spline basis functions have C 2 continuity at each of knots and form a partition of unity on the interval [ u 3 , u n + 1 ] , we will get the expression of the coefficients a i , b i , j , c i , j , d i as follows
λ i = 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) [ 2 + β i ( π / 2 ) ] h i + [ 2 α i + 1 ( 0 ) ] 2 4 β i ( π / 2 ) + β i ( π / 2 ) h i + 1 , μ i = [ 2 α i + 1 ( 0 ) ] h i + [ 2 + β i ( π / 2 ) ] h i + 1 , ϕ i = λ i h i + 2 μ i h i + 1 2 [ 2 + β i ( π / 2 ) ] h i + 1 2 , φ i = λ i 1 h i + 2 μ i 1 h i 1 2 [ 2 α i ( 0 ) ] h i 1 2 , a i = 2 [ 2 + β i 1 ( π 2 ) ] λ i 2 h i 2 2 λ i 1 μ i 2 h i 2 + λ i 2 λ i 1 h i 1 + 2 λ i 2 μ i 1 h i , d i = 2 [ 2 α i + 1 ( 0 ) ] λ i + 1 h i 2 2 λ i + 1 μ i h i + λ i λ i + 1 h i + 1 + 2 λ i μ i + 1 h i + 2 , b i , 0 = [ 2 α i ( 0 ) ] ϕ i h i 1 μ i 1 a i + 1 + [ 2 + β i 1 ( π / 2 ) ] φ i 1 h i μ i 1 d i 2 , c i , 0 = d i 1 , b i , 1 = ϕ i a i + 1 , c i , 1 = μ i 1 [ 2 α i ( 0 ) ] h i 1 d i 1 , b i , 2 = μ i [ 2 + β i ( π / 2 ) ] h i + 1 a i + 1 , c i , 2 = φ i d i 1 , b i , 3 = a i + 1 , c i , 3 = [ 2 α i + 1 ( 0 ) ] ϕ i + 1 h i μ i a i + 2 + [ 2 + β i ( π / 2 ) ] φ i h i + 1 μ i d i 1 .
Definition 5.
Given a knot vector U, for any functions α i ( t ) , β i ( t ) satisfying Equation (1) and additional Equation (11) and the coefficients a i , b i , j , c i , j , d i given in the above expressions, the expressions of Equation (12) are defined to be the associated generalized quasi cubic trigonometric B-spline basis functions.
Remark 4.
By changing the range of some parameters, Equation (7) and Equation (8) also satisfy the additional Equation (11).
In fact, with λ 1 / 2 , μ 1 , it is obvious that the following two shape functions α ( t ) and β ( t )
α ( t ) = 1 sin t 1 + λ sin t , β ( t ) = 1 cos t 1 + μ cos t ,
satisfy the conditions of Equation (1) and Equation (11) simultaneously.
Moreover, with λ 1 , μ 3 , it is obvious that the following two shape functions α ( t ) and β ( t )
α ( t ) = ( 1 sin t ) 2 e λ t , β ( t ) = ( 1 cos t ) 2 e μ ( π / 2 t ) ,
satisfy the conditions of Equation (1) and Equation (11) simultaneously.
For equidistant knots, the R i ( u ) and the knot vector U are called a uniform generalized quasi cubic trigonometric B-spline basis function and a uniform vector. For non-equidistant knots, R i ( u ) and U are called that of non-uniform ones, respectively. Figure 7 gives some plots of generalized quasi cubic trigonometric B-spline basis functions with different shape parameters with α ( t ) and β ( t ) given in Equations (13) and (14).
Remark 5.
The generalized quasi cubic trigonometric B-spline basis functions are constructed in the space S : = { s C 2 [ u 0 , u n + 4 ] s . t . s [ u i , u i + 1 ] T α i , β i , α i ( t ) , β i ( t ) satisfy conditions of Equation (1) and Equation (11) , t i ( u ) = π u u i u u i h i 2 h i , i = 0 , 1 , , n + 3 } .
Remark 6.
The coefficients of the B-spline stated in Equation (12) are positive, so the generalized quasi cubic trigonometric B-spline is also positive. Moreover, with the nonnegativity of the generalized quasi cubic trigonometric Bernstein basis functions, the corresponding corner cutting algorithm is stable, then the convex combination is formed, so the overall stability is guaranteed. Instability may only occur when caculating the trigonometric functions.
With straightforward caculation, the following lemma is given, which is effecient when working with the partition of unity and the continuity of the generalized quasi cubic trigonometric B-spline basis functions.
Lemma 1.
For all possible i Z + , the following equations hold
a i + b i , 0 + c i , 0 = 1 , b i , 1 + c i , 1 = 1 , b i , 2 + c i , 2 = 1 , b i , 3 + c i , 3 + d i = 1 , c i , 3 = b i + 1 , 0 , [ 2 + β i ( π 2 ) ] d i h i = [ 2 α i + 1 ( 0 ) ] c i + 1 , 1 c i + 1 , 0 h i + 1 , [ 2 + β i ( π 2 ) ] c i , 3 c i , 2 h i = [ 2 α i + 1 ( 0 ) ] b i + 1 , 1 b i + 1 , 0 h i + 1 , [ 2 + β i ( π 2 ) ] b i , 3 b i , 2 h i = [ 2 + α i + 1 ( 0 ) ] a i + 1 h i + 1 , 2 4 β i ( π 2 ) + β i ( π 2 ) d i h i 2 = 1 h i + 1 2 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) c i + 1 , 0 4 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) c i + 1 , 1 + 2 c i + 1 , 2 , 1 h i 2 2 c i , 1 + 4 β i ( π 2 ) β i ( π 2 ) c i , 2 + 2 4 β i ( π 2 ) + β i ( π 2 ) c i , 3 = 1 h i + 1 2 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) b i + 1 , 0 4 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) b i + 1 , 1 + 2 b i + 1 , 2 , 1 h i 2 2 b i , 1 + 4 β i ( π 2 ) β i ( π 2 ) b i , 2 2 + 4 β i ( π 2 ) β i ( π 2 ) b i , 3 = 1 h i + 1 2 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) a i + 1 .

4.2. Properties of the New Generalized Quasi Cubic Trigonometric B-Spline Basis Functions

In this subsection, we are about to show that the new generalized quasi cubic trigonometric B-spline basis given in Equation (12) possesses some significant properties for curves and surfaces construction, such as partition of unity (Theorem 3), nonnegativity (Theorem 4), linear independence (Theorem 5), total positivity (Theorem 6) and C 2 continuity (Theorem 7).
Theorem 3.
For u [ u 3 , u n + 1 ] , we have i = 0 n R i ( u ) = 1 .
Proof of Theorem 3.
For u [ u i , u i + 1 ) , i = 3 , 4 , , n , it is easy to check that R j ( u ) = 0 for j i 3 , i 2 , i 1 , i . Since
R i 3 ( u ) = a i B 0 ( t i ; α i ( t ) ) , R i 2 ( u ) = j = 0 3 b i , j B j ( t i ; α i ( t ) , β i ( t ) ) , R i 1 ( u ) = j = 0 3 c i , j B j t i ; α i ( t ) , β i ( t ) , R i ( u ) = d i B 3 t i ; β i ( t ) ,
by using Lemma 1, we have
i = 0 n R i ( u ) = a i B 0 ( t i ; α i ( t ) ) + j = 0 3 b i , j B j ( t i ; α i ( t ) , β i ( t ) ) + j = 0 3 c i , j B j ( t i ; α i ( t ) , β i ( t ) ) + d i B 3 ( t i ; β i ( t ) ) = j = 0 3 B j ( t i ; β i ( t ) , α i ( t ) ) = 1 .
This indicates that the new proposed generalized quasi cubic trigonometric B-spline basis has the property of partition of unity. □
Theorem 4.
If functions α i ( t ) , β i ( t ) satisfy Equation (1) and Equation (11), then R i ( u ) > 0 for u i < u < u i + 4 .
Proof of Theorem 4.
For all possible i Z + , j = 0 , 1 , 2 , 3 , if functions α i ( t ) , β i ( t ) satisfy Equations (1) and (11), it is obvious that a i , b i , j c i , j , d i > 0 . Thus, from the positivity of the generalized quasi cubic trigonometric Bernstein basis functions B j ( t i ; α i ( t ) , β i ( t ) ) , we can immediately conclude that R i ( u ) > 0 for u i < u < u i + 4 . □
Theorem 5.
For all possible i Z + , functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11), the set R 0 ( u ) , R 1 ( u ) , , R n ( u ) is linearly independent on [ u 3 , u n + 1 ] .
Proof of Theorem 5.
For ξ i R ( i = 0 , 1 , , n ) , u [ u 3 , u n + 1 ] , let
R ( u ) = i = 0 n ξ i R i ( u ) = 0 .
For functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11), direct computation gives that
R ( u i ) = a i ξ i 3 + b i , 0 ξ i 2 + c i , 0 ξ i 1 = 0 , R ( u i ) = π 2 h i [ 2 α i ( 0 ) ] a i ( ξ i 2 ξ i 3 ) + [ 2 + β i 1 ( π 2 ) ] d i 1 h i h i 1 ( ξ i 1 ξ i 2 ) = 0 , R ( u i ) = π 2 4 h i 2 [ 2 4 α i ( 0 ) + α i ( 0 ) ] a i ( ξ i 3 ξ i 2 ) [ 2 + 4 β i 1 ( π 2 ) β i 1 ( π 2 ) ] d i 1 h i 2 h i 1 2 ( ξ i 1 ξ i 2 ) = 0 ,
where i = 3 , 4 , , n + 1 . Thus, we can conclude the following linear systems of equations about ξ i 3 , ξ i 2 , ξ i 1
a i ξ i 3 + b i , 0 ξ i 2 + c i , 0 ξ i 1 = 0 , [ 2 α i ( 0 ) ] a i ( ξ i 2 ξ i 3 ) + [ 2 + β i 1 ( π 2 ) ] d i 1 h i h i 1 ( ξ i 1 ξ i 2 ) = 0 , [ 2 4 α i ( 0 ) + α i ( 0 ) ] a i ( ξ i 3 ξ i 2 ) + [ 2 4 β i 1 ( π 2 ) + β i 1 ( π 2 ) ] d i 1 h i 2 h i 1 2 ( ξ i 1 ξ i 2 ) = 0 .
Notice that a i + b i 0 + c i 0 = 1 , in order to compute the determinant of the coefficient matrix M i given by the above linear systems of equations, we add the first and the third column to the second column, respectively. For the specific expression of the determinant, we have
M i = a i 1 c i , 0 [ 2 α i ( 0 ) ] a i 0 [ 2 + β i 1 ( π 2 ) ] d i 1 h i h i 1 [ 2 4 α i ( 0 ) + α i ( 0 ) ] a i 0 [ 2 4 β i 1 ( π 2 ) + β i 1 ( π 2 ) ] d i 1 h i 2 h i 1 2 = a i d i 1 h i h i 1 2 [ 2 4 α i ( 0 ) + α i ( 0 ) ] [ 2 + β i 1 ( π 2 ) ] h i 1 [ 2 α i ( 0 ) ] [ 2 + 4 β i 1 ( π 2 ) β i 1 ( π 2 ) ] h i > 0 .
Therefore, we can conclude that ξ i 3 = ξ i 2 = ξ i 1 = 0 for i = 3 , 4 , , n + 1 . □
Theorem 6.
For u [ u i , u i + 1 ] , functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11), i = 3 , 4 , , n , the system ( R i 3 ( u ) , R i 2 ( u ) , R i 1 ( u ) , R i ( u ) ) is a normalized totally positive basis of the space span T α i , β i .
Proof of Theorem 6.
For u [ u i , u i + 1 ] , i = 3 , 4 , , n , it can be easy to check that
R i 3 ( u ) , R i 2 ( u ) , R i 1 ( u ) , R i ( u ) = B 0 ( t i ; α i ( t ) ) , B 1 ( t i ; α i ( t ) ) , B 2 ( t i ; β i ( t ) ) , B 3 ( t i ; β i ( t ) ) H i ,
where
H i = a i b i , 0 c i , 0 0 0 b i , 1 c i , 1 0 0 b i , 2 c i , 2 0 0 b i , 3 c i , 3 d i ,
and functions α i ( t ) , β i ( t ) satisfy Equations (1) and (11), t i ( u ) = π u u i u u i h i 2 h i .
Since the system ( B 0 ( t i ; α i ( t ) ) , B 1 ( t i ; α i ( t ) ) , B 2 ( t i ; β i ( t ) ) , B 3 ( t i ; β i ( t ) ) ) is the normalized B-basis of the space T α i , β i . By Theorem 4.2 of [25], it is sufficient to conclude that H i is a nonsingular stochastic and totally positive matrix. For any functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11), for all possible i Z + , j = 0 , 1 , 2 , 3 , it is easy to check that a i , b i , j c i , j , d i > 0 . In addition, from Lemma 1, we can conclude that H i is stochastic. We want to prove that H i is a totally positive matrix, we need to check the nonnegativity of all its minors. With direct computation, we have
b i , 0 c i , 0 b i , 1 c i , 1 = [ 2 + β i 1 ( π / 2 ) ] φ i 1 h i [ 2 α i ( 0 ) ] h i 1 d i 2 d i 1 > 0 , b i , 0 c i , 0 b i , 2 c i , 2 = h i 2 λ i 1 μ i h i + 1 + λ i 1 λ i h i + 2 λ i μ i 1 h i 1 4 [ 2 + β i ( π / 2 ) ] μ i 1 h i 1 h i + 1 2 a i + 1 d i 1 + [ 2 + β i 1 ( π 2 ) ] φ i 1 φ i h i μ i 1 d i 2 d i 1 > 0 , b i , 0 c i , 0 b i , 3 c i , 3 = [ 2 α i ( 0 ) ] [ 2 α i + 1 ( 0 ) ] ϕ i ϕ i + 1 h i 1 h i μ i 1 μ i a i + 1 a i + 2 + h i 2 λ i 1 μ i h i + 1 + λ i 1 λ i h i + 2 λ i μ i 1 h i 1 4 μ i 1 μ i h i 1 h i + 1 a i + 1 d i 1 + [ 2 α i + 1 ( 0 ) ] [ 2 + β i 1 ( π / 2 ) ] ϕ i + 1 φ i 1 h i 2 μ i 1 μ i a i + 2 d i 2 + [ 2 + β i 1 ( π / 2 ) ] [ 2 + β i ( π / 2 ) ] φ i 1 φ i h i h i + 1 μ i 1 μ i d i 2 d i 1 > 0 , b i , 1 c i , 1 b i , 2 c i , 2 = h i 2 λ i 1 μ i h i + 1 + λ i 1 λ i h i + 2 λ i μ i 1 h i 1 4 [ 2 α i ( 0 ) ] [ 2 + β i ( π 2 ) ] h i 1 2 h i + 1 2 a i + 1 d i 1 > 0 , b i , 1 c i , 1 b i , 3 c i , 3 = [ 2 α i + 1 ( 0 ) ] ϕ i ϕ i + 1 h i μ i a i + 1 a i + 2 + h i 2 λ i 1 μ i h i + 1 + λ i 1 λ i h i + 2 λ i μ i 1 h i 1 4 [ 2 α i ( 0 ) ] μ i h i 1 2 h i + 1 a i + 1 d i 1 > 0 , b i , 2 c i , 2 b i , 3 c i , 3 = [ 2 α i + 1 ( 0 ) ] ϕ i + 1 h i [ 2 + β i ( π 2 ) ] h i + 1 a i + 1 a i + 2 > 0 .
From these, we can deduce that H i is nonsingular and the nonnegativity of all its remaining minors is proved, which implies the theorem. □
Theorem 7.
With a non-uniform knot vector, the generalized quasi cubic trigonometric B-spline function R i ( u ) with shape functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11) at each of the knots has C 2 continuity.
Proof of Theorem 7.
Firstly, consider the continuity at the knot u i + 1 . For any functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11), we have
R i ( u i + 1 ) = d i , R i ( u i + 1 + ) = c i + 1 , 0 , R i ( u i + 1 ) = π [ 2 + β i ( π 2 ) ] d i 2 h i , R i ( u i + 1 + ) = π [ 2 α i + 1 ( 0 ) ] c i + 1 , 1 c i + 1 , 0 2 h i + 1 , R i ( u i + 1 ) = π 2 2 4 β i ( π 2 ) + β i ( π 2 ) d i 4 h i 2 , R i ( u i + 1 + ) = π 2 4 h i + 1 2 2 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) c i + 1 , 0 4 4 α i + 1 ( 0 ) + α i + 1 ( 0 ) c i + 1 , 1 + 2 c i + 1 , 2 .
From these and Lemma 1, the theorem follows at the knot u i + 1 . Other knots can be analyzed in the same way. □

4.3. New Generalized Quasi Cubic Trigonometric B-Spline Curves

Definition 6.
Given a knot vector U and control points Q i ( i = 0 , 1 , , n ) in R 2 or R 3 , then, for any functions α i ( t ) , β i ( t ) satisfying Equations (1) and (11) and arbitrary real numbers n 3 , u [ u 3 , u n + 1 ] ,
R ( u ) = i = 0 n R i ( u ) Q i ,
is called a new generalized quasi cubic trigonometric B-spline curve with two local shape functions α i ( t ) , β i ( t ) .
Obviously, for u [ u i , u i + 1 ] , i = 3 , 4 , , n , the curve R ( u ) can be represented by the following curve segment
R ( u ) = j = i 3 i R j ( u ) P j = a i Q i 3 + b i 0 Q i 2 + c i 0 Q i 1 B 0 ( t i ; α i ( t ) ) + b i 1 Q i 2 + c i 1 Q i 1 B 1 ( t i ; α i ( t ) ) + b i 2 Q i 2 + c i 2 Q i 1 B 2 ( t i ; β i ( t ) ) + b i 3 Q i 2 + c i 3 Q i 1 + d i Q i B 3 ( t i ; β i ( t ) ) .
From Theorems 3 and 4, we know that the generalized quasi cubic trigonometric B-spline basis has the properties of partition of unity and nonnegativity, so the corresponding new generalized quasi cubic trigonometric B-spline curve R ( u ) has affine invariance. Furthermore, for u [ u i , u i + 1 ] , R ( u ) lies in the convex hull of the points Q i 3 , Q i 2 , Q i 1 , Q i . Similarly, from Theorem 6, as the generalized quasi cubic trigonometric B-spline basis has the property of total positivity, the new generalized quasi cubic trigonometric B-spline curve R ( u ) has variation diminishing property, which implies that R ( u ) is suited for the shape control. As a direct result of Theorem 7, we have the following theorem.
Theorem 8.
With a non-uniform knot vector, at each of the knots, the new generalized quasi cubic trigonometric B-spline curve R ( u ) has C 2 continuity. Moreover, if u i is a simple knot, then for i = 3 , 4 , , n + 1 , we have
R ( u i ) = a i Q i 3 + b i , 0 Q i 2 + c i , 0 Q i 1 ,
R ( u i ) = 1 h i [ 2 α i ( 0 ) ] a i ( Q i 2 Q i 3 ) + [ 2 + β i 1 ( π 2 ) ] d i 1 h i 1 ( Q i 1 Q i 2 ) ,
R ( u i ) = [ 2 4 α i ( 0 ) + α i ( 0 ) ] a i h i 2 ( Q i 3 Q i 2 ) [ 2 + 4 β i 1 ( π 2 ) β i 1 ( π 2 ) ] d i 1 h i 1 2 ( Q i 1 Q i 2 ) .
Example 4.
Figure 8 shows the open spline curves with α i ( t ) and β i ( t ) given in Equation (13) with different shape parameters, which implies the shape of a rabbit. The first one is constructed by setting all λ i = 0.5 , μ i = 2.4 . The second one is constructed by changing one μ i from 2.4 to 6 based on the first one. The third one is constructed by changing other two μ i from 2.4 to 4 based on the second one.
Example 5.
Similarly, Equation (14) also satisfies the additional conditions. Figure 9 shows the open spline curves with α i ( t ) and β i ( t ) given in Equation (14) with different shape parameters, which describes the shape of a note. The first one is constructed by setting all λ i = 0.5 , μ i = 2.5 . The second one is constructed by changing one μ i from 2.5 to 6 based on the first one. The third one is constructed by changing another one μ i from 2.5 to 6 based on the second one.
Figure 10 shows the comparison among the new proposed generalized quasi cubic trigonometric B-spline curves (blue dashed lines with α i ( t ) and β i ( t ) given in Equation (13) and red dashed lines with α i ( t ) and β i ( t ) given in Equation (14)) and the trigonometric B-spline basis functions defined in [18] (blue solid lines). It is easy to conclude that for the same weights, the proposed generalized quasi trigonometric B-spline curves are closer to the control polygon than trigonometric B-spline basis functions defined in [18] under the same control points and the same parameters. What is more, the shape of the new proposed curves are more smooth.

5. Conclusions

We have proposed a new class of generalized quasi cubic trigonometric Bernstein basis with two shape functions, which has totally positive property and optimal shape preserving property. These two shape functions satisfy some conditions with wide range of use, and three specific examples are given. The corresponding generalized quasi cubic trigonometric Bézeir curve and the corresponding corner cutting algorithm are shown. Based on the basis, with additional conditions, a new class of generalized quasi cubic trigonometric B-spline basis functions is developed, which has partition of unity, nonnegativity, linear independence, total positivity and C 2 continuity. The corresponding generalized quasi cubic trigonometric B-spline curve and its applications are given. There are also some worthwhile work to study further, such as exploring more practical applications of those generalized basis with two shape functions. These will be our future work.

Author Contributions

Conceptualization, Y.F. and Y.Z.; methodology, Y.F. and Y.Z.; Software, Y.F. and Y.Z.; validation, Y.F.; formal analysis, Y.F. and Y.Z.; investigation, Y.F. and Y.Z.; resources, Y.F.; data curation, Y.F.; writing—original draft preparation, Y.F. and Y.Z.; writing—review and editing, Y.F. and Y.Z.; visualization, Y.F.; supervision, Y.Z.; project administration, Y.Z.; funding acquisition, Y.Z. Both authors have read and agreed to the published version of the manuscript.

Funding

The research is supported by the National Natural Science Foundation of China (No. 61802129), the Natural Science Foundation Guangdong Province, China (No. 2018A030310381), the National Training Program of Innovation and Entrepreneurship for Undergraduates (No. 202010561123), and the Hundred steps climbing plan of South China University of Technology (No. j2tw2021020012).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors acknowledge the associate editor and the referees for their insightful comments and invaluable suggestions.

Conflicts of Interest

The authors declare that they have no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ECExtended Chebychev
ECCExtended Complete Chebychev

References

  1. Nielson, G.M. A locally controllable spline with tension for interactive curve design. Comput. Aided Geom. Des. 1984, 1, 199–205. [Google Scholar] [CrossRef]
  2. Brian, A.B. Local control of bias and tension in Beta-splines. ACM Trans. Graph. 1983, 2, 109–134. [Google Scholar] [CrossRef]
  3. Costantini, P. Curve and surface construction using variable degree polynomial splines. Comput. Aided Geom. Des. 2000, 17, 419–446. [Google Scholar] [CrossRef]
  4. Shen, W.Q.; Wang, G.Z.; Yin, P. Explicit representations of changeable degree spline basis functions. J. Comput. Appl. Math. 2013, 238, 39–50. [Google Scholar] [CrossRef] [Green Version]
  5. Zhu, Y.P.; Han, X.L. New cubic rational basis with tension shape parameters. Appl. Math. J. Chin. Univ. Ser. B 2015, 30, 273–298. [Google Scholar] [CrossRef]
  6. Zhu, Y.P.; Han, X.L.; Liu, S.J. Curve construction based on four αβ-Bernstein-like basis functions. J. Comput. Appl. Math. 2015, 273, 160–181. [Google Scholar] [CrossRef]
  7. Zhu, Y.P.; Han, X.L. Curves and surfaces construction based on new basis with exponential functions. Acta Appl. Math. 2014, 129, 183–203. [Google Scholar] [CrossRef]
  8. Ramshaw, L. Blossoming: A Connect-the-Dots Approach to Splines; Digital Systems Research: Palo Alto, CA, USA, 1987. [Google Scholar]
  9. Mazure, M.L.; Laurent, P.J. Piecewise smooth spaces in duality: Application to blossoming. J. Approx. Theory 1999, 98, 316–353. [Google Scholar] [CrossRef] [Green Version]
  10. Mazure, M.L. Quasi-Chebychev splines with connexion matrices: Application to variable degree polynomial splines. Comput. Aided Geom. Des. 2001, 18, 287–298. [Google Scholar] [CrossRef]
  11. Mazure, M.L. Blossoms and optimal bases. Adv. Comput. Math. 2004, 20, 177–203. [Google Scholar] [CrossRef]
  12. Costantini, P.; Lyche, T.; Manni, C. On a class of weak Tchebysheff systems. Numer. Math. 2005, 101, 333–354. [Google Scholar] [CrossRef]
  13. Mazure, M.L. On dimension elevation in Quasi Extended Chebyshev spaces. Numer. Math. 2008, 109, 459–475. [Google Scholar] [CrossRef]
  14. Costantini, P.; Pelosi, F.; Sampoli, M.L. New spline spaces with generalized tension properties. BIT Numer. Math. 2008, 48, 665–688. [Google Scholar] [CrossRef]
  15. Han, X.L. Cubic trigonometric polynomial curves with a shape parameter. Comput. Aided Geom. Des. 2004, 21, 535–548. [Google Scholar] [CrossRef]
  16. Wu, X.Q.; Han, X.L.; Luo, S. Quadratic trigonometric polynomial Bézier curves with a shape parameter. J. Eng. Graph. 2008, 1, 82–87. [Google Scholar] [CrossRef]
  17. Han, X.A.; Ma, Y.C.; Huang, X.L. The cubic trigonometric Bézier curve with two shape parameters. Appl. Math. Lett. 2008, 22, 226–231. [Google Scholar] [CrossRef] [Green Version]
  18. Zhu, Y.P.; Han, X.L. New trigonometric basis possessing exponential shape parameters. J. Comput. Math. 2015, 33, 642–684. [Google Scholar] [CrossRef]
  19. Wang, K.; Zhang, G.C.; Nhon, N.T. New trigonometric basis possessing denominator shape parameters. Math. Probl. Eng. 2018, 9569834. [Google Scholar] [CrossRef]
  20. Zhu, Y.P.; Liu, Z. A class of trigonometric Bernstein-type basis functions with four shape parameters. Math. Probl. Eng. 2019. [Google Scholar] [CrossRef]
  21. Han, X.L.; Zhu, Y.P. Curve construction based on five trigonometric blending functions. BIT Numer. Math. 2012, 52, 953–979. [Google Scholar] [CrossRef]
  22. Majeed, A.; Abbas, M.; Qayyum, F.; Miura, K.T.; Misro, M.Y.; Nazir, T. Geometric modeling using new cubic trigonometric B-spline functions with shape parameter. Mathematics 2020, 8, 2102. [Google Scholar] [CrossRef]
  23. Peña, J.M. Shape Preserving Representations in Computer-Aided Geometric Design; Nova Science Publishers: Hauppauge, NY, USA, 1999. [Google Scholar]
  24. Peña, J.M. Shape preserving representations for trigonometric polynomial curves. Comput. Aided Geom. Des. 1997, 14, 5–11. [Google Scholar] [CrossRef]
  25. Carnicer, J.M.; Peña, J.M. Total positive bases for shape preserving curve design and optimality of B-splines. Comput. Aided Geom. Des. 1994, 11, 635–656. [Google Scholar] [CrossRef]
  26. Pottmann, H. The geometry of Tchebycheffian splines. Comput. Aided Geom. Des. 1993, 10, 181–210. [Google Scholar] [CrossRef]
  27. Mazure, M.L. Blossoming: A Geometrical Approach. Constr. Approx. 1999, 15, 33–68. [Google Scholar] [CrossRef]
  28. Mazure, M.L. Which spaces for design? Numer. Math. 2008, 110, 357–392. [Google Scholar] [CrossRef]
  29. Farin, G. Curves and Surfaces for Computer Aided Geometric Design; Academic Press: San Diego, CA, USA, 1993. [Google Scholar]
  30. Gori, L.; Pitolli, F. Totally positive refinable functions with general dilation M. Appl. Numer. Math. 2017, 112, 17–26. [Google Scholar] [CrossRef]
  31. Goodman, T.N. Total Positivity and the Shape of Curves. In Total Positivity and Its Applications; Gasca, M., Micchelli, C.A., Eds.; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1996; pp. 157–186. [Google Scholar] [CrossRef]
Figure 1. The plot of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (6).
Figure 1. The plot of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (6).
Mathematics 09 01154 g001
Figure 2. Some plots of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (7) and p = q = 1.
Figure 2. Some plots of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (7) and p = q = 1.
Mathematics 09 01154 g002
Figure 3. Some plots of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (8) and p = q = 2.
Figure 3. Some plots of the generalized quasi cubic trigonometric Bernstein basis functions with α ( t ) and β ( t ) given in Equation (8) and p = q = 2.
Mathematics 09 01154 g003
Figure 4. Corner cutting algorithm for computing the quasi trigonometric Bézier curve.
Figure 4. Corner cutting algorithm for computing the quasi trigonometric Bézier curve.
Mathematics 09 01154 g004
Figure 5. The effect of shape parameters on the generalized quasi cubic trigonometric Bézier curves, when λ = 2 , μ = 2 ; λ = 5 , μ = 10 ; λ = 8 , μ = 15 ; λ = 25 , μ = 30 .
Figure 5. The effect of shape parameters on the generalized quasi cubic trigonometric Bézier curves, when λ = 2 , μ = 2 ; λ = 5 , μ = 10 ; λ = 8 , μ = 15 ; λ = 25 , μ = 30 .
Mathematics 09 01154 g005
Figure 6. Comparisons among generalized quasi cubic trigonometric Bézier curves (blue dashed lines with α ( t ) and β ( t ) given in Equation (6), black solid lines with α ( t ) and β ( t ) given in Equation (7) and black dashed lines with α ( t ) and β ( t ) given in Equation (8)), λ μ –Bézier curves (red solid lines) defined by the λ μ –Bernstein basis functions in [7] and classical cubic rational Bézier curves (red dashed lines), where λ = 3 , μ = 5 .
Figure 6. Comparisons among generalized quasi cubic trigonometric Bézier curves (blue dashed lines with α ( t ) and β ( t ) given in Equation (6), black solid lines with α ( t ) and β ( t ) given in Equation (7) and black dashed lines with α ( t ) and β ( t ) given in Equation (8)), λ μ –Bézier curves (red solid lines) defined by the λ μ –Bernstein basis functions in [7] and classical cubic rational Bézier curves (red dashed lines), where λ = 3 , μ = 5 .
Mathematics 09 01154 g006
Figure 7. Some plots of generalized quasi cubic trigonometric B-spline basis functions with α i ( t ) and β i ( t ) given in Equations (13) and (14), when λ = ( 3 , 3 , 3 ) , μ = ( 5 , 2 , 5 ) ; λ = ( 3 , 3 , 3 ) , μ = ( 10 , 4 , 10 ) ; λ = ( 3 , 3 , 3 ) , μ = ( 20 , 20 , 20 ) .
Figure 7. Some plots of generalized quasi cubic trigonometric B-spline basis functions with α i ( t ) and β i ( t ) given in Equations (13) and (14), when λ = ( 3 , 3 , 3 ) , μ = ( 5 , 2 , 5 ) ; λ = ( 3 , 3 , 3 ) , μ = ( 10 , 4 , 10 ) ; λ = ( 3 , 3 , 3 ) , μ = ( 20 , 20 , 20 ) .
Mathematics 09 01154 g007
Figure 8. Close curves with uniform knot vector of the shape functions with α i ( t ) and β i ( t ) given in Equation (13).
Figure 8. Close curves with uniform knot vector of the shape functions with α i ( t ) and β i ( t ) given in Equation (13).
Mathematics 09 01154 g008
Figure 9. Close curves with uniform knot vector of the shape functions with α i ( t ) and β i ( t ) given in Equation (14).
Figure 9. Close curves with uniform knot vector of the shape functions with α i ( t ) and β i ( t ) given in Equation (14).
Mathematics 09 01154 g009
Figure 10. Comparisons among the new generalized quasi cubic trigonometric B-spline curves (blue dashed lines with α i ( t ) and β i ( t ) given in Equation (13), red dashed lines with α i ( t ) and β i ( t ) given in Equation (14)), trigonometric B-spline basis functions defined in [18] (blue solid lines) where λ i = μ i = 4 .
Figure 10. Comparisons among the new generalized quasi cubic trigonometric B-spline curves (blue dashed lines with α i ( t ) and β i ( t ) given in Equation (13), red dashed lines with α i ( t ) and β i ( t ) given in Equation (14)), trigonometric B-spline basis functions defined in [18] (blue solid lines) where λ i = μ i = 4 .
Mathematics 09 01154 g010
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fu, Y.; Zhu, Y. A Generalized Quasi Cubic Trigonometric Bernstein Basis Functions and Its B-Spline Form. Mathematics 2021, 9, 1154. https://doi.org/10.3390/math9101154

AMA Style

Fu Y, Zhu Y. A Generalized Quasi Cubic Trigonometric Bernstein Basis Functions and Its B-Spline Form. Mathematics. 2021; 9(10):1154. https://doi.org/10.3390/math9101154

Chicago/Turabian Style

Fu, Yunyi, and Yuanpeng Zhu. 2021. "A Generalized Quasi Cubic Trigonometric Bernstein Basis Functions and Its B-Spline Form" Mathematics 9, no. 10: 1154. https://doi.org/10.3390/math9101154

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop