Abstract

In this paper, the quartic Hermite parametric interpolating spline curves are formed with the quartic Hermite basis functions with parameters, the parameter selections of the spline curves are investigated, and the criteria for the curve with the shortest arc length and the smoothest curve are given. When the interpolation conditions are set, the proposed spline curves not only achieve C1-continuity but also can realize shape control by choosing suitable parameters, which addressed the weakness of the classical cubic Hermite interpolating spline curves.

1. Introduction

In CAGD&CG, it is always an important research topic to adjust and control the shape of fitting curves. Different kinds of spline curves with parameters were constructed to control the shape of interpolating curves. For example, the Bézier-type and B-spline curves with parameters are discussed in the articles [14].

The classical cubic Hermite interpolation spline curves have been widely used in practical engineering problems in [57]. Nevertheless, when interpolation conditions are given, the shape of the cubic Hermite interpolation spline curves could not be changed. That is to say, we need to change interpolation conditions to modify the shape of the spline curves. However, when the interpolation conditions are taken from the real problems, this approach is not desirable. To overcome the limitations of the cubic Hermite interpolation spline curves in shape adaptability, the construction of Hermite interpolation spline with parameters has attracted the attention of many scholars. For example, the rational cubic Hermite interpolation spline with parameters is developed in [813], the quartic Hermite interpolation spline with parameters is developed in [14], and the cubic triangular Hermite interpolation spline with parameters is developed in [15]. Those articles proposed several interpolation spline functions with parameters, which have similar properties to the classical cubic Hermite interpolation, and they can push the curve to the designated area by modifying the parameters. However, the subject of how to select the parameters to obtain “good” fitting curves was not discussed in the abovementioned articles.

In this paper, a class of polynomial Hermite interpolation spline with two parameters is constructed. The shape of the spline curve could be adjusted by amending the parameters when the interpolation conditions are satisfied. One could choose the appropriate parameters to fulfill the given criterion. More specifically, we inspected the techniques to determine the parameters such that the quartic Hermite spline curve has the shortest arc length or has the least curve energy value and makes the quartic Hermite spline curve the smoothest or achieves the minimal sum of the arc length and the curve energy value.

2. Basic Concepts of Cubic Hermite Interpolation Spline

Definition 1. For , the following four functionsare called the cubic Hermite basis functions, and its properties are as follows:(1)End-points:(2)Quasisymmetry: .The function’s graphs are shown in Figure 1. From left to right are the graphs of the basis functions , , , and .

Definition 2. Given data points and corresponding tangent vector , for , piecewise cubic Hermite interpolant curves are defined as follows:where , and are given in (1).
By straightforward calculation, we have

3. Quartic Interpolation Spline with Parameters

From the last section, we can see that for given interpolation and derivative values at designated interpolation points, the shape of the classical cubic Hermite interpolation curve is set. If you want to change the shape of the curve, you need a different set of data, which is not allowed in some situations. To modify the curve shape without changing the interpolation conditions we will construct a basis of quartic polynomial functions with parameters, when the parameters take different values, the shape of the corresponding new interpolating curves will be changed, which will be very convenient for interactive designing. If the appropriate parameter values are chosen, it can also improve the approximation effect of the interpolation curve.

Definition 3. For any given parameters and , the following four functionsare called quartic Hermite basis functions with parameters.
When , equation (5) degenerates to equation (1), which are the cubic Hermite basis functions. When take different values, the shape of the basis function will also be altered. Figure 2 shows the basis function of (solid line), (dashed line), and (dot-dash line). From left to right are the graphs of the bases , , , and , respectively.

Definition 4. Let be a subdivision of the interval [a, b], and , , then the following functions on the interval are called quartic Hermite interpolation curves with parameters, where , , , and are quartic Hermite basis functions with parameters given in (3).
When all parameters are , equation (6) degenerates to equation (3).

4. Properties of the Quartic Hermite Interpolation Spline

4.1. Continuity

The spline (6) is the piecewise polynomial curves. We need to show the continuity of the curves. For , we have

Thus, we obtain

That implies the spline (6) is C1-continuous. Also, the tangent line of curves at the point is parallel to the tangent vector (for any ).

4.2. Total and Local Adjustment

By rewriting (6), for , we have

Obviously, the parameters only affect the i-th curve segments without altering the other curve segments. So, we can adjust the shape of the interpolation curves by changing parameters locally.

Example 1. Given data points , , , , , , , and and the corresponding tangent vectors , , , , , , , and , Figure 3 shows the total and local adjustable interpolation curve. The solid line in Figure 3 is the classical cubic interpolation spline curve, which is equivalent to the parameter in equation (6). In Figure 3(a), the parameter values of the line of dashes are (i = 0, 1, 2, …, 7) and the parameter values of dot-dash lines are (i = 0, 1, 2, …, 7). As we could see, the shape of the curve is adjusted as a whole. In Figure 3(b), the parameters are equal to 0, except for , and the curve is adjusted locally in the first and 8-th segments.

5. Parameter Selection for Constraint Conditions

As mentioned in Section 4, the shape of the quartic Hermite interpolation spline curves can be changed by selecting suitable parameters. Theoretically, when the data points, interpolation values, and their tangent vectors remain unchanged, the shape of the interpolation curve can be adjusted arbitrarily by changing the values of parameters. However, in many practical engineering problems, one often needs to make the interpolation curve meet the corresponding requirements consistent with the certain specifications. At this time, it is necessary to determine the values of parameters according to the given criteria. Three criteria for determining the values of parameters are examined as follows.

5.1. Criteria I: The Arc Length of the Curve Is the Shortest

Generally, the arc length of the parametric curve can be expressed . Therefore, for given the data points and corresponding tangent vectors , the optimal values of parameters and should be determined so that the quartic Hermite spline curve has the shortest arc length and then the optimization model can be established as follows:

To find the value of the optimal parameters and , a system of equations relating to the partial derivatives of equations (10) can be found. We have the following equations:

The interpolation curve with the shortest arc length can be obtained by solving for the optimal parameter value from the above equations.

Example 2. For the given data points and corresponding tangent vectors shown in example 1, we can obtain the parameter values according to equations (11). The acquired quartic Hermite spline curve has the shortest arc length, as shown in Figure 4.

5.2. Criteria II: The Curve Is the Smoothest

Generally, the smoothness of an interpolation curve can be approximated by its energy value , and the smaller the energy value is, the smoother the curve is. Therefore, for the given data points and corresponding tangent vectors , the optimal parameters are determined to minimize the curve energy value and make the quartic Hermite spline curve the smoothest. Then, the following optimization model can be obtained:

To find the optimal parameters and , a system of equations with the partial derivatives of the parameters and can be solved. The following equations are given:

By solving for the optimal parameter values from the above equations, the interpolation curve with the minimum energy can be obtained.

Example 3. For the given data points and corresponding tangent vectors shown in example 1, we can attain the parameter values according to equation (13). That is to say, the classical cubic Hermite spline curve is the smoothest in this case, as the black curve shown in Figure 3(a).

5.3. Criteria III: The Shorter Arc Length and the Smoother Curve Are Both Considered

For the given data points and corresponding tangent vectors, there is an optimization model to make the sum of the arc length and the energy of the quartic Hermite spline curve to be the smallest as follows:

The partial derivatives of the above equations concerning parameters and are obtained as follows:

Example 4. For the given data points and corresponding tangent vector given in example 1, we can obtain the parameter values according to equation (15). Thus, the sum of the arc length and the energy of the quartic Hermite interpolation spline curve is the smallest, as shown in Figure 5.

6. Conclusion

In this paper, we construct a set of adjustable quartic Hermite interpolation spline functions with two parameters, which inherits the main characteristics of the classical cubic Hermite interpolation spline functions and overcomes its limitation. When the data points and their tangent vectors are given, the shape of the classical cubic Hermite spline curve cannot be changed, which is a weakness. The shape of our proposed quartic Hermite interpolation spline curve can be adjusted by adapting the parameters, which is valuable when certain requirements of the interpolation effect in practical engineering designs need to be met. In addition, the quartic Hermite parameter spline still adopts the piecewise polynomial form, which not only has a relatively simple expression but also stays in line with the standard Bézier curve, B-spline curve, and other polynomial parameter curves in CAD/CAM system.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

The work was funded by the Key Project Foundation of Scientific Research, Education Department of Anhui Province, under Grant No. KJ2018A0555.