Abstract

Four new quartic rational Said-Ball-like basis functions, which include the cubic Said-Ball basis functions as a special case, are constructed in this paper. The new basis is applied to generate a class of continuous quartic rational Hermite interpolation splines with local tension shape parameters. The error estimate expression of the proposed interpolant is given and the sufficient conditions are derived for constructing a positivity- or monotonicity- preserving interpolation spline. In addition, we extend the quartic rational Said-Ball-like basis to a triangular domain which has three tension shape parameters and includes the cubic triangular Said-Ball basis as a special case. In order to compute the corresponding patch stably and efficiently, a new de Casteljau-type algorithm is developed. Moreover, the continuous conditions are deduced for the joining of two patches.

1. Introduction

Constructing practical basis functions to generate free form curves and surfaces is an important topic of CAGD (computer aided geometric design) and computer graphics. Generally speaking, the basis function with good properties plays a vital role in curve and surface design. In [13], Ball introduced a kind of cubic rational polynomial to be the basis of CONSURF surface lofting program. In [4], Said extended the cubic basis proposed by Ball into arbitrary odd degree basis to get a type of generalized Ball basis. After that, Goodman and Said proved that the generalized Ball basis is normalized totally positive and hence it possesses the same kind of shape preserving properties as the Bernstein basis [5]. In [6], Hu and his colleagues suggested an extension of the generalized Ball basis to arbitrary even degree, usually known as Said-Ball basis. In [7], based on the necessary and sufficient conditions for the conic representation in a rational low degree Bézier form and the transformation formula from Bernstein basis to Said-Ball basis, Hu and Wang deduced the representation theory of rational cubic and quartic Said-Ball conics. Because surfaces modeling over a triangular domain have great potential of constructing complex shapes, there are some researchers who have put many efforts on the establishments of triangular Said-Ball bases. In [8], Goodman and Said defined a bivariate Said-Ball basis on a triangle and designed a triangular Said-Ball surface based on the research of Said-Ball curve. In [9], Hu et al. extended the univariate Wang-Ball basis to the bivariate case on a triangle, designed a triangular Wang-Ball surface, and pointed out its virtues. Chen and Wang [10] constructed a class of triangular DP surfaces. Recently, Zhu and Han [11] constructed a class of -Bernstein-Bézier basis possessing three-exponential-shape parameters over a triangular domain, which includes the cubic triangular Said-Ball basis and the cubic triangular Bernstein-Bézier basis as special cases.

In industrial design and scientific data visualization, constructing shape preserving interpolation splines for the interpolation of positive or monotonic data is an essential problem and has attracted widespread interest. In [12], Schmidt and Heß derived a necessary and sufficient criterion under which a kind of quadratic rational positivity-preserving interpolation spline was developed. Sakai and Schmidt [13] proposed a method for the construction of positive cubic rational splines of continuity class . In [14, 15], two kinds of rational cubic interpolation splines were constructed by Hussain and Sarfraz to visualize the positive data. In [16], Fritsch and Carlson gave necessary and sufficient conditions for a cubic spline to be monotone on an interval. Manni and Sablonnière [17] developed an explicit expression of a cubic rational spline which can be applied to monotonic data. In [18, 19], two kinds of cubic rational interpolation splines were proposed by Sarfraz for the visualization of monotonic data. In [20], Hussain and Sarfraz presented a cubic rational interpolating scheme to deal with the problem of monotonicity. In [21], by using weighted quadratic splines, Kvasov proposed two algorithms with automatic selection of the shape parameters to construct a shape preserving interpolation spline for monotonic or convex data. Recently, the quadratic and cubic rational trigonometric bases are also considered by some scholars to construct positivity-preserving and monotonicity-preserving interpolation splines; see [2224].

The purpose of this paper is to present four new quartic rational Said-Ball-like basis functions with two-tension-shape parameters, which include the cubic Said-Ball basis functions. By using the new basis, a class of continuous quartic rational Hermite interpolation spline with local tension shape parameters is also constructed. Its error estimate expression is given and sufficient conditions for constructing a positivity- or monotonicity-preserving interpolation spline are derived. The quartic rational Said-Ball-like basis functions are also extended to a triangular domain. In order to compute the corresponding patch stably and efficiently, a new de Casteljau-type algorithm is developed.

The rest of this paper is organized as follows. Section 2 gives the definition and properties of the new quartic rational Said-Ball-like basis and discusses the properties of the corresponding quartic rational Said-Ball-like curve. In Section 3, based on the new proposed quartic rational Said-Ball-like basis, a new class of quartic rational Hermite interpolation spline is developed. Sufficient conditions are derived for constructing a positivity- or monotonicity-preserving interpolation spline. Section 4 gives the construction and properties of the quartic rational Said-Ball-like basis functions over a triangular domain. The conditions for continuously and smoothly joining of two quartic rational triangular Said-Ball-like patches are deduced. Conclusion is given in Section 5.

2. Quartic Rational Said-Ball-Like Basis

2.1. Construction of the Basis

We construct four new quartic rational Said-Ball-like basis functions as follows.

Definition 1. For any , , the new quartic rational Said-Ball-like basis functions are given by

Notice that we can see immediately that the quartic rational Said-Ball-like basis functions (1) are constructed in the function space span . It is easy to check that, for , the quartic rational Said-Ball-like basis is precisely the cubic Said-Ball basis; see [13].

For convenience, in the following discussion we will also denote the four quartic rational Said-Ball-like basis functions as , , or , , and , . Figure 1 shows some plots of the new basis functions for some values of the shape parameters.

From the definition of the quartic rational Said-Ball-like basis given in (1), we have the following important properties of the new basis.

Theorem 2. The quartic rational Said-Ball-like basis (1) has the following properties. (a)Partition of unity: .(b)Nonnegativity: , .(c)Symmetry: , for .(d)Linear independence: for , the quartic rational Said-Ball-like basis functions , , are linearly independent.

Proof. It is easy to check that the basis (1) has the properties of partition of unity, nonnegativity, and symmetry. In addition, for any , , we consider a linear combination Differentiating with respect to the variable on both sides, we have For , from (3) and (4), we can obtain the following system of equations with respect to and : Then, we have . Similarly, for , we can get . Thus, the basis functions (1) are linearly independent.

2.2. Definition and Properties of the Quartic Rational Said-Ball-Like Curve

Definition 3. Given control points in or , then is called a quartic rational Said-Ball-like curve with two shape parameters and .

Since the quartic rational Said-Ball-like basis (1) has the properties of partition of unity and nonnegativity, we can see that the corresponding curve (6) defined by it has the properties of affine invariance and convex hull, which are crucial properties in curve design. Direct computation gives the following end-point property of the quartic rational Said-Ball-like curve: These imply that for any the curve has the end-point interpolation property and  , are the tangent lines of the curve at the points  , , respectively. From these, we can find that the quartic rational Said-Ball-like curve has some properties analogous to that of the cubic Said-Ball curve. For , the quartic rational Said-Ball-like curve, specially, is just the cubic Said-Ball curve.

For the analysis of the effect of the shape parameters on the shape of the obtained quartic rational Said-Ball-like curve, we rewrite (6) as follows:

From (8), it is obvious that the shape parameters and only affect the curve on the control edges and , respectively. Moreover, decreases with the increase of for any fixed , which indicates that the curve moves in the same direction of the edge as increases. Inversely, as decreases, the curve moves in the opposite direction to the edge . The shape parameter has similar effects on the edge . When the shape parameters satisfy , the curve moves in the same direction or the opposite direction to the edge when increases or decreases, respectively. And when ,   increase at the same time, the curve tends to the edge . Thus we can see that the shape parameters and serve as local tension parameters. Figure 2 shows the effect of the shape parameters on the quartic rational Said-Ball-like curves.

Corner cutting algorithm is an efficient and stable process for computing the quartic rational Said-Ball-like curve. In order to develop such an algorithm, we rewrite the quartic rational Said-Ball-like curve (6) in the following matrix form: From (9), we can immediately obtain a corner cutting algorithm for computing the quartic rational Said-Ball-like curve. See Figure 3 for an illustration of this algorithm.

Control polygons provide an important tool in geometric modeling. Here, we adopt the method given in [25] to show some relations of the quartic rational Said-Ball-like curves and the classical cubic Bézier curves corresponding to the same control polygons.

Suppose that the control points are not collinear; let be a cubic Bézier curve , where and with the same control points . Then, it is easy to show that . Moreover, according to a simple computation, we have where ,  .

From (10), we can see that if , that is, , then the quartic rational Said-Ball-like curves will be closer to the control polygon than the cubic Bézier curve .

Figure 4 shows the comparisons between the quartic rational Said-Ball-like curves and the cubic Bézier curves. It is clear that, by changing the shape parameters, the quartic rational Said-Ball-like curves can yield tight envelopes for the cubic Bézier curves. Figure 5 shows the comparisons between the quartic rational Said-Ball-like curves (solid lines and dash-dotted lines) and the cubic trigonometric Bézier curves with two shape parameters and given in [25] (dashed lines and dotted lines). Clearly, the quartic rational Said-Ball-like curves can be closer to the control polygon than the cubic trigonometric Bézier curves.

3. Quartic Rational Shape Preserving Interpolation Spline

In this section, based on the quartic rational Said-Ball-like basis given in (1), we will construct a kind of quartic rational Hermite interpolation spline. Meanwhile, sufficient conditions are also derived for constructing the interpolation spline which can preserve the shape of positive or monotonic set of data.

3.1. Quartic Rational Hermite Interpolation Spline and Convergence Analysis

Let , , be data given at the distinct knots , , with interval spacing , and let denote the first derivative values defined at the knots. By using the basis given in (1), we construct a quartic rational Hermite interpolation spline as follows: where , ,  .

The spline given in (11) is a Hermite interpolation spline as it satisfies the following interpolatory properties: And it can be easily checked that, for , the quartic rational Hermite interpolation spline is exactly the classical cubic Hermite interpolation spline.

Here, all tangent information is computed from the given data , , as follows: which is used usually for generating Hermite interpolation curves.

In practical applications, the corner cutting algorithm given in (9) can be used to compute the quartic rational Hermite interpolation spline effectively and stably. From (11), it is obvious that the shape parameter only affects two associated curve segments. As increases, the curve is pulled towards the point in the neighborhood of the knot position . In other words, the shape parameter serves as a local tension shape parameter.

Next, we will make a convergence analysis on the quartic rational Hermite interpolation spline . Let be a given function to which is compared. For , we denote , and write

Theorem 4. Let , for ; and we have

Proof. For , , let and After some computations, we have
With the notation , , let
Since is the cubic Hermite interpolant to , we have It is easy to see that and . From these, we can easily obtain (15).

Smooth shape preserving interpolation splines are of great significance in the area of computer graphics and scientific data visualization. In the next two subsections, we will show that a shape preserving interpolation spline for positive andor monotonic data sets can be easily constructed by constraining the shape parameters in the quartic rational Hermite spline given in (11).

3.2. Positivity-Preserving Interpolation Spline

For simplicity of presentation, let us assume a positive set of data as follows: where , , and , .

Without loss of generality, we just consider the spline constrained on the subinterval . Since the quartic rational Said-Ball-like basis functions are nonnegative, from (11) we can see that for any if

From (22), we can easily obtain the following sufficient conditions for constructing a positivity-preserving interpolation spline : where the free parameter , , can be set by users for interactively controlling the shape of the obtained spline curve.

Figure 6 shows our positivity-preserving interpolation spline (on the left) for the positive dataset given in Table 1 and the graphics of their first derivatives (on the right). It can be seen that the spline curves preserve the positive shape of the data well and they all achieve continuity. The visually pleasing positivity-preserving interpolation spline is generated by applying the sufficient conditions in (23) with different free shape parameters . Figure 7 shows the comparison between our positivity-preserving interpolation spline curves ((on the left), with the choice of free parameters ) and the positivity-preserving interpolation spline curves given in [26] for the same positive dataset given in Table 2. From the results, it is obvious that our positivity-preserving interpolation spline curves and the scheme given in [26] can construct similar curves to describe the positive dataset.

3.3. Monotonicity-Preserving Interpolation Spline

Similarly as in the last subsection, a monotonic increasing set of data is given as follows: where , , and . For a monotonic increasing preserving interpolation spline , it is necessary that the corresponding derivative values meet Obviously, the derivative values chosen by (13) can ensure this necessary condition.

Without loss of generality, we just consider the function constrained on the subinterval . From (11), direct computation gives that where . From (26) we can see that for any if where the necessary conditions ,   are assumed.

From (27), we can easily obtain the following sufficient conditions for constructing a monotonicity-preserving interpolation spline where the free parameter , , can be specified by users to achieve a monotonicity-preserving interpolation spline.

Similarly, we can deal with a monotonic decreasing data. It should be noted that, if , it is necessary to set . Thus for any , , is a constant on . For the case where the data is monotonic but not strictly monotonic (i.e., when some ) it would be necessary to divide the data into several strictly monotonic parts. And we should set , whenever .

Figure 8 shows our monotonicity-preserving interpolation spline (on the left) for the dataset in Table 3 and the graphics of their first derivatives (on the right). Obviously, all of the interpolation spline curves have the properties of monotonicity-preserving and they are all continuous. The visually pleasing monotonicity-preserving interpolation spline is generated by applying the sufficient conditions in (28) with different free shape parameters . Figure 9 shows the comparison between our monotonicity-preserving interpolation spline curves (on the left, with the choice of the free parameters ) and the monotonicity-preserving interpolation spline curves given in [26] for the monotone dataset given in Table 4. From the results, it can be seen that our monotonicity-preserving interpolation spline curves describe the monotone dataset as well as the scheme given in [26].

4. Quartic Rational Said-Ball-Like Basis over a Triangular Domain

Based on the proposed quartic rational Said-Ball-like basis with two shape parameters given in (1), by using the method of tensor product, we can easily construct a kind of biquartic rational Said-Ball-like patch over a rectangle domain with four shape parameters. However, the patch over the triangular domain is not a tensor product patch exactly. These imply that we cannot extend the basis (1) to a triangular domain by using the method of tensor product. In this section, we will construct a new class of quartic rational Said-Ball-like basis over a triangular domain with three shape parameters, which is an extension over a triangular domain of the basis (1).

4.1. Construction and Properties of the Basis

Here, we give the definition of the new quartic rational Said-Ball-like basis functions over a triangular domain as follows.

Definition 5. Let , and ; the following ten functions are defined as new quartic rational Said-Ball-like basis functions, with three shape parameters , , and , over the triangular domain :

Remark 6. In the following discussion, we will denote the new quartic rational Said-Ball-like basis functions as , , . It is easy to check that for , the basis functions given in (29) are precisely the cubic Said-Ball basis functions over a triangular domain; see [8].

From the expressions of the new quartic rational Said-Ball-like basis functions over a triangular domain given in (29), we can obtain the following important properties of the new basis.

Theorem 7. The basis functions over a triangular domain given in (29) have the following properties. (a)Partition of unity: .(b)Nonnegativity: ,  , .(c)Property at the corner points: for , , we have (d)Derivative at the corner points: for , , and , we have (e)Boundary property: when one of the three variables is taken as zero, the ten quartic rational basis functions degenerate to the corresponding quartic rational Said-Ball-like basis functions (notice ) given in (1).(f)Linear independence: are linearly independent.

Proof. We will prove and . Simple and direct computation can give out the remaining properties.(b)For any , ,  , and , is obvious. Furthermore, for , by directly computing, we have (f)For , , we consider a linear combination
Let ; we have
Differentiating with respect to the variable on both sides, we have
For , from (34) and (35), we get
Thus, we have . And for , from (34) and (35), we can also obtain . Similarly, , . And finally, .
These imply the theorem.

Figure 10 shows some plots of quartic rational Said-Ball-like basis functions over a triangular domain. The three shape parameters take values , , .

4.2. Definition and Properties of the Quartic Rational Triangular Said-Ball-Like Patch

Definition 8. Let , given control points and a triangular domain . We call the quartic rational triangular Said-Ball-like patch with three shape parameters .

From the properties of the quartic rational Said-Ball-like basis functions over a triangular domain, some properties of the quartic rational triangular Said-Ball-liek patch (37) can be obtained easily as follows.(a)Affine invariance and convex hull properties: since the basis functions (29) have the properties of partition of unity and nonnegativity, we can see that the corresponding patch (37) has affine invariance and convex hull property.(b)Geometric properties at the corner points: direct computation gives that These indicate that the patch (37) interpolates at the corner points.(c)Tangent planes at the corner points: let ; we have These indicate that the tangent planes at the three corner points , , and are the three planes spanned by the control points , , and ; , , and ; , ,  and  , respectively.(d)Boundary property: for , is a quartic rational Said-Ball-like curve with two shape parameters and . And similarly, and both are quartic rational Said-Ball-like curves with shape parameters , and , , respectively.(e)Shape adjustable property: without changing the control net, we can adjust the shape of the quartic rational triangular Said-Ball-like patch conveniently by using the three shape parameters , , and . As the three shape parameters increase at the same time, the patch will be made close to the control net. Thus the three shape parameters , , serve as tension parameters. Furthermore, from the boundary property of the patch, we can see that the three shape parameters , , and have nothing to do with the boundary curves , , and , respectively. These imply that altering the value of a single shape parameter, one corresponding boundary curve of the generated patch will not change.

Figure 11 shows the quartic rational triangular patches and the effect on the patches by altering the values of the shape parameters without changing the control points.

4.3. De Casteljau-Type Algorithm

The classical de Casteljau algorithm is a stable and efficient process for computing the triangular Bernstein-Bézier patch. Here, we will develop a de Casteljau-type algorithm for computing the proposed quartic rational triangular Said-Ball-like patch. By setting we have Furthermore, there are three points at the second level: which lead to From (41) and (43), we can immediately obtain the following de Casteljau-type algorithm: where , , , and

4.4. Joining Two Patches

In practical surface construction, we often need to join several patches together in order to generate shapes that are too complex to handle with a single patch. During the joining of quartic rational triangular Said-Ball-like patches, we need to control the smoothness of the connecting surface. For , let two quartic rational triangular Said-Ball-like patches be defined as It is apparent that if the control points satisfy the two patches will join along a common boundary curve: , . Thus the two patches clearly form a surface with positional continuity or a surface with continuity.

For the common boundary curve , differentiating with respect to , we have

For and , we do differentiate with respect to

The condition for smooth joining is that the vectors defined by (49), (50), and (51) should be coplanar for any ; see [28]. It can be expressed as where both and are constants. From these discussions, we can easily obtain a rule:

In summary, we conclude the following theorem.

Theorem 9. For , , the surface connecting (46) with (47) is continuous, on the condition that (48) and (53) hold.

From Theorem 9, we can know that the conditions for smoothly joining two quartic rational triangular Said-Ball-like patches are similar to the ones necessary for joining two triangular Bernstein-Bézier cubic patches; see [28]. However, we can adjust the shape of the obtained continuous surface conveniently by changing the tension shape parameters in the quartic rational triangular Said-Ball-like patch. Figure 12 shows the continuous smooth surfaces generated by the joining of two quartic rational triangular Said-Ball-like patches with different shape parameters. The parameters take values .

5. Conclusion

The four quartic rational Said-Ball-like basis functions have the properties of partition of unity, nonnegative property, and linear independence and include the cubic Said-Ball basis functions as a special case. The new proposed quartic rational Hermite interpolation spline can be used to construct positivity- or monotonicity-preserving interpolation splines by constraining the shape parameters in the spline. The quartic rational Said-Ball-like basis with three-shape parameters over a triangular domain is a new construction for geometric design and computing, which has the properties of partition of unity, nonnegativity, and linear independence, and includes the classical cubic Said-Ball basis over a triangular domain as a special case. Without changing the control net, the shape of the obtained patch can be adjusted conveniently by using the shape parameters. Future work will concentrate on applying the new proposed basis to construct shape preserving interpolation spline surfaces.

Conflict of Interests

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

Acknowledgments

We would like to thank the anonymous reviewers and the editor for their valuable comments for improvements. The research is supported by the National Natural Science Foundation of China (nos. 60970097, 61173119, and 11271376), Program for New Century Excellent Talents in University (no. NCET-13-0590), Hunan Province Science and Technology Project (no. 2014FJ2008), the Open Project Program of the State Key Lab of CAD&CG (no. A1414) at Zhejiang University, Graduate Students Scientific Research Innovation Project of Hunan Province (no. CX2012B111), and Mathematics and Interdisciplinary Sciences Project, Central South University.