Next Article in Journal
Theoretical Aspects for Bayesian Predictions Based on Three-Parameter Burr-XII Distribution and Its Applications in Climatic Data
Next Article in Special Issue
Bézier Curves and Surfaces with the Blending (α, λ, s)-Bernstein Basis
Previous Article in Journal
Chiral Organophosphorus Pharmaceuticals: Properties and Application
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Class of Trigonometric B-Spline Curves

1
School of Mathematics, National University of Colombia, Medellín Campus, Medellín 4309511, Colombia
2
Department of Applied Mathematics, University Research Institute of Mathematics and Its Applications (IUMA), University of Zaragoza, 50009 Zaragoza, Spain
*
Author to whom correspondence should be addressed.
Symmetry 2023, 15(8), 1551; https://doi.org/10.3390/sym15081551
Submission received: 13 July 2023 / Revised: 2 August 2023 / Accepted: 4 August 2023 / Published: 7 August 2023
(This article belongs to the Special Issue Computer-Aided Geometric Design and Matrices)

Abstract

:
We construct one-frequency trigonometric spline curves with a de Boor-like algorithm for evaluation and analyze their shape-preserving properties. The convergence to quadratic B-spline curves is also analyzed. A fundamental tool is the concept of the normalized B-basis, which has optimal shape-preserving properties and good symmetric properties.

1. Introduction

The importance of trigonometric curves and surfaces is well known in many different areas, such as robotics, mechanics, electricity or medicine. Generalized hybrid trigonometric Bézier curves have been considered for the construction of some engineering symmetric revolutionary curves and symmetric rotation surfaces (see [1]). In order to approximate trigonometric curves, we could use the weights of nonuniform rational B-spline curves to modify the shapes of the obtained parametric curves. However, rational curves may be unstable and their derivatives are difficult to calculate (see also [2]). Shape parameters have also been used for the design of parametric trigonometric curves (see [3,4,5,6,7,8,9,10]).
Trigonometric splines have been suggested for CAM design [11] and trajectory generation [12]. Problems such as data fitting on the sphere can be better solved by using trigonometric splines rather than the conventional polynomial counterpart (see Chapter 12 of [13]). Moreover, they also play a useful role with circular Bernstein Bézier polynomials [14] and with piecewise rational curves with rational offsets [15].
Polynomial Pythagorean-Hodograph (PH) curves have been widely analyzed (see [16,17,18,19,20,21,22,23,24,25,26]). They have the good property of possessing a closed-form polynomial representation of their arc lengths and exact rational parameterizations of their offset curves. In [27], the C 1 Hermite interpolation problem considering spatial PH quintics is analyzed. A family of interpolants is studied and the solution that has the best approximation order and preserves the planarity and symmetry with respect to the reversion of the parameter domain is identified.
Polynomial PH curves are defined using Bernstein bases, thus yielding a control polygon or so-called Bézier representation for them. Different counterparts of polynomial PH curves have been proposed. In [26], algebraic-trigonometric Pythagorean-Hodograph (ATPH) curves were introduced. Most recently, in [16,17], the new classes of planar and spatial Pythagorean-Hodograph (PH) B-spline curves were proposed. Let us observe that for the construction of algebraic–trigonometric Pythagorean-Hodograph (ATPH) B-spline curves, Bernstein-like bases of spaces of piecewise trigonometric functions are required.
Let us recall that, for a suitable basis ( u 0 , , u n ) of a given space U, γ ( t ) = i = 0 n P i u i ( t ) provides a parametric representation of the curves, where the vector coefficients are points (control points) in R s determining a polygon P 0 P n , called the control polygon of γ [28]. We say that a basis provides a shape-preserving representation if the shape of the curve imitates the shape of its control polygon. This interesting property requires that the basis is normalized totally positive (NTP).
The collocation matrix of a system of functions ( u 0 , , u n ) defined on I R at t 0 < < t m in I is given by
M u 0 , , u n t 0 , , t m : = ( u j ( t i ) ) i = 0 , , m ;   j = 0 , , n .
A matrix is totally positive if all its minors are nonnegative and a system of functions is totally positive when all its collocation matrices (1) are totally positive. A usual requirement for design purposes is that the basis functions u 0 , , u n are nonnegative and form a partition of the unity, i.e., i = 0 n u i ( t ) = 1 , t . Then, we say that ( u 0 , , u n ) is a normalized basis of nonnegative functions or, equivalently, a blending basis. Blending bases satisfy the convex hull property: the generated curves will be within the convex hull of their control polygon. Finally, an NTP basis is a normalized basis with the total positivity property. NTP bases provide shape-preserving representations (cf. [13,29]).
The normalized B-basis is an NTP basis with optimal shape-preserving properties because the matrix of the change in the basis of any NTP basis with respect to the normalized B-basis is totally positive and stochastic. As a consequence, the control polygon of a curve with respect to the normalized B-basis can be obtained from its control polygon with respect to any other NTP basis by performing a corner cutting algorithm (cf. [30]). Then, the control polygon with respect to the normalized B-basis is closer in shape to the curve than the control polygon with respect to the other NTP bases. In particular, the length of the control polygon with respect to the normalized B-basis lies between the length of the curve and the length of any other control polygon of the curve. Similar properties hold for several features of the curve, such as the angular variation or the number of inflections (cf. [13,29]). The importance of the length of the parameter domain for the derivation of shape-preserving representations for trigonometric polynomial curves was shown in [31]. On the other hand, let us recall that the concepts of the B-basis and normalized B-basis (see Definition 3.7 of [29] for B-basis) are deeply related to the notion of symmetry, with respect to the initial and final basis functions, as well as with respect to the left and the right end-points of the interval, where the basis functions have the same properties as the Bernstein bases of polynomials (see Proposition 4.5 of [29]).
Control points and control polygons of polynomial splines play an important role in CAGD (cf. [28,32]), and it is natural to ask whether these concepts can also be defined for trigonometric splines. Trigonometric spline functions were introduced in [33] (see also [34]) and the recurrence relation for the trigonometric B-splines of arbitrary order was obtained in [35]. Since the standard trigonometric B-splines do not form a partition of unity (cf. [35]), the corresponding splines will not satisfy the convex hull property. This fact motivated the study in [36], where a trigonometric version of the convex hull property was established by introducing control curves that have properties similar to those of classical polynomial splines. In contrast, this paper proposes new trigonometric spline bases, which form a partition of the unity and have other shape-preserving properties. These bases generate trigonometric spline curves that can be evaluated by different corner cutting algorithms from their control polygons. In the literature, several works can be found studying the properties of trigonometric B-spline functions with shape parameters (see [6,7,8,9]); nevertheless, generally, no corner cutting algorithm is provided for the evaluation of the corresponding trigonometric B-spline curves. Furthermore, the proposed approach is worthy of consideration for future work; among others, it can be considered to define new ATPH B-splines and facilitate further advances in this interesting field.
The paper is organized as follows. In Section 2, we construct one-frequency trigonometric spline curves, which we call T 2 -B-spline curves (open or closed) and clamped T 2 -B-spline curves. Among other properties, these curves satisfy the convex hull property. There is an invariant affine relation between T 2 -B-spline curves and their control points. Furthermore, T 2 -B-spline curves are locally controlled and there are end-point and end-tangent interpolation properties for clamped curves. It is also shown that the corresponding normalized T 2 -B-spline functions can conveniently be generated by a de Boor–Cox-like recurrence relation, which in turn gives a de Boor-like or corner cutting algorithm for the evaluation of the T 2 -B-spline curves. Section 3 analyzes the convergence of T 2 -B-spline curves to quadratic B-spline curves. T 2 -B-spline bases and curves corresponding to non-uniform knots are introduced in Section 4. Finally, Section 5 summarizes the conclusions and future work.

2. One-Frequency Trigonometric Spline Curves

For a given 0 < α < π , we consider compact intervals I α : = [ 0 , α ] and the spaces
U 1 ( I α ) : = cos t , sin t , U 2 ( I α ) : = 1 , cos t , sin t , t I α .
In [37], it was shown that the system ( B 0 1 , B 1 1 ) defined by
B 0 1 ( t ) : = sin ( α t ) sin α , B 1 1 ( t ) : = sin t sin α , t I α ,
is a B-basis of U 1 ( I α ) , and the system ( B 0 2 , B 1 2 , B 2 2 ) with
B 0 2 ( t ) : = 1 cos ( α t ) 1 cos α , B 1 2 ( t ) : = cos t + cos ( α t ) cos α 1 1 cos α , B 2 2 ( t ) : = 1 cos t 1 cos α , t I α ,
is the normalized B-basis of U 2 ( I α ) . Let us observe that ( B 0 1 , B 1 1 ) clearly satisfies B 1 1 ( t ) = B 0 1 ( α t ) , t I α . A similar symmetry holds for ( B 0 2 , B 1 2 , B 2 2 ) since
B 0 2 ( α t ) = B 2 2 ( t ) , B 1 2 ( α t ) = B 1 2 ( t ) , t I α .
According to [37], we have the following decomposition
( B 0 2 ( t ) , B 1 2 ( t ) , B 2 2 ( t ) ) = Λ 1 ( t ) Λ 2 ( t ) , t I α ,
where
Λ 1 ( t ) = ( 1 λ 0 1 ( t ) , λ 0 1 ( t ) ) , Λ 2 ( t ) = 1 λ 0 0 ( t ) λ 0 0 ( t ) 0 0 1 λ 1 0 ( t ) λ 1 0 ( t ) ,
and
λ 0 1 ( t ) = ( 1 cos t ) sin ( α t ) sin t + sin ( α t ) sin α , t I α , λ 0 0 ( t ) = sin α ( 1 cos t ) sin t ( 1 cos α ) , λ 1 0 ( t ) = sin t + sin ( α t ) sin α ( 1 cos α ) sin ( α t ) , t I α .
It can be easily checked that the bases (2) and (3) can be also described as follows:
B 0 1 ( t ) = cos α t 2 sin α t 2 cos α 2 sin α 2 , B 1 1 ( t ) = cos t 2 sin t 2 cos α 2 sin α 2 , t I α ,
and
B 0 2 ( t ) = sin 2 α t 2 sin 2 α 2 , B 1 2 ( t ) = 2 cos α 2 sin α t 2 sin t 2 sin 2 α 2 , B 2 2 ( t ) = sin 2 t 2 sin 2 α 2 , t I α .
Furthermore, the functions in the factorization (5) satisfy
λ 0 1 ( t ) = sin t 2 cos α t 2 sin α 2 , t I α , λ 0 0 ( t ) = cos α 2 sin t 2 cos t 2 sin α 2 , λ 1 0 ( t ) = sin t 2 sin α 2 cos α t 2 , t I α .
Definition 1.
Let 0 < α < π and d N . Given p i R d , i = 0 , 1 , 2 , we say that the parametric trigonometric curve
p 2 ( t ) : = i = 0 2 p i B i 2 ( t ) , t I α .
is a  T 2 -curve.
Let us observe that, using (4), we can write
p 2 ( α t ) = i = 0 2 p 2 i B i 2 ( t ) , t I α ,
and derive that T 2 -curves possess a symmetry similar to that of Bézier curves.
The factorization (5) of the basis (3) defines a corner cutting algorithm for the evaluation of any parametric T 2 -curve given by (9). In matrix form, this de Casteljau-like corner cutting algorithm can be described as follows, where the curve point for the parameter value t is p 2 ( t ) = p 0 2 ,
p 0 0 p 0 1 p 0 2 = L p 0 0 p 1 0 p 2 0 , p 0 2 p 1 1 p 2 0 = U p 0 0 p 1 0 p 2 0 ,
where L = L 1 L 0 , U = U 1 U 0 , with
L 0 = 1 0 0 1 λ 0 0 λ 0 0 0 0 1 λ 1 0 λ 1 0 , L 1 = 1 0 0 0 1 0 0 1 λ 0 1 λ 0 1 ,
and
U 0 = 1 λ 0 0 λ 0 0 0 0 1 λ 1 0 λ 1 0 0 0 1 , U 1 = 1 λ 0 1 λ 0 1 0 0 1 0 0 0 1 ,
for the functions λ i j ( t ) defined in (7), or equivalently in (8).
Given a space U C [ a , b ] , we shall use the following notation:
D U : = { u | u U } , D 1 U : = { u C 1 [ a , b ] | u U } .
Theorem 1.
For 0 < α < π , let
( N 0 1 , N 1 1 ) : = ( 1 λ 0 1 , λ 0 1 ) ,
where λ 0 1 is defined in (7), or equivalently in (8). Then, ( N 0 1 , N 1 1 ) is the normalized B-basis of the space D 1 U ( I α ) , where
U ( I α ) : = cos t α 2 , t I α .
Proof. 
Differentiating in (8), we can write
( N 1 1 ) ( t ) = ( λ 0 1 ) ( t ) = 1 2 sin α 2 cos t α 2 , t I α ,
and so we deduce that ( N 1 1 ) ( t ) > 0 , for all t I α . Since N 1 1 is an increasing function on I α and satisfies N 1 1 ( 0 ) = 0 , N 1 1 ( α ) = 1 , it can be easily checked that ( N 0 1 , N 1 1 ) is formed by nonnegative functions on I α and it is an NTP basis of D 1 U ( I α ) . Finally, using Proposition 2.4 of [2], we conclude that ( N 0 1 , N 1 1 ) is a B-basis. □
It can be easily checked that the functions in (11) satisfy N 0 1 ( α t ) = N 1 1 ( t ) , t I α (see Figure 1 for an illustration of these functions). Moreover,
Λ 1 ( t ) = ( B 0 1 ( t ) , B 1 1 ( t ) ) A 1 ( t ) , t I α ,
where A 1 ( t ) is defined by
A 1 ( t ) : = a 0 b 0 a 1 b 1
with
a 0 : = sin α + sin ( α t ) 3 sin t 2 ( sin ( α t ) sin t ) , b 0 : = a 0 1 , a 1 : = 1 a 0 , b 1 : = 2 a 0 .
Now, let us introduce the following functions defined on I α ,
( N 0 2 , N 1 2 , N 2 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A 2 , A 2 : = 1 2 1 2 0 0 1 0 0 1 2 1 2 , ( N ¯ 0 2 , N ¯ 1 2 , N ¯ 2 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A ¯ 2 , A ¯ 2 : = 1 0 0 0 1 0 0 1 2 1 2 , ( N ^ 0 2 , N ^ 1 2 , N ^ 2 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A ^ 2 , A ^ 2 : = 1 2 1 2 0 0 1 0 0 0 1 .
Clearly, the matrices A 2 , A ¯ 2 , A ^ 2 are nonsingular, stochastic and TP. Then, by Corollary 3.9 (iv) of [29], we can immediately deduce that the systems introduced in (13) are NTP bases of U 2 ( I α ) . Figure 2, Figure 3 and Figure 4 illustrate the functions N i 2 ( t ) , N ¯ i 2 ( t ) and N ^ i 2 ( t ) , respectively. On the other hand, by (13) and (5), we can obtain the following relations:
( N 0 2 ( t ) , N 1 2 ( t ) , N 2 2 ( t ) ) = ( N 0 1 ( t ) , N 1 1 ( t ) ) Λ 2 ( t ) A 2 , t I α , ( N ¯ 0 2 ( t ) , N ¯ 1 2 ( t ) , N ¯ 2 2 ( t ) ) = ( N 0 1 ( t ) , N 1 1 ( t ) ) Λ 2 ( t ) A ¯ 2 , t I α , ( N ^ 0 2 ( t ) , N ^ 1 2 ( t ) , N ^ 2 2 ( t ) ) = ( N 0 1 ( t ) , N 1 1 ( t ) ) Λ 2 ( t ) A ^ 2 , t I α .
The following result collects important properties of the functions in (13).
Theorem 2.
The following properties hold for the functions defined in (13).
1.
N 0 2 ( α t ) = N 2 2 ( t ) , N 1 2 ( α t ) = N 1 2 ( t ) , t I α .
2.
N 0 2 ( 0 ) = 1 2 , N 1 2 ( 0 ) = 1 2 , N 2 2 ( 0 ) = 0 , N 0 2 ( α ) = 0 , N 1 2 ( α ) = 1 2 , N 2 2 ( α ) = 1 2 .
3.
( N 0 2 ) ( 0 ) = 1 2 cot ( α 2 ) , ( N 1 2 ) ( 0 ) = 1 2 cot ( α 2 ) , ( N 2 2 ) ( 0 ) = 0 . ( N 0 2 ) ( α ) = 0 , ( N 1 2 ) ( α ) = 1 2 cot ( α 2 ) , ( N 2 2 ) ( α ) = 1 2 cot ( α 2 ) .
4.
N ¯ 0 2 ( 0 ) = 1 , N ¯ 1 2 ( 0 ) = 0 , N ¯ 2 2 ( 0 ) = 0 N ¯ 0 2 ( α ) = 0 , N ¯ 1 2 ( α ) = 1 2 , N ¯ 2 2 ( α ) = 1 2 .
5.
( N ¯ 0 2 ) ( 0 ) = cot ( α 2 ) , ( N ¯ 1 2 ) ( 0 ) = cot ( α 2 ) , ( N ¯ 2 2 ) ( 0 ) = 0 . ( N ¯ 0 2 ) ( α ) = 0 , ( N ¯ 1 2 ) ( α ) = 1 2 cot ( α 2 ) , ( N ¯ 2 2 ) ( α ) = 1 2 cot ( α 2 ) .
6.
N ^ 0 2 ( 0 ) = 1 2 , N ^ 1 2 ( 0 ) = 1 2 , N ^ 2 2 ( 0 ) = 0 . N ^ 0 2 ( α ) = 0 , N ^ 1 2 ( α ) = 0 , N ^ 2 2 ( α ) = 1 .
7.
( N ^ 0 2 ) ( 0 ) = 1 2 cot ( α 2 ) , ( N ^ 1 2 ) ( 0 ) = 1 2 cot ( α 2 ) , ( N ^ 2 2 ) ( 0 ) = 0 . ( N ^ 0 2 ) ( α ) = 0 , ( N ^ 1 2 ) ( α ) = cot ( α 2 ) , ( N ^ 2 2 ) ( α ) = cot ( α 2 ) .
8.
i = 0 2 N i 2 ( t ) = 1 , i = 0 2 N ¯ i 2 ( t ) = 1 , i = 0 2 N ^ i 2 ( t ) = 1 , t I α .
For p N , p 2 , we consider the equally spaced partitions
π = { u i } i = 0 p + 3 = { i α } i = 0 p + 3 ,
and
μ = { u i } i = 0 p + 3 ,
with u 0 = u 1 = u 2 = 0 , u i = ( i 2 ) α , for i = 3 , , p + 1 , and u p + 1 = u p + 2 = u p + 3 = ( p 1 ) α for the partition μ in (15). We thus define the piecewise functions on either partition π or μ .
N i , 0 ( u ) : = 1 , u [ u i , u i + 1 ) , 0 , else ,
N i , 1 ( u ) : = N 1 1 ( u u i ) , u [ u i , u i + 1 ) , N 0 1 ( u u i + 1 ) , u [ u i + 1 , u i + 2 ) , 0 , else ,
N i , 2 ( u ) : = N 2 2 ( u u i ) , u [ u i , u i + 1 ) , N 1 2 ( u u i + 1 ) , u [ u i + 1 , u i + 2 ) , N 0 2 ( u u i + 2 ) , u [ u i + 2 , u i + 3 ) , 0 , else ,
for i = 0 , , p . On the partition μ , we also define
N ˜ 0 , 2 ( u ) : = N ¯ 0 2 ( u u 2 ) , u [ u 2 , u 3 ) , 0 , else , N ˜ 1 , 2 ( u ) : = N ¯ 1 2 ( u u 2 ) , u [ u 2 , u 3 ) , N 0 2 ( u u 3 ) , u [ u 3 , u 4 ) , 0 , else ,
N ˜ p 1 , 2 ( u ) : = N 2 2 ( u u p 1 ) , u [ u p 1 , u p ) , N ^ 1 2 ( u u p ) , u [ u p , u p + 1 ) , 0 , else ,
N ˜ p , 2 ( u ) : = N ^ 2 2 ( u u p ) , u [ u p , u p + 1 ) , 0 , else .
Figure 5 illustrates the functions N i , 2 , N ˜ 1 , 2 and N ˜ p 1 , 2 .
By construction, the following properties hold for the above functions.
Proposition 1.
The functions defined by (16)–(20) have the following properties:
(N1)
For j { 1 , 2 } , N i , j ( u ) is a piecewise trigonometric function of the space U j ( I α ) and, for i = 0 , 1 , p 1 , p , N ˜ i , 2 ( u ) is a piecewise trigonometric function of the space U 2 ( I α ) .
(N2)
For all applicable indices,
N i , j ( u ) > 0 , u ( u i , u i + j + 1 ) , = 0 , else .
For i = 0 , 1 , p 1 , p ,
N ˜ i , 2 ( u ) > 0 , u ( u i , u i + 3 ) , = 0 , e l s e .
In fact, N i , j ( u ) has the minimal support [ u i , u i + j + 1 ] and N ˜ i , 2 ( u ) has the minimal support [ u i , u i + 3 ] .
(N3)
N i , j ( u ) | [ u l , u l + 1 ] 0 for i = l j , , l .
(N4)
For j { 1 , 2 } , N i , j ( u ) are symmetrical with respect to the middle of their supports and they can be obtained by translation, i.e., N i , j ( u ) = N 0 , j ( u u i ) .
(N5)
Over the partition π ,
i = 0 p + 2 j N i , j ( u ) = 1 , u [ u 2 , u p + 1 ] .
(N6)
Over the partition μ ,
i = 0 p + 2 j N i , j ( u ) = 1 , u [ u 2 , u p + 1 ] ,
where N i , 2 = N ˜ i , 2 for i = 0 , 1 , p 1 , p .
(N7)
On the partitions π and μ , the functions N i , j ( u ) for i = 0 , , p + 2 j and j = 0 , 1 , 2 , and N ˜ i , 2 ( u ) for i = 0 , 1 , p 1 , p are C j m u l t ( u k ) -continuous, where m u l t ( u k ) is the multiplicity of the knot u k in the support of the corresponding function.
Let us note that the restriction of the functions N i , 2 , μ , i = 0 , , p , to each interval [ u k , u k + 1 ] , k = 0 , , p , generates U 2 ( I α ) , which is a Chebyshev space (see [2]). Therefore, ( N 0 , 2 , μ , , N p , 2 , μ ) generates a space S of Chebyshevian splines with a totally positive basis (see Chapter 9 of [34]). In addition, the system also satisfies
lim u u j + N k , 2 , μ ( u ) / N j , 2 , μ ( u ) = 0 , lim u u k + 3 N j , 2 , μ ( u ) / N k , 2 , μ ( u ) = 0 ,
whenever j < k . Then, by Theorem 3.2 of Chapter 4 of [13], ( N 0 , 2 , μ , , N p , 2 , μ ) is the normalized B-basis of S . This fact implies optimal shape-preserving properties (see [29] and Chapter 4 of [13]). Due to the analogy to the well-known polynomial B-splines, we will say that the functions N i , 2 , μ , i = 0 , , p , are T 2 -B-splines.
Now, we can define trigonometric piecewise curves (see Figure 6 for an illustration).
Definition 2.
For given p , d N , p 2 , let s i R d , i = 0 , , p , and the knot partitions π , μ defined in (14) and (15), respectively, are defined as follows.
(a)
The functions  N i , j , π ( u ) = N i , j ( u )  for  i = 0 , , p + 2 j  and  j = 0 , 1 , 2  are called normalized  T 2 -B-splines over the partition  π  and the functions  N i , j , μ ( u ) = N i , j ( u )  for  i = 0 , , p + 2 j  and  j = 0 , 1 ,  N i , 2 , μ ( u ) = N i , 2 ( u )  for  i = 2 , , p 2  and  N i , 2 , μ ( u ) = N ˜ i , 2 ( u )  for  i = 0 , 1 , p 1 , p  are called normalized  T 2 -B-splines over the partition  μ .
(b)
The parametric curve
s ( u ) : = i = 0 p s i N i , 2 , π ( u ) , u [ u 2 , u p + 1 ) ,
is called a  T 2 -B-spline curve (with respect to the partition  π ) with the control points  s 0 , , s p . In particular, for  p = m , with  m N m 2 , we refer to this curve as an open  T 2 -B-spline curve, and for  p = m + 2  and  s m + 1 = s 0 ,  s m + 2 = s 1 , we have a closed  T 2 -B-spline curve.
(c)
For  p = m , with  m N , m 2 , the curve
s ( u ) : = i = 0 m s i N i , 2 , μ ( u ) , u [ u 2 , u m + 1 )
is called a clamped  T 2 -B-spline curve (with respect to the partition  μ ) with the control points  s 0 , , s m .
From the properties of their blending functions given in Proposition 1, the following properties of T 2 -B-spline curves can easily be derived.
Proposition 2.
(C1)
The relation between the curve s ( u ) and its control points s 0 , , s p is affinely invariant, i.e., the T 2 -B-spline curve constructed from images of the control points s 0 , , s p under an affine transformation is identical to the image of the curve s ( u ) under the same affine transformation.
(C2)
The curve s ( u ) is locally controlled, i.e., moving a control point s l only modifies the curve for u [ u l , u l + 3 ) . Moreover, for τ = π or τ = μ , we have
s ( u ) | u [ u l , u l + 1 ) = i = l 2 l s i N i , 2 , τ ( u ) ,
and the curve s ( u ) lies in the convex hull of its control points. More precisely,
s ( u ) | u [ u l , u l + 1 ) Δ ( s l 2 , s l 1 , s l ) ,
where Δ ( s l 2 , s l 1 , s l ) is the triangle generated by the points s l 2 , s l 1 , s l .
(C3)
For a clamped T 2 -B-spline curve, we have end-point and end-tangent interpolation, namely
s ( u 1 ) = s ( 0 ) = s 0 , s ( u m + 1 ) = s m , s ( 0 ) = cot α 2 ( s 1 s 0 ) , s ( u m + 1 ) = cot α 2 ( s m s m 1 ) .
(C4)
If three control points s l 2 , s l 1 , s l are collinear, the T 2 -B-spline curve s ( u ) contains part of the straight line through s l 2 , s l 1 , s l .
(C5)
The straight line through s l 2 , s l 1 is tangent to the T 2 -B-spline curve s ( u ) in the point s ( u l ) , i.e., every leg of the control polygon is tangent to the curve.
The normalized T 2 -B-spline functions from Definition 2a can be conveniently generated by a Cox–de Boor-like recurrence relation as follows.
Theorem 3.
By introducing the following abbreviations
γ i , 1 ( u ) : = sin u u i 2 cos α u + u i 2 sin α 2 , γ i , 2 ( u ) : = sin ( u u i + 1 + α ) sin ( u u i + 1 ) sin ( α ) 2 sin ( u u i + 1 ) ( cos ( α ) 1 ) ,
and considering the piecewise functions N i , 0 ( u ) from (16), we obtain
N i , j , τ ( u ) = γ i , j ( u ) N i , j 1 , τ ( u ) + ρ i , j ( u ) N i + 1 , j 1 , τ ( u ) .
Herein, the partition, the coefficients and the index range vary according to the type of T 2 -B-spline curve (open, closed, clamped) in the following way:
(a)
For τ = π , i = 0 , , p + 2 j , j = 1 , 2 and
ρ i , j ( u ) = 1 γ i + 1 , j ( u ) ,
and the recurrence relation (26) generates the blending functions of an open (respectively, closed) T 2 -B-spline curve for p = m (respectively, for p = m + 2 ).
(b)
For τ = μ , the coefficients γ i , 1 ( u ) (respectively, γ i , 2 ( u ) ) are defined as in (25) for i = 0 , , m + 2 (respectively, i = 2 , , m 2 ). The remaining coefficients are defined as follows:
ρ i , 1 ( u ) = 1 γ i + 1 , 1 ( u ) , f o r i = 0 , , m + 1 , ρ i , 2 ( u ) = 1 γ i + 1 , 2 ( u ) , f o r i = 2 , , m 3 , ρ m 2 , 2 ( u ) = 1 sin ( u u m + α ) sin ( u u m ) sin ( α ) 2 sin ( u u m ) ( cos ( α ) 1 ) , γ 0 , 2 ( u ) = 0 , ρ 0 , 2 ( u ) = N ¯ 0 2 ( u u 2 ) N 0 1 ( u u 2 ) , ρ 1 , 2 ( u ) = N ^ 0 2 ( u u 3 ) N 0 1 ( u u 3 ) , γ 1 , 2 ( u ) = N ¯ 1 2 ( u u 2 ) ρ 1 , 2 ( u ) N 1 1 ( u u 2 ) N 0 1 ( u u 2 ) , γ m 1 , 2 ( u ) = N ¯ 2 2 ( u u m 1 ) N 1 1 ( u u m 1 ) , ρ m 1 , 2 ( u ) = N ^ 1 2 ( u u m ) γ m 1 , 2 ( u ) N 0 1 ( u u m ) N 1 1 ( u u m ) , γ m , 2 ( u ) = N ^ 2 2 ( u u m ) N 1 1 ( u u m ) , ρ m , 2 ( u ) = 0 .
Thus, the recurrence relation (26) generates the blending functions of a clamped T 2 -B-spline curve.
Proof. 
According to (13), we have
N 0 2 ( u u i + 2 ) = 1 2 ( 1 λ 0 0 ( u u i + 2 ) ) N 0 1 ( u u i + 2 ) , N 1 2 ( u u i + 1 ) = 1 2 ( 1 + λ 0 0 ( u u i + 1 ) ) N 0 1 ( u u i + 1 ) + ( 1 1 2 λ 1 0 ( u u i + 1 ) ) N 1 1 ( u u i + 1 ) , N 2 2 ( u u i ) = 1 2 λ 1 0 ( u u i ) N 1 1 ( u u i ) .
The following identities can be easily checked
1 2 ( 1 λ 0 0 ( u u i + 2 ) ) = 1 1 2 λ 1 0 ( u u i + 1 ) , 1 2 ( 1 + λ 0 0 ( u u i + 1 ) ) = 1 2 λ 1 0 ( u u i ) ,
and then, for j = 2 , we obtain the recurrence relation (26) for all i, in the open and closed cases, and for i = 2 , , m 2 , in the clamped case. For j = 1 , Equation (26) is obtained in a straightforward manner by (11), (16) and (17). The remaining equations from (26) in the clamped case for j = 2 are readily obtained by (17) and (20). □
Thanks to this recurrence relation, we immediately obtain a de Boor-like or corner cutting algorithm for the evaluation of the T 2 -B-spline curves.
Theorem 4.
Given an open, closed or clamped T 2 -B-spline curve over the partition τ = π or τ = μ , according to Definition 2,
s ( u ) = i = 0 p s i N i , 2 , τ ( u ) , u [ u 2 , u p + 1 ) ,
the curve point s ( u ) for a parameter u [ u l , u l + 1 ) is obtained as
s ( u ) = s l 2 ,
where
s i k = s i k 1 γ i , 3 k ( u ) + s i 1 k 1 ρ i 1 , 3 k ( u )
for k = 1 , 2 and i = l 2 + k , , l .
Remark 1.
The de Boor-like algorithm from Theorem 4 may be written in matrix form as follows
s l 2 0 s l 1 1 s l 2 = L ¯ s l 2 0 s l 1 0 s l 0 , s l 2 s l 1 s l 0 = U ¯ s l 2 0 s l 1 0 s l 0 ,
where L ¯ = L ¯ 1 L ¯ 0 and U ¯ = U ¯ 1 U ¯ 0 with
L ¯ 0 = 1 0 0 ρ l 2 , 2 γ l 1 , 2 0 0 ρ l 1 , 2 γ l , 2 , L ¯ 1 = 1 0 0 0 1 0 0 ρ l 1 , 1 γ l , 1 ,
and
U ¯ 0 = ρ l 2 , 2 γ l 1 , 2 0 0 ρ l 1 , 2 γ l , 2 0 0 1 , U ¯ 1 = ρ l 1 , 1 γ l , 1 0 0 1 0 0 0 1 .
For an illustration, see Figure 7 and Figure 8, first row.
Remark 2.
Additionally to the above de Boor-like corner cutting algorithm, the T 2 -B-spline curves also admit the following corner cutting algorithm. Considering a segment of an open or closed T 2 -B-spline curve (see Definition 2b) for the curve parameter u [ u l , u l + 1 ) , l { 2 , , p } , or an inner segment of a clamped T 2 -B-spline curve (see Definition 2c) for the curve parameter u [ u l , u l + 1 ) , l { 3 , , m 1 } , we have
s ( u ) | u [ u l , u l + 1 ) = ( N 0 2 ( u u l ) , N 1 2 ( u u l ) , N 2 2 ( u u l ) ) s l 2 0 s l 1 0 s l 0 .
According to (13) and Definition 1, the points
p l , 0 0 p l , 1 0 p l , 2 0 = A 2 s l 2 0 s l 1 0 s l 0
are thus the control points of a T 2 -curve. Considering the factorization A 2 = A ¯ 2 A ^ 2 = A ^ 2 A ¯ 2 of the matrix A 2 and applying the de Casteljau-like algorithm from (10), the corner cutting algorithm may be written in matrix form as follows (analogously, the factorization A 2 = A ^ 2 A ¯ 2 can be used):
p l , 0 0 p l , 0 1 p l , 0 2 = L 1 L 0 A ¯ 2 A ^ 2 s l 2 0 s l 1 0 s l 0 , p l , 0 2 p l , 1 1 p l , 2 0 = U 1 U 0 A ¯ 2 A ^ 2 s l 2 0 s l 1 0 s l 0 ,
with the matrices L i , U i from (10) and t = u u l . For the initial and final segments of a clamped T 2 -B-spline curve, i.e., for the curve parameter u [ u l , u l + 1 ) , for l { 2 , m } , we obtain
s ( u ) | u [ u 2 , u 3 ) = ( N ¯ 0 2 ( u u 2 ) , N ¯ 1 2 ( u u 2 ) , N ¯ 2 2 ( u u 2 ) ) s 0 0 s 1 0 s 2 0 ,
for l = 2 , and
s ( u ) | u [ u m , u m + 1 ) = ( N ^ 0 2 ( u u m ) , N ^ 1 2 ( u u m ) , N ^ 2 2 ( u u m ) ) s m 2 0 s m 1 0 s m 0 ,
for l = m , and thus
p l , 0 0 p l , 0 1 p l , 0 2 = L 1 L 0 A 2 l s l 2 0 s l 1 0 s l 0 , p l , 0 2 p l , 1 1 p l , 2 0 = U 1 U 0 A 2 l s l 2 0 s l 1 0 s l 0 ,
for l { 2 , m } , and A 2 2 = A ¯ 2 , A 2 m = A ^ 2 . For an illustration, see Figure 7 and Figure 8, second row. Comparing this corner cutting algorithm with the de Boor-like algorithm from Theorem 4 and Remark 1, we observe that s l 2 = p l , 0 2 , s l 1 1 = p l , 0 1 , s l 1 = p l , 1 1 , but s l 2 0 p l , 0 0 , and s l 0 p l , 2 0 in the case of a segment of an open or closed T 2 -B-spline curve or of an inner segment of a clamped T 2 -B-spline curve. In the case of the initial or final segment of a clamped T 2 -B-spline curve, we have s 2 2 = p 2 , 0 2 , s 1 1 = p 2 , 0 1 , s 2 1 = p 2 , 1 1 , s 0 0 = p 2 , 0 0 , but s 2 0 p 2 , 2 0 , respectively, s m 2 = p m , 0 2 , s m 1 1 = p m , 0 1 , s m 1 = p m , 1 1 , s m 0 = p m , 2 0 , but s m 2 0 p m , 0 0 .
Remark 3.
Let us also remark that the T 2 -B-spline curves from Definition 2 over the knot partitions π and μ , respectively, can be expressed in the following way over the multiple knot partitions
π 2 = { < u i > 2 } i = 0 p + 3 , μ 2 = { < u 2 > 3 , { < u i > 2 } i = 3 p , < u p + 1 > 3 } ,
respectively, where < u i > k stands for a knot of multiplicity k. In the open or closed case, we have
s ( u ) = i = 0 p s i N i , 2 , π ( u ) = i = 0 2 ( p 1 ) s i 1 N i , 2 , π 2 ( u ) , u [ u 2 , u p + 1 ) ,
with
s 2 i 1 = 1 2 ( s i + s i + 1 ) , i = 0 , , p 1 , s 2 i + 1 1 = s i + 1 , i = 0 , , p 2 , N 2 i , 2 , π 2 ( u ) = B 2 2 ( u u i + 1 ) , u [ u i + 1 , u i + 2 ) , B 0 2 ( u u i + 2 ) , u [ u i + 2 , u i + 3 ) 0 , else , , i = 0 , , p 1 , N 2 i + 1 , 2 , π 2 ( u ) = B 1 2 ( u u i + 2 ) , u [ u i + 2 , u i + 3 ) , 0 , else , , i = 0 , , p 2 .
In the clamped case, we have
s ( u ) = i = 0 p s i N i , 2 , μ ( u ) = i = 0 2 ( p 1 ) s i 1 N i , 2 , μ 2 ( u ) , u [ u 2 , u p + 1 ) ,
with N i , 2 , μ 2 ( u ) = N i , 2 , π 2 ( u ) for i = 0 , , 2 ( p 1 ) , s 2 i + 1 1 as above for i = 0 , , p 2 , s 2 i 1 as above for i = 1 , , p 2 , and s 0 1 = s 0 , s 2 ( p 1 ) 1 = s p .

3. Convergence of T 2 -B-Spline Curves to Quadratic B-Spline Curves

In this section, we shall prove that when α 0 , T 2 -B-spline curves converge to quadratic polynomial B-spline curves. For this purpose, we first need to verify the convergence of the functions of the normalized B-basis ( B 0 2 , B 1 2 , B 2 2 ) of U 2 ( I α ) to the Bernstein polynomials of degree 2. In this analysis, we shall reparametrize the interval domain [ 0 , α ] so that the considered bases are defined on a fixed interval [ 0 , 1 ] and we could have the parameter α 0 without losing their domain intervals.
Lemma 1.
Let ( B 0 2 , B 1 2 , B 2 2 ) be the normalized B-basis of the space U 2 ( I α ) and let ( b 0 2 , b 1 2 , b 2 2 ) be the Bernstein basis of polynomials of degree less than or equal to 2 on the interval [ 0 , 1 ] . Then, when α 0 , the functions B ˜ i 2 ( τ ) : = B i 2 ( α τ ) , 0 τ 1 , uniformly converge to b i 2 ( τ ) , 0 τ 1 , i = 0 , 1 , 2 .
Proof. 
Taking into account that the Bernstein basis on [ 0 , 1 ] is defined as
b i 2 ( τ ) : = 2 i τ i ( 1 τ ) 2 i , i = 0 , 1 , 2 ,
developing by the Taylor expansion at τ = 0 , we can write
b 2 2 ( τ ) B ˜ 2 2 ( τ ) = 2 2 cos α α 2 2 ( 1 cos α ) τ 2 + α 4 cos ( α ξ ) 24 ( 1 cos α ) τ 4 ,
where ξ [ 0 , τ ] . Then, we have
b 2 2 ( τ ) B ˜ 2 2 ( τ ) 2 2 cos α α 2 2 ( 1 cos α ) + α 4 1 cos α , τ [ 0 , 1 ] ,
and
lim α 0 2 2 cos α α 2 2 ( 1 cos α ) = 0 , lim α 0 α 4 24 ( 1 cos α ) = 0 .
Thus, we derive
lim α 0 max 0 τ 1 | b 2 2 ( τ ) B ˜ 2 2 ( τ ) | = 0 .
By definition, b 0 2 ( τ ) = b 2 2 ( 1 τ ) , B ˜ 0 2 ( τ ) = B ˜ 2 2 ( 1 τ ) and, therefore, by (33), we deduce that
lim α 0 max 0 τ 1 | b 0 2 ( τ ) B ˜ 0 2 ( τ ) | = 0 .
Finally, taking into account that 1 = i = 0 2 b i 2 ( τ ) = i = 0 2 B ˜ i 2 ( τ ) , τ [ 0 , 1 ] , from Formulas (33) and (34), we conclude
lim α 0 max 0 τ 1 | b 1 2 ( τ ) B ˜ 1 2 ( τ ) | = 0 .
Theorem 5.
Let the π and μ partitions be as described in (14) and (15), respectively. When α 0 , the T 2 -B-spline curve (21) and the clamped T 2 -B-spline curve (22), with respect to π and μ , respectively, and control points s 0 , , s p approaches uniformly the quadratic polynomial B-spline curve with knot vector π and μ , respectively, and control points s 0 , , s p .
Proof. 
Let us observe that, by (23), for τ = π or τ = μ , we can write
s ( u ) | u [ u l , u l + 1 ) = i = l 2 l s i N i , 2 , τ ( u ) = j = 0 2 s l + j 2 N j 2 ( u u l ) .
Let τ : = ( u u l ) / α for the reparameterization of each segment curve on the interval 0 τ 1 . By Lemma 1, as α 0 , the function B i 2 ( α τ ) approaches uniformly the Bernstein polynomial b i 2 ( τ ) , 0 τ 1 , for all i = 0 , 1 , 2 . Therefore, for τ = π , using the matrix A 2 defined in (13), we can deduce
lim α 0 s ( u ) | u [ u l , u l + 1 ) = lim α 0 B 0 2 ( α τ ) , B 1 2 ( α τ ) , B 2 2 ( α τ ) ( α τ ) A 2 s l 2 s l 1 s l = b 0 2 ( τ ) , b 1 2 ( τ ) , b 2 2 ( τ ) A 2 s l 2 s l 1 s l ,
which is the matrix form of a uniform B-spline curve of degree 2.
For τ = μ , we can follow similar reasoning by considering the matrices A 2 , A ^ 2 and A ¯ 2 defined in (13). □

4. Start Point for T 2 -B-Spline Bases on Non-Uniform Partitions

Given a partition { u i } i = 0 n , we shall denote h i : = u i + 1 u i , i = 0 , , n 1 . In this section, we shall consider non-uniform partitions
π = { u i } i = 0 p + 3 , μ = { u i } i = 0 p + 3 ,
p N , p 2 , such that π satisfies h i + h i + 1 > 0 , i = 0 , , p + 1 , and for the partition μ , we have that u 0 = u 1 = u 2 , u p + 1 = u p + 2 = u p + 3 and h i + h i + 1 > 0 , i = 1 , , p .
For the partition π , we can define the matrices
A i , 2 : = h i h i 1 + h i h i 1 h i 1 + h i 0 0 1 0 0 h i + 1 h i + h i + 1 h i h i + h i + 1 , i = 0 , , p + 2 ,
with the convention h 1 : = 0 and h p + 3 : = 0 , and the following systems of functions defined in I α ,
( N 0 , i 2 , N 1 , i 2 , N 1 , i 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A i , 2 .
For the partition μ , we further define the matrices
A ¯ 2 : = 1 0 0 0 1 0 0 h 3 h 2 + h 3 h 2 h 2 + h 3 , A ^ 2 : = h p h p 1 + h p h p 1 h p 1 + h p 0 0 1 0 0 0 1 ,
as well as the following systems of functions defined in I α
( N ¯ 0 2 , N ¯ 1 2 , N ¯ 2 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A ¯ 2 , ( N ^ 0 2 , N ^ 1 2 , N ^ 2 2 ) : = ( B 0 2 , B 1 2 , B 2 2 ) A ^ 2 .
Clearly, the matrices A i , 2 , A ¯ 2 , A ^ 2 are nonsingular, TP and stochastic. Then, by Corollary 3.9 (iv) of [29], the systems introduced in (38) and (40) are NTP bases of U 2 ( I α ) . Let us also observe that these matrices are generalizations of the matrices defined in (13) for the equally spaced partitions considered in Section 2.
The functions in (38) satisfy the following properties at the ends of the interval domain:
N 0 , i 2 ( 0 ) = h i h i 1 + h i , N 1 , i 2 ( 0 ) = h i 1 h i 1 + h i , N 2 , i 2 ( 0 ) = 0 , N 0 , i 2 ( α ) = 0 , N 1 , i 2 ( α ) = h i + 1 h i + h i + 1 , N 2 , i 2 ( α ) = h i h i + h i + 1 .
Then, we have that
N j + 1 , i 2 ( α ) = N j , i + 1 2 ( 0 ) , j = 0 , 1 .
Furthermore,
( N 0 , i 2 ) ( 0 ) = h i h i 1 + h i cot ( α 2 ) , ( N 1 , i 2 ) ( 0 ) = h i h i 1 + h i cot ( α 2 ) , ( N 2 , i 2 ) ( 0 ) = 0 , ( N 0 , i 2 ) ( α ) = 0 , ( N 1 , i 2 ) ( α ) = h i h i + h i + 1 cot ( α 2 ) , ( N 2 , i 2 ) ( α ) = h i h i + h i + 1 cot ( α 2 ) ,
i.e.,
h i + 1 ( N j + 1 , i 2 ) ( α ) = h i ( N j , i + 1 2 ) ( 0 ) , j = 0 , 1 .
Moreover, the functions in (40) satisfy the following properties at the ends of the interval domain:
N ¯ 0 2 ( 0 ) = 1 , N ¯ 1 2 ( 0 ) = 0 , N ¯ 2 2 ( 0 ) = 0 , N ¯ 0 2 ( α ) = 0 , N ¯ 1 2 ( α ) = h 3 h 2 + h 3 , N ¯ 2 2 ( α ) = h 2 h 2 + h 3 , N ^ 0 2 ( 0 ) = h p h p 1 + h p , N ^ 1 2 ( 0 ) = h p 1 h p 1 + h p , N ^ 2 2 ( 0 ) = 0 , N ^ 0 2 ( α ) = 0 , N ^ 1 2 ( α ) = 0 , N ^ 2 2 ( α ) = 1 .
It can also be checked that
( N ¯ 0 2 ) ( 0 ) = cot ( α 2 ) , ( N ¯ 1 2 ) ( 0 ) = cot ( α 2 ) , ( N ¯ 2 2 ) ( 0 ) = 0 , ( N ¯ 0 2 ) ( α ) = 0 , ( N ¯ 1 2 ) ( α ) = h 2 h 2 + h 3 cot ( α 2 ) , ( N ¯ 2 2 ) ( α ) = h 2 h 2 + h 3 cot ( α 2 ) , ( N ^ 0 2 ) ( 0 ) = h p h p 1 + h p cot ( α 2 ) , ( N ^ 1 2 ) ( 0 ) = h p h p 1 + h p cot ( α 2 ) , ( N ^ 2 2 ) ( 0 ) = 0 , ( N ^ 0 2 ) ( α ) = 0 , N ^ 1 2 ( α ) = cot ( α 2 ) , ( N ^ 2 2 ) ( α ) = cot ( α 2 ) .
Now, we can define the following piecewise functions on the non-uniform partition μ
N i , 2 ( u ) : = N j , i + 2 j 2 α u u i + 2 j h i + 2 j , u [ u i + 2 j , u i + 3 j ) , j = 0 , 1 , 2 , 0 , else ,
for i = 0 , , p . For the consideration of the partition μ , we also define the following piecewise functions
N ˜ 0 , 2 ( u ) : = N ¯ 0 2 ( u u 2 ) , u [ u 2 , u 3 ) , 0 , else , N ˜ 1 , 2 ( u ) : = N ¯ 1 2 ( u u 2 ) , u [ u 2 , u 3 ) , N 0 , 3 2 ( u u 3 ) , u [ u 3 , u 4 ) , 0 , else ,
N ˜ p 1 , 2 ( u ) : = N 2 , p 1 2 ( u u p 1 ) , u [ u p 1 , u p ) , N ^ 1 2 ( u u p ) , u [ u p , u p + 1 ) , 0 , else , N ˜ p , 2 ( u ) : = N ^ 2 2 ( u u p ) , u [ u p , u p + 1 ) , 0 , else .
We have the following result.
Proposition 3.
The functions defined by (20) and (41) have the following properties.
(N1)
For all applicable indices,
N i , 2 ( u ) > 0 , u ( u i , u i + 3 ) , = 0 , else .
Moreover,
N ˜ i , 2 ( u ) > 0 , u ( u i , u i + 3 ) , = 0 , e l s e , , i = 0 , 1 , p 1 , p .
In fact, N i , 2 ( u ) and N ˜ i , 2 ( u ) have the minimal support [ u i , u i + 3 ] .
(N2)
N i , 2 ( u ) | [ u l , u l + 1 ] 0 for i = l 2 , , l .
(N3)
Over the partition π ,
i = 0 p N i , 2 ( u ) = 1 , u [ u 2 , u p + 1 ] .
(N4)
Over the partition μ ,
i = 0 p N i , 2 ( u ) = 1 , u [ u 2 , u p + 1 ] ,
where N i , 2 = N ˜ i , 2 , for i = 0 , 1 , p 1 , p .
(N5)
The functions N i , 2 ( u ) for i = 0 , , p and N ˜ i , 2 ( u ) for i = 0 , 1 , p 1 , p are C j m u l t ( u k ) -continuous, where m u l t ( u k ) is the multiplicity of the knot u k in the support of the respective function.
Finally, using the Functions (41) and (20), we can generalize, for non-uniform knot partitions, the normalized T 2 -B-splines and T 2 -B-spline curve introduced in Definition 2.
Definition 3.
For given p , d N , p 2 , let s i R d , i = 0 , , p , and the non-uniform knot partitions π , μ in (36). Now, we define as follows.
(a)
The functions  N i , π ( u ) = N i , 2 ( u ) ,  i = 0 , , p , are called normalized  T 2 -B-splines over the partition  π  and the functions  N i , μ ( u ) = N i , 2 ( u )  for  i = 2 , , p 2  and  N i , μ ( u ) = N ˜ i , 2 ( u )  for  i = 0 , 1 , p 1 , p  are called normalized  T 2 -B-splines over the partition  μ .
(b)
The parametric curve
s ( u ) : = i = 0 p s i N i , 2 , π ( u ) , u [ u 2 , u p + 1 ) ,
is called T 2 -B-spline curve (with respect to the partition π ) with the control points s 0 , , s p . In particular, for p = m , with m N , m 2 , we refer to this curve as an open T 2 -B-spline curve, and for p = m + 2 and s m + 1 = s 0 , s m + 2 = s 1 , we have a closed T 2 -B-spline curve.
(c)
For p = m , with m 2 , m N , the curve
s ( u ) = i = 0 m s i N i , 2 , μ ( u ) ; u [ u 2 , u m + 1 )
is called a clamped T 2 -B-spline curve (with respect to the partition μ ) with the control points s 0 , , s m .

5. Conclusions and Future Work

We have proposed one-frequency trigonometric spline bases with shape-preserving properties. For uniform knot partitions, the corresponding parametric trigonometric spline curves are described and a de Boor–Cox-like algorithm is obtained. Additionally, an alternative corner cutting algorithm for evaluation is deduced. It is also shown that these curves share many properties with polynomial spline curves. In fact, it is shown that they converge to uniform quadratic B-spline curves. This new class of curves has great potential for applications in computer-aided design and manufacturing, robotics, motion control, path planning, computer graphics, animation and other related fields.
There is some worthwhile work to study further. We wish to define the normalized B-bases of spline spaces formed by piecewise pure trigonometric and mixed algebraic–trigonometric functions with simple and multiple knots by considering the results in [38]. We shall investigate whether it is possible to construct new algebraic-trigonometric Pythagorean-Hodograph B-spline curves taking into account the results from [16,17,26], allowing the resolution of interpolation problems with geometrically invariant and symmetric parameterizations. Applications to reverse engineering for the recovery of lost design specifications for an object, from its physical realization, can also be explored [20].
Our goal is to focus on these issues in the near future.

Author Contributions

Conceptualization, G.A., E.M., J.M.P. and B.R.; methodology, G.A., E.M., J.M.P. and B.R.; investigation, G.A., E.M., J.M.P. and B.R.; writing—original draft, G.A., E.M., J.M.P. and B.R.; writing—review and editing, G.A., E.M., J.M.P. and B.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially supported by Spanish research grants PGC2018-096321-B-I00 (MCIU/AEI) and RED2022-134176-T (MCI/AEI) and by Gobierno de Aragón (E41_23R).

Data Availability Statement

The data and codes used in this work are available under request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bibi, S.; Abbas, M.; Misro, M.Y.; Hu, G. A Novel Approach of Hybrid Trigonometric Bézier Curve to the Modeling of Symmetric Revolutionary Curves and Symmetric Rotation Surfaces. IEEE Access 2019, 7, 165779–165792. [Google Scholar] [CrossRef]
  2. Mainar, E.; Peña, J.M.; Sánchez-Reyes, J. Shape preserving alternatives to the rational Bézier model. Comput. Aided Geom. Des. 2001, 18, 37–60. [Google Scholar] [CrossRef]
  3. Han, X.L. Cubic trigonometric polynomial curves with a shape parameter. Comput. Aided Geom. Des. 2004, 21, 535–548. [Google Scholar] [CrossRef]
  4. Han, X.L.; Zhu, Y.P. Curve construction based on five trigonometric blending functions. Bit Numer. Math. 2012, 52, 953–979. [Google Scholar] [CrossRef]
  5. Han, X.L.; 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]
  6. 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]
  7. Wang, K.; Zhang, G.C.; Nhon, N.T. New trigonometric basis possessing denominator shape parameters. Math. Probl. Eng. 2018, 2018, 1–15. [Google Scholar] [CrossRef] [Green Version]
  8. Wu, X.Q.; Han, X.L.; Luo, S. Quadratic trigonometric polynomial Bézier curves with a shape parameter. Eng. Graph. 2008, 1, 82–87. [Google Scholar]
  9. Zhu, Y.P.; Han, X.L. New trigonometric basis possessing exponential shape parameters. J. Comput. Math. 2015, 33, 642–684. [Google Scholar]
  10. Zhu, Y.P.; Liu, Z. A class of trigonometric Bernstein-type basis functions with four shape parameters. Math. Probl. Eng. 2019, 2019, 9026187. [Google Scholar] [CrossRef]
  11. Neamtu, M.; Pottmann, H.; Schumaker, L.L. Designing NURBS Cam Profiles Using Trigonometric Splines. Asme J. Mech. Des. 1998, 120, 175–180. [Google Scholar] [CrossRef] [Green Version]
  12. Ge, Q.; Srinivasan, L.; Rastegar, J. Low-harmonic rational Bézier curves for trajectory generation of high-speed machinery. Comput. Aided Geom. Des. 1997, 14, 251–271. [Google Scholar] [CrossRef]
  13. Peña, J.M. (Ed.) Shape Preserving Representations in Computer-Aided Geometric Design; Nova Science Publishers Commack: New York, NY, USA, 1999. [Google Scholar]
  14. Alfeld, P.; Neamtu, M.; Schumaker, L.L. Circular Bernstein-Bézier Polynomials. In Mathematical Methods for Curves and Surfaces; Dæhlen, M., Lyche, T., Schumaker, L.L., Eds.; Vanderbilt University Press: Nashville, TN, USA, 1995; pp. 11–20. [Google Scholar]
  15. Neamtu, M.; Pottmann, H.; Schumaker, L.L. Dual focal splines and rational curves with rational offsets. Math. Eng. Ind. 1998, 7, 139–154. [Google Scholar]
  16. Albrecht, G.; Beccari, C.V.; Romani, L. Spatial Pythagorean-Hodograph B-Spline curves and 3D point data interpolation. Comput. Aided Geom. Des. 2020, 80, 101868. [Google Scholar] [CrossRef]
  17. Albrecht, G.; Beccari, C.V.; Canonne, J.C.; Romani, L. Planar Pythagorean- Hodograph B-Spline curves. Comput. Aided Geom. Des. 2017, 57, 57–77. [Google Scholar] [CrossRef]
  18. Farouki, R.T. The conformal map of the hodograph plane. Comput. Aided Geom. Des. 1994, 11, 363–390. [Google Scholar] [CrossRef]
  19. Farouki, R.T. Pythagorean-Hodograph Curves: Algebra and Geometry Inseparable; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  20. Farouki, R.T.; Giannelli, C.; Sestini, A. Identification and “reverse engineering” of Pythagorean-hodograph curves. Comput. Aided Geom. Des. 2015, 34, 21–36. [Google Scholar] [CrossRef] [Green Version]
  21. Farouki, R.T.; Giannelli, C.; Sestini, A. Local modification of Pythagorean-hodograph quintic spline curves using the B-spline form. Adv. Comput. Math. 2016, 42, 199–225. [Google Scholar] [CrossRef] [Green Version]
  22. Farouki, R.T.; Kuspa, B.K.; Manni, C.; Sestini, A. Efficient solution of the complex quadratic tridiagonal system for C2 PH quintic splines. Numer. Algorithms 2001, 27, 35–60. [Google Scholar] [CrossRef]
  23. Farouki, R.T.; Neff, C.A. Hermite interpolation by Pythagorean hodograph quintics. Math. Comput. 1995, 64, 1589–1609. [Google Scholar] [CrossRef]
  24. Farouki, R.T.; Sakkalis, T. Pythagorean hodographs. IBM J. Res. Dev. 1990, 34, 736–752. [Google Scholar] [CrossRef]
  25. Pelosi, F.; Sampoli, M.L.; Farouki, R.T.; Manni, C. A control polygon scheme for design of planar PH quintic spline curves. Comput. Aided Geom. Des. 2007, 24, 28–52. [Google Scholar] [CrossRef]
  26. Romani, L.; Saini, L.; Albrecht, G. Algebraic-trigonometric Pythagorean-hodograph curves and their use for Hermite interpolation. Adv. Comput. Math. 2014, 40, 977–1010. [Google Scholar] [CrossRef] [Green Version]
  27. Šir, Z.; Jüttler, B. Spatial Pythagorean Hodograph Quintics and the Approximation of Pipe Surfaces. In Mathematics of Surfaces XI; Martin, R., Bez, H., Sabin, M., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2005; Volume 3604. [Google Scholar]
  28. Farin, G. Curves and Surfaces for Computer Aided Geometric Design, 4th ed.; Academic Press: San Diego, CA, USA, 1997. [Google Scholar]
  29. Carnicer, J.M.; Peña, J.M. Totally positive bases for shape preserving curve design and optimality of B-splines. Comput. Aided Geom. Des. 1994, 11, 635–656. [Google Scholar]
  30. Mainar, E.; Peña, J.M. Corner cutting algorithms associated with optimal shape preserving representations. Comput. Aided Geom. Des. 1999, 16, 883–906. [Google Scholar] [CrossRef]
  31. Peña, J.M. Shape preserving representations for trigonometric polynomial curves. Comput. Aided Geom. 1997, 14, 5–11. [Google Scholar] [CrossRef]
  32. Hoschek, J.; Lasser, D. Fundamentals of Computer Aided Geometric Design; AKPeters: Wellesley, MA, USA, 1993. [Google Scholar]
  33. Schoenberg, I.J. On trigonometric spline interpolation. J. Math. Mech. 1964, 13, 795–825. [Google Scholar]
  34. Schumaker, L.L. Spline Functions: Basic Theory; John Wiley and Sons: New York, NY, USA, 1981. [Google Scholar]
  35. Lyche, T.; Winther, R. A stable recurrence relation for trigonometric B-splines. J. Approx. Theory 1979, 25, 266–279. [Google Scholar] [CrossRef] [Green Version]
  36. Koch, P.E.; Lyche, T.; Neamtu, M.; Schumaker, L.L. Control curves and knot insertion for trigonometric splines. Adv. Comp. Math. 1995, 3, 405–424. [Google Scholar] [CrossRef]
  37. Mainar, E.; Peña, J.M. A general class of Bernstein–like bases. Comput. Math. Appl. 2007, 53, 1686–1703. [Google Scholar] [CrossRef] [Green Version]
  38. Mainar, E.; Peña, J.M. Knot insertion and totally positive systems. Approx. Theory 2000, 104, 45–76. [Google Scholar] [CrossRef]
Figure 1. The functions N 0 1 , N 1 1 (displayed in red and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Figure 1. The functions N 0 1 , N 1 1 (displayed in red and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Symmetry 15 01551 g001
Figure 2. The functions N 0 2 , N 1 2 , N 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Figure 2. The functions N 0 2 , N 1 2 , N 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Symmetry 15 01551 g002
Figure 3. The functions N ¯ 0 2 , N ¯ 1 2 , N ¯ 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Figure 3. The functions N ¯ 0 2 , N ¯ 1 2 , N ¯ 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Symmetry 15 01551 g003
Figure 4. The functions N ^ 0 2 , N ^ 1 2 , N ^ 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Figure 4. The functions N ^ 0 2 , N ^ 1 2 , N ^ 2 2 (displayed in red, green and blue, respectively) for α = π 4 (a), α = π 2 (b) and α = 3 π 4 (c).
Symmetry 15 01551 g004
Figure 5. The functions N i , 2 (a), N ˜ 1 , 2 (b), N ˜ p 1 , 2 (c) for α = π 4 .
Figure 5. The functions N i , 2 (a), N ˜ 1 , 2 (b), N ˜ p 1 , 2 (c) for α = π 4 .
Symmetry 15 01551 g005
Figure 6. Open (red), clamped (green) and closed (red and blue) T 2 -B-spline curves with control points s 0 = ( 0 , 0 ) , s 1 = ( 0 , 1 ) , s 2 = ( 3 , 4 ) , s 3 = ( 6 , 0 ) , s 4 = ( 7 , 4 ) (first column), respectively, s 0 = ( 0 , 0 ) , s 1 = ( 0 , 1 ) , s 2 = ( 3 , 4 ) , s 3 = ( 5 , 3 ) , s 4 = ( 7 , 0 ) (second column). Figures (a,b) show the open and clamped curves, figures (c,d) show the open and closed curves; the closed control polygon and convex hull of the control points are also displayed in yellow.
Figure 6. Open (red), clamped (green) and closed (red and blue) T 2 -B-spline curves with control points s 0 = ( 0 , 0 ) , s 1 = ( 0 , 1 ) , s 2 = ( 3 , 4 ) , s 3 = ( 6 , 0 ) , s 4 = ( 7 , 4 ) (first column), respectively, s 0 = ( 0 , 0 ) , s 1 = ( 0 , 1 ) , s 2 = ( 3 , 4 ) , s 3 = ( 5 , 3 ) , s 4 = ( 7 , 0 ) (second column). Figures (a,b) show the open and clamped curves, figures (c,d) show the open and closed curves; the closed control polygon and convex hull of the control points are also displayed in yellow.
Symmetry 15 01551 g006
Figure 7. Successive intermediate control polygons (in the color order black-green-brown (first row) respectively, black-green-brown-blue-pink (second row)) generated by the de Boor-like algorithm from Theorem 4 (first row) and by the alternative corner cutting algorithm from Remark 2 (second row) for a segment of an open or closed T 2 -B-spline curve or an inner segment of a clamped T 2 -B-spline curve. The first (respectively, second) column illustrates the left (respectively, right) factorization from Equations (30) and (31).
Figure 7. Successive intermediate control polygons (in the color order black-green-brown (first row) respectively, black-green-brown-blue-pink (second row)) generated by the de Boor-like algorithm from Theorem 4 (first row) and by the alternative corner cutting algorithm from Remark 2 (second row) for a segment of an open or closed T 2 -B-spline curve or an inner segment of a clamped T 2 -B-spline curve. The first (respectively, second) column illustrates the left (respectively, right) factorization from Equations (30) and (31).
Symmetry 15 01551 g007
Figure 8. Successive intermediate control polygons (in the color order black-green-brown (first row) respectively black-green-brown-blue (second row)) generated by the de Boor-like algorithm from Theorem 4 (first row) and by the alternative corner cutting algorithm from Remark 2 (second row) for the initial segment of a clamped T 2 -B-spline curve for α = π 2 . The first and second columns illustrate the left and right factorizations, respectively, from Equations (30) and (32).
Figure 8. Successive intermediate control polygons (in the color order black-green-brown (first row) respectively black-green-brown-blue (second row)) generated by the de Boor-like algorithm from Theorem 4 (first row) and by the alternative corner cutting algorithm from Remark 2 (second row) for the initial segment of a clamped T 2 -B-spline curve for α = π 2 . The first and second columns illustrate the left and right factorizations, respectively, from Equations (30) and (32).
Symmetry 15 01551 g008
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Albrecht, G.; Mainar, E.; Peña, J.M.; Rubio, B. A New Class of Trigonometric B-Spline Curves. Symmetry 2023, 15, 1551. https://doi.org/10.3390/sym15081551

AMA Style

Albrecht G, Mainar E, Peña JM, Rubio B. A New Class of Trigonometric B-Spline Curves. Symmetry. 2023; 15(8):1551. https://doi.org/10.3390/sym15081551

Chicago/Turabian Style

Albrecht, Gudrun, Esmeralda Mainar, Juan Manuel Peña, and Beatriz Rubio. 2023. "A New Class of Trigonometric B-Spline Curves" Symmetry 15, no. 8: 1551. https://doi.org/10.3390/sym15081551

APA Style

Albrecht, G., Mainar, E., Peña, J. M., & Rubio, B. (2023). A New Class of Trigonometric B-Spline Curves. Symmetry, 15(8), 1551. https://doi.org/10.3390/sym15081551

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