Abstract

A geometric modeling method based on TH-type uniform B-splines which are composed of trigonometric and hyperbolic polynomial with parameters is introduced in this paper. The new splines possess many important properties of quadratic and cubic B-splines. Taking different values of the parameters, one can not only locally adjust the shape of the curves, but also change the type of some segments of a curve between trigonometric and hyperbolic functions as well. The given curves can also interpolate directly control polygon locally by selecting special parameters. Moreover, the introduced splines can represent some quadratic curves and transcendental curves with selecting proper control points and parameters.

1. Introduction

B-splines are used as an important geometric modeling tool in computer aided geometric design (CAGD). However, there are still several limitations on B-splines in practical applications [1]. Firstly, for the fixed control points and the knot sequences, the shape of the curves and surfaces represented by B-splines is fixed. Secondly, the B-splines cannot represent conics (except parabolas) and some known curves such as the cycloid and the helix exactly. Although NURBS can overcome the shortcomings of B-splines, as the complexity of its rational basis functions and its derivatives and integrals are hard to compute, it is not convenient to the user. So, in order to avoid their inconveniences, recently, several new splines defined in different space from the usual polynomial space have been proposed for geometric modeling in CAGD [211]. T-type splines were introduced [27], which can exactly represent the ellipse, the cycloid, and the helix. Pottmann and Wagner [8] and Koch and Lyche [9] presented a kind of exponential splines in tension in that space . Lü et al. [10] gave the explicit expressions for uniform splines. Li and Wang [11] generalized the curves and surfaces of exponential forms to algebraic hyperbolic spline forms of any degree, which can represent exactly some remarkable curves such as the hyperbola and the catenary. However, H-type uniform B-splines in tension are not applicable to freeform polynomial curves of high orders, which severely restrict their applications in CAGD.

By comparing T-type uniform B-splines and H-type uniform B-splines, we found that T-type uniform B-splines are located on one side of the B-spline, and H-type uniform B-splines are located on the other side of the B-spline. Therefore, one thinks if the two different curves can be unified to produce new blending splines, then the new curve will have more plentiful modeling power. In order to construct more flexible curves for curves and surface modeling, Zhang et al. [12, 13] proposed a curve family, named FB-spline, that uses a unified basis and basis . FB-splines inherited nearly all the properties that the T-type B-splines and the H-type B-splines have. However, the formulas for the FB-splines were rather complicated. Wang and Fang [14] unified and extended three types of splines by a new kind of spline (UE-spline for short) defined over the space , where the type of a curve can be switched by a frequency sequence . However, the geometric meaning of the sequence is not obvious. Over the space span . Xu and Wang [15] presented two new unified mathematics models of conics and polynomial curves, called algebraic hyperbolic trigonometric (AHT) Bézier curves and nonuniform algebraic hyperbolic trigonometric (NUAHT) B-spline curves of order , which share most of the properties as those of the Bézier curves and B-spline curves in polynomial space.

In this paper, we present a new geometric modeling method based on two kinds of TH-type uniform B-splines which are composed of hyperbolic and trigonometric functions. The introduced spline has the following features: (1) the new spline curves can be adjusted totally or locally. (2) The given curves can switch into T-type B-spline curves or H-type B-spline curves when the parameter is equal to 0 or 1. (3) Without solving the system of equations, the new curves can interpolate certain control points directly. (4) The TH-type B-spline curves can be used to represent some conics and transcendental curves with the parameters and control points chosen properly.

The rest of this paper is organized as follows. In Sections 2 and 3, the TH-type basis functions and corresponding TH-type curves are established and the properties of the basis functions are proved. In Section 4, some properties of the TH-type B-spline curves are discussed. It is pointed out in Section 5 that some transcendental curves can be represented precisely with the TH-type curves, and the applications of the curves are shown in Section 6.

2. Quadratic TH-Type B-Spline

Definition 1. Given , the quadratic basis functions based on weighted trigonometric and hyperbolic polynomials are as follows: which are named the basis functions of quadratic TH-type B-spline.

Theorem 2. The above functions have the following properties.(i)Partition of unity: .(ii)Symmetry: , .(iii)Nonnegativity: if , , then .

Proof. (i) and (ii) are easy to be proved by simple computation. Next we will prove (iii).
By direct computation, we have . And since and , then we have . Evidenced by the same token, we have .
From (ii), we have . Obviously, if we can prove , we can prove .
Let ; we have . Thus, when , we can get So the maximum value of the function equals 1. That is, , which means .

Definition 3. Given control points , the curves are defined quadratic TH-type B-spline curve segments with shape parameters and , where , and are the bases of quadratic TH-type B-spline.

3. Cubic TH-Type B-Spline

By a similar method, we may define the bases of cubic TH-type B-spline.

Definition 4. For and , the following functions, are called basis functions of cubic TH-type B-spline with shape parameters and .

It is easy to prove that the basis functions of cubic TH-type B-spline have the same properties: nonnegativity, partition of unity, and symmetry.

Definition 5. Given control points , the curves are defined cubic TH-type B-spline curve segments with shape parameters and , where , , , and are the basis functions of cubic TH-type B-spline.

4. The Properties of the TH-Type B-Spline Curves

According to the properties of the basis functions and definition, it is easy to get the following properties of curves (3) and (5).

(i) Continuity

Theorem 6. For the uniform knots, the curves (3) are continuous and the curves (5) are continuous.

Proof. For the curve (3), we can get Thus, we obtain ; that is to say, the curves (3) are continuous.
For the curves (5), we get So, we have . This implies that curves (5) are continuous.
This implies the theorem.

(ii) Local Adjustable Properties. From formulas (3) and (5), the parameter only affects two curve segments without altering the remainder. Figure 1 shows local adjustable quadratic uniform TH-type spline curves, where all parameters in the solid curves and all parameters except in the dotted curves. The parameter only affects the 2th and the 3th curve segment. Figure 2 shows the local adjustable cubic uniform TH-type spline curves, where all the parameters are equal to 0.5 in the solid curves, and all the parameters are equal to 0.5 except in the dotted curves. The parameter only affects the 4th and 5th curve segment.

Obviously, when all parameters are the same, the curves can be adjusted totally.

(iii) Local Interpolating Properties. For the curve (3), letting , then ; that is, the curve interpolates the point . For the curve (5), when , , ; that is, the curve interpolates the points and . Figure 3 shows local interpolating quadratic TH-type spline curves, where the curve interpolates the point when the parameter . The local interpolating cubic TH-type spline curves are showed in Figure 4, where the curves interpolate the point when the parameter .

5. The Representations of Some Known Curves

When the parameters , the curves (3) and (5) are T-type uniform B-spline curves. If the parameters , the curves (3) and (5) become H-type uniform B-splines.

5.1. The Representation of the Conic Curves

The ellipse and hyperbola are the most common in the conic curve. If the control points and the parameters are selected properly, the curves (3) and (5) can represent them precisely.

Given the uniform knots, for the quadratic T-type B-spline curve, we take the coordinates of the points , and as follows: For the cubic T-type B-spline curve, we take Then, when and , we obtain a parametric equation as follows: It is the parametric form of the ellipse; see Figure 5. In order to represent the hyperbola, for the quadratic H-type uniform B-spline curves, the control points are taken as follows:

For the cubic H-type uniform B-spline curves, we take , , , as control points. So we get a parametric equation as follows: which represents an arc of the hyperbola; see Figure 6.

5.2. The Representation of the Transcendental Curves

In this section, we can represent the transcendental curves with the uniform TH-type B-splines, such as cycloid and catenary.

When parameters , control points are taken as follows: So we obtain the parametric equation as follows: which represents an arc of a cycloid; see Figure 7.

Similarly, when taking , , , and as control points, the parameters . By formula (5), we have the following equation: which is the parametric equation of the catenary; see Figure 8.

6. The Applications of the TH-Type Splines

From the last section, we see, letting the parameter be equal to 0 or 1, the types of the curves can be switched easily. So, by selecting control points and parameters properly, we can represent different type curve segments among a blending curve. In Figure 9, a closed blending curve is composed of different type curves with the quadratic TH-type B-splines, where the coordinates of control points are , , , , , and the parameters (). The 1st segment is a trigonometric curve, which is a quarter of a parabola. The 3rd segment is a hyperbola arc. The blending curve interpolates the point in that the parameters .

Figure 10 shows an open blending curve represented by the cubic TH-type B-splines. The control points are taken as follows: , , , , , , , , , , , , , where the parameters (). The 1st segment of the bending curve is a trigonometric curve, which is a part of the cycloid. The 5th and 6th segment are the catenary and hyperbola, respectively. The 10th segment is the parabola arc. Since the parameters , the blending curve interpolates the points and .

Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work was funded by the Natural Science Foundation of Anhui Province of China under Grant no. 1208085MA15, the Key Project Foundation of Scientific Research, Education Department of Anhui Province under Grant no. KJ2014ZD30, and Key Construction Disciplines Foundation of Hefei University under Grant no. 2014XK08.