#### Abstract

Within the general framework of Quasi Extended Chebyshev space, we prove that the cubic trigonometric Bézier basis with two shape parameters and given in Han et al. (2009) forms an optimal normalized totally positive basis for . Moreover, we show that for or the basis is not suited for curve design from the blossom point of view. In order to compute the corresponding cubic trigonometric Bézier curves stably and efficiently, we also develop a new corner cutting algorithm.

#### 1. Introduction

Trigonometric splines and polynomials have attracted widespread interest within computer aided geometric design (CAGD), particularly within curve design. In [1], the recurrence relation for the trigonometric B-splines of arbitrary order was established. Later, in [2], it was further shown that the trigonometric B-splines of odd order form a partition of a constant in the case of equidistant knots, and thus the associated trigonometric B-spline curve possesses the convex hull property. In [3], a family of trigonometric polynomials was introduced, which contains the trigonometric Lagrange and Bernstein polynomials. The study for the C-Bézier and C-B-spline curves can be found in [4–6]. In [7], the totally positive property of the C-B-spline was proved. In [8–11], some quadratic trigonometric polynomial splines with shape parameters were shown. In [12], a class of cubic trigonometric Bézier (T-Bézier, for short) basis with a shape parameter was proposed. In [13], the cubic T-Bézier basis was further extended to possess two shape parameters. Recently, based on the theory of envelop and topological mapping, shape analysis of the cubic T-Bézier curve with shape parameters was given in [14, 15]. For the problems of shape preserving interpolation, the cubic and quadratic T-Bézier bases show great potential applications; see [16–19]. Blossom is a powerful tool for studying Bézier-like bases and B-spline-like bases. Quasi Extended Chebyshev (QEC) space is the largest class of spaces of sufficient regularity suited for curve design in the sense that they do possess blossom. See the recently developed theory concerning blossom and QEC-space given in [20–24].

Many shape preserving properties are obtained when the normalized bases are totally positive; see [25]. For instance, the length, number of inflections, and angular variation of the curve defined by normalized totally positive bases are bounded above by those of the control polygon. The optimal normalized totally positive basis (i.e., the normalized B-basis) is the unique normalized basis of a space with optimal shape preserving properties. It is well known that the Bernstein basis is the optimal normalized totally positive basis of the space of polynomials of degree less than or equal to ; see [26]. Corner cutting algorithm plays a vital role in CADG since it provides simple geometric constructions of curves; see [27]. A relevant example is the de Casteljau algorithm for the evaluation of a polynomial curve using the Bernstein basis. The purpose of this paper is to prove that the cubic trigonometric Bézier basis with two shape parameters and given in [13] forms an optimal normalized totally positive basis for and to show a new developed corner cutting algorithm for computing the corresponding cubic trigonometric Bézier curves.

The rest of this paper is organized as follows. Section 2 gives the proof of the optimal normalized totally positive property of the cubic trigonometric Bézier basis within the general framework of QEC-space. In Section 3, a new developed corner cutting algorithm for computing the corresponding cubic trigonometric Bézier curves is shown. Conclusions are given in Section 4.

#### 2. Cubic Trigonometric Bézier Basis Functions

##### 2.1. Preliminaries

Here, we give the necessary background on Extended Completed Chebyshev (ECC) space and Quasi Extended Chebyshev (QEC) space. Few results are described briefly for a good understanding to this paper, and more details can be found in [20–24, 28].

Let denote a given closed bounded interval , with . We call function space a -dimension ECC-space in canonical form generated by positive weight functions provided that

It is well known that -dimension function space is an ECC-space on if and only if for any , , any nonzero element of the subspace has at most zeros (counting multiplicities). And -dimension function space is a QEC-space on if any nonzero element of the space vanishes at most times in , counting multiplicities as far as possible for functions in , that is, up to ; see [21–24].

A basis is said to be normalized on if for any . And a basis is said to be totally positive on if, for any sequence of points , the collocation matrix is totally positive; that is, all its minors are nonnegative. For a given function space possessing totally positive basis, the optimal normalized totally positive basis (i.e., the normalized B-basis) is a normalized totally positive basis from which all other totally positive bases can be deduced by multiplying with a (regular) totally positive matrix. Such optimal normalized totally positive basis is unique and has optimal shape preserving properties (see [25]) in the sense that the curves defined by such basis best imitate the corresponding control polygons (e.g., the monotonicity and convexity of the control polygon are inherited by the curves defined by such basis).

##### 2.2. Definition of the Cubic Trigonometric Bézier Basis

Here, we recall the definition of the cubic trigonometric Bézier basis with two shape parameters given in [13] as follows.

*Definition 1. *Let , for ; the following four functions are defined to be the cubic trigonometric Bézier (T-Bézier) basis functions, with two shape parameters and :

Specially, for , this kind of T-Bézier basis with a shape parameter was also proposed in [12].

By rewriting the expressions of and as the following forms: we can easily see that the cubic T-Bézier basis (2) is normalized and is actually a basis of the following trigonometric function space:

##### 2.3. Optimal Totally Positive Property of the Basis

Firstly, we want to show that for any , the following space is a 3-dimensional QEC-space on .

Theorem 2. *For any real numbers , the space is a 3-dimensional QEC-space on .*

*Proof. *For any , , and , we consider a linear combination:

For , from (6), we can immediately obtain . Similarly, for , from (6), we have . And finally, we have . Thus the space is a 3-dimensional space.

Now, we want to prove that the space is a 3-dimensional ECC-space in . For any , let
For any , it is obvious that and . By directly computing, we have
Therefore, for the Wronskian of and , we have
For , we define the following weight functions:
where , , and are three arbitrary positive real numbers. Obviously, these weight functions are bounded, positive, and on . Consider the following ECC-space defined by the weight functions :
After some simple computations, we can see that these functions , are in fact some linear combinations of the three functions , , and , which indicates that the space is a ECC-space on . Since is arbitrary subinterval of , we can conclude that the space is an ECC-space in . Now, we want to further prove that the space is also a QEC-space on . For this purpose, we need to prove that any nonzero element of the space has at most 2 zeroes on (counting multiplicities as far as possible up to 2). Consider any nonzero function:
where . Since the space is an ECC-space in , the function has at most two zeroes in . Let us consider a case that vanishes at ; then, we have . For this case, if , then has a singular zero at 0 and a singular zero at . If , it can be easily checked that 0 is a double zero of (counting multiplicities as far as possible up to 2). If , vanishes exactly one time at 0 and it does not vanish on . If , vanishes exactly one time at and it does not vanish at . Moreover, consider the following function:
Direct computation gives that , where . Obviously, is a monotonic function on , and thus has at most one zero in , which implies that also has at most one zero in . From these together with , we can see that has exactly one zero in , and thus we can immediately conclude that (notice that for the current case) has exactly one zero in too. Similarly, for the case that vanishes at , we can also deduce that the function has at most 2 zeroes on (counting multiplicities as far as possible up to 2). To summarize, the space is a QEC-space on .

*Remark 3. *By Theorem 3.1 of [22], we can see that blossom exists in the trigonometric function space is equivalent to that the space is a QEC-space. For any , since the space is a QEC-space on , blossom exists in . By Theorem 2.13 of [22], we can also see that the space possesses a normalized Quasi Bernstein-like basis on for .

It is worth mentioning that for the special case or , may have three distinct zeros on . For example, for , , , and , will vanish at and , respectively, which implies that is not a QEC-space on for or . Thus, from the blossom point of view, is not suited for curve design for the case that or .

Theorem 4. *For any , the cubic T-Bézier basis given in (2) is the optimal normalized totally positive basis of the space .*

*Proof. *For any , from the expressions of the four cubic T-Bézier basis functions given in (2), we can easily check the following end-point properties of the basis.(i), and vanishes 3 times at (counting multiplicities as far as possible up to ).(ii), and vanishes times at (counting multiplicities as far as possible up to ).(iii)For , vanishes exactly times at and exactly times at .

In addition, is strictly positive in . Thus, by Definition 2.10 of [22], we can see that the cubic T-Bézier basis (2) is precisely the Quasi Bernstein-like basis of the space . And by Theorem 2.18 of [22], we can further conclude that the cubic T-Bézier basis (2) is exactly the optimal normalized totally positive basis of the space .

#### 3. Cubic Trigonometric Bézier Curve

*Definition 5. *Given control points in or , then
is called a cubic trigonometric Bézier (T-Bézier) curve with two shape parameters and .

For any , from [13], we can see that the cubic T-Bézier basis (2) has the properties of partition of unity and nonnegativity, which implies that the corresponding cubic T-Bézier curve (14) has affine invariance and convex hull property. And for any , by Theorem 4, we can see that the cubic T-Bézier basis (2) has the optimal totally positive property, which implies that the corresponding cubic T-Bézier curve (14) has the crucial property of variation diminishing; that is, no plane intersects a cubic T-Bézier curve more often than it intersects the corresponding control polygon.

Now we want to develop a new corner cutting algorithm for computing the cubic T-Bézier curve (14). For this purpose, for any , let Then, we can rewrite the expression of the cubic T-Bézier curve (14) as follows: Furthermore, by setting we have The expressions (16) and (18) describe a corner cutting algorithm for computing the cubic T-Bézier curve (14). See Figure 1 for an illustration of this new developed algorithm.

**(a)**

**(b)**

**(c)**

**(d)**

#### 4. Conclusion

The cubic trigonometric Bézier basis with two shape parameters and given in [13] forms an optimal normalized totally positive basis of the space for . However, the basis is not suited for curve design for or from the blossom point of view. The new developed corner cutting algorithm is an efficient and stable process for computing the corresponding cubic trigonometric Bézier curves.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable remarks for improvements. The research is supported by the National Natural Science Foundation of China under Grant nos. 60970097 and 11271376 and Graduate Students Scientific Research Innovation Project of Hunan Province, Grant no. CX2012B111.