#### Abstract

The present studies on the extension of B-spline mainly focus on Bezier methods and uniform B-spline and are confined to the adjustment role of shape parameters to curves. Researchers pay little attention to nonuniform B-spline. This paper discusses deeply the extension of the quasi-uniform B-spline curves. Firstly, by introducing shape parameters in the basis function, the spline curves are defined in matrix form. Secondly, the application of the shape parameter in shape design is analyzed deeply. With shape parameters, we get another means for adjusting the curves. Meanwhile, some examples are given. Thirdly, we discuss the smooth connection between adjacent B-spline segments in detail and present the adjusting methods. Without moving the control points position, through assigning appropriate value to the shape parameter, C^{1} continuity of combined spline curves can be realized easily. Results show that the methods are simple and suitable for the engineering application.

#### 1. Introduction

B-spline methods are very popular in computer-aided geometric design and associated fields because of their distinct advantages. In recent years, some other methods have been presented for representing curves and surfaces. Papers [1–7] presented successively C-curves, T-curves, TC-curves, and -spline in trigonometric functions space. In order to improve the flexibility of product design, researchers give further consideration to introduce shape parameters. Through the parameters, designers can adjust flexibly the shape of curves and surfaces. Wang et al. [8, 9] introduced successively shape parameters to uniform quadratic TC-B-spline curves and quadratic TC-Bezier curves. Xiong et al. [10] discussed extension of uniform C-B-spline curves and surfaces. Bashir et al. [11] researched the G^{2} and C^{2} rational quadratic trigonometric Bezier curve with two shape parameters, and Liu et al. [12] discussed further hyperbolic polynomial uniform B-spline curves and surfaces with shape parameter. In recent years, researchers also paid attention to extension of traditional B-spline methods. But they mainly concentrated on Bezier curves [13], quadratic and cubic uniform B-spline curves [14–19]. Uniform B-splines can represent overall continuity closed curves and surfaces. But they use equally spaced knots; the spline does not interpolate the first and last control points. Because a nonuniform B-spline uses repeated knots technology, the curves have clamped property. The designers can locate more easily the two end points of the curve and achieve smooth connection between adjacent B-spline segments. So it has more practical significance for us to study extension of nonuniform B-spline curves and surfaces.

This paper discusses mainly cubic B-spline curves with shape parameter and presents the matrix representation and analyzes the influence of shape parameter on the curve shape. The application of the shape parameter in shape design is discussed deeply. With shape parameters, we get another means for adjusting the curves. In the end, we focus on discussions about how to realize C^{1} continuity between adjacent B-spline segments by only adjusting the value of the shape parameters without changing the position of the control points. Results show that the methods given by this paper are simple and suitable for the engineering application.

#### 2. Definition of Basis Functions and Curves

Given control points , let the knot vector be . Then we have a piecewise representation of the quadratic open uniform B-spline with parameter where is called shape parameter and are basis functions.

(1) When , the curve only has one segment. where , , and areAlso it can be expressed in matrix form:

Figure 1 shows the influence of the parameter on , , and , where solid line, dash line, and dotted line correspond to , , and .

(2) When , the spline curve is composed of two segments.

Also it can be expressed in the following matrix form:

Figure 2 shows the influence of on the shape of , , , and , where solid line and dash line correspond to and .

(3) When , the spline curve is composed of segments.where , , and are shown in (6).Also it can be expressed in the following matrix form:

Figure 3 shows the influence of the parameter on the shape of basis functions , , , , , and , where solid line and dash line correspond to and .

#### 3. The Properties of Basis Functions and Spline Curves

(1)

(2)

(3)

where , that is, quadratic open B-spline.

(4)

(5)

(6)That is to say, the curve is G1 at inner knots. Especially when , the curve is C1.

#### 4. Application in Shape Design

Nonuniform B-spline methods have important applications in shape design. By modifying the shape parameters, the designers get additional choice in two-dimensional design.

Figures 4–6 illustrate the influence of the parameter on the shape of curve, where Figure 4 shows , , and corresponding, respectively, to the thick line, the thin line, and the dash line. Figure 5 shows corresponding to the solid line and the dash line. Figure 6 shows , , and corresponding, respectively, to the solid line, the dotted line, and the dash line. Figures 7–11 show the application of the spline cure in this paper in fractal modeling.

#### 5. Composite Spline Curves

In the practical application, we usually construct composite spline curves that satisfy some smooth conditions. By adjusting shape parameters, designers can achieve the goal.

Two spline curves are given: The first one isThe knot vector .

The second one isThe knot vector .

From the equations above, .

If curves and satisfy G^{1} continuity that , , we can modify the parameter to enable the two curves’ C^{1} continuity without changing the position of the control points. The adjusting methods are shown below.

(1) If , we choose and modify .

(2) If , we choose and adjust .

We only prove that and can be gotten in the same way.

If , we can choose freely the value of as long as . From , we find and adjust .From , we find . So .

Two spline curves are given.

The first one is . The knot vector .

The second one is . The knot vector , where and and the control points areLooking at the control points, we see that and , .

Because , we can choose . Here we let . From the above method, we adjust to . Now, the curves and are of C^{1} continuity, as shown in Figure 12, where the solid line is , the original curve, and the dash line is the adjusted curve.

On one hand, the adjusting methods are very simple to do, as shown in (1) and (2) in Section 5. On the other hand, the adjusting methods let the designers achieve easily smooth connection between adjacent B-spline segments without moving the control points. So it is suitable for the engineering application.

#### 6. Conclusion

This paper proposes a class of cubic spline curves with parameter. It is actually the extension of quadratic open B-spline. Through the parameter, we can adjust flexibly the shape of spline curves. With different parameter values, the curve is dragged near or pushed away from the curve. The spline curve is global G^{1} and keeps clamped property. We can realize C1 smooth connection between the spline curves by only modifying the shape parameter value without changing the control points. The adjusting methods proposed in this paper have very important application value.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work has been supported by the Provincial Natural Science Research Project of Anhui Colleges under Grant no. KJ2017A326.