Research Article | Open Access
A Geometric Modeling Method Based on TH-Type Uniform B-Splines
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.
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 . 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 [2–11]. T-type splines were introduced [2–7], which can exactly represent the ellipse, the cycloid, and the helix. Pottmann and Wagner  and Koch and Lyche  presented a kind of exponential splines in tension in that space . Lü et al.  gave the explicit expressions for uniform splines. Li and Wang  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  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  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
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
5.1. The Representation of the Conic Curves
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.
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.
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.
- L. Piegle and W. Tiller, The NURBS Book, Springer, Berlin, Germany, 1995.
- J. Zhang, “Two different forms of C-B-splines,” Computer Aided Geometric Design, vol. 14, no. 1, pp. 31–41, 1997.
- J. Zhang, “C-curves: an extension of cubic curves,” Computer Aided Geometric Design, vol. 13, no. 3, pp. 199–217, 1996.
- H. Wu and X. Chen, “Cubic non-uniform trigonometric polynomial curves with multiple shape parameters,” Journal of Computer-Aided Design and Computer Graphics, vol. 18, no. 10, pp. 1599–1606, 2006 (Chinese).
- X. Han, “Cubic trigonometric polynomial curves with a shape parameter,” Computer Aided Geometric Design, vol. 21, no. 6, pp. 535–548, 2004.
- G. Xu, G. Wang, and W. Chen, “Geometric construction of energy-minimizing Béezier curves,” Science China Information Sciences, vol. 54, no. 7, pp. 1395–1406, 2011.
- W.-T. Wang and G.-Z. Wang, “Trigonometric polynomial uniform B-spline with shape parameter,” Chinese Journal of Computers, vol. 28, no. 7, pp. 1192–1198, 2005 (Chinese).
- H. Pottmann and M. G. Wagner, “Helix splines as an example of affine Tchebycheffian splines,” Advances in Computational Mathematics, vol. 2, no. 1, pp. 123–142, 1994.
- P. E. Koch and T. Lyche, “Exponential B-splines in tension,” in Approximation Theory VI, C. K. Chui, L. L. Schumaker, and J. D. Ward, Eds., pp. 361–364, Academic Press, New York, NY, USA, 1989.
- Y. Lü, G. Wang, and X. Yang, “Uniform hyperbolic polynomial B-spline curves,” Computer Aided Geometric Design, vol. 19, no. 6, pp. 379–393, 2002.
- Y.-J. Li and G.-Z. Wang, “Two kinds of B-basis of the algebraic hyperbolic space,” Journal of Zhejiang University Science A, vol. 6, no. 7, pp. 750–759, 2005.
- J. Zhang, F.-L. Krause, and H. Zhang, “Unifying C-curves and H-curves by extending the calculation to complex numbers,” Computer Aided Geometric Design, vol. 22, no. 9, pp. 865–883, 2005.
- J. Zhang and F.-L. Krause, “Extending cubic uniform B-splines by unified trigonometric and hyperbolic basis,” Graphical Models, vol. 67, no. 2, pp. 100–119, 2005.
- G. Wang and M. Fang, “Unified and extended form of three types of splines,” Journal of Computational and Applied Mathematics, vol. 216, no. 2, pp. 498–508, 2008.
- G. Xu and G.-Z. Wang, “AHT Bézier curves and NUAHT B-Spline curves,” Journal of Computer Science and Technology, vol. 22, no. 4, pp. 597–607, 2007.
Copyright © 2014 Jin Xie. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.