WorksComputer Science
Fairness-optimized interlacing knots for even-degree periodic B-spline interpolation
Abstract
Interpolating an ordered set of points by a B-spline curve is a fundamental operation in computer-aided geometric design. Most of the literature addresses open curves, where the Schoenberg–Whitney condition characterizes a nonsingular collocation matrix and averaging is the standard way to choose the knot vector. Periodic B-spline interpolation has received much less attention, and the open-curve algorithms cannot be transferred directly. No theoretical criterion is available for choosing the knots, and the few existing constructions, such as the shifting and energy methods, remain empirical, with neither a theoretical guarantee nor a supporting analysis. This paper addresses this gap for even degrees. We prove that for every even degree the periodic collocation matrix is nonsingular whenever the domain knots and the interpolation parameters interlace, in either of two admissible orderings, for arbitrarily nonuniform parameters. Rather than singling out one knot vector, this sufficient condition delimits an -parameter family of admissible knot vectors and provides the theoretical foundation for knot selection that periodic interpolation has lacked. It also explains why the empirical shifting method is solvable, previously justified only by an incorrect diagonal-dominance argument. We then exploit the remaining freedom to place the knots by fairness optimization, which preserves admissibility at every iterate and leads to the methods Opt-R and Opt-L. On four closed shapes with irregularly distributed points these methods achieve a fairness comparable to the shifting and energy methods, improve on them in several cases, and offer guarantees that no empirical construction provides.
Introduction
Interpolating an ordered set of points with a B-spline curve is one of the most common operations in computer-aided geometric design (CAGD), and it requires two preliminary decisions: a parameter value, or node, has to be assigned to every data point, and a knot vector has to be chosen for the spline. These two choices determine the collocation matrix that relates the control points to the data, and hence both the shape of the resulting curve and the numerical behaviour of the interpolation system. For open-curve interpolation, much of the classical literature is devoted to the choice of the parameters, and once they are available the knot vector is usually obtained by the classical averaging technique [1, 2], which yields a totally positive banded collocation matrix that can be solved by Gaussian elimination without pivoting. For closed, or periodic, B-spline curves the situation is more delicate, because the cyclic structure of the curve introduces additional linear constraints and the averaging technique cannot be applied directly. The extensive literature has concentrated on open curves, and these open-curve techniques cannot be transferred directly to the periodic setting, which has received comparatively little attention.
For open-curve interpolation the widely used Schoenberg–Whitney condition [1] characterizes the parameters and knots for which the collocation matrix is nonsingular. However, no comparable condition is known for periodic B-spline curves, which have been approached mainly through empirical constructions tailored to particular degrees [3, 4, 5], and studies of periodic B-spline interpolation are comparatively few [6]. No simple characterization of the knot vectors for which the periodic interpolation system is solvable is available, and there is a lack of constructive rules that guarantee a well-conditioned interpolation system for periodic B-spline curves. The method proposed in this paper is intended to fill this gap.
This paper concerns the even-degree case and is built on a simple observation. For an even degree , the periodic collocation matrix is nonsingular whenever the domain knots and the interpolation parameters interlace, in the sense that the initial knot coincides with the first parameter and each interior knot lies strictly between two consecutive parameters (Figure 2 or 3). The parameters may be arbitrarily nonuniform, and every interior knot may be placed independently inside its interval, so that the interlacing condition describes not a single knot vector but a whole family of admissible ones. It is the periodic, even-degree counterpart of the Schoenberg–Whitney condition for open curves. In particular, because the shifted knots of the shifting method satisfy the left interlacing ordering, that method is guaranteed to be solvable, a fact previously justified only by an incorrect diagonal-dominance argument [4]. Unique solvability is thus guaranteed for a substantial set of knot vectors, and the remaining freedom can be used to improve the quality of the interpolating curve.
Figure 2. Interlacing with a common initial knot and parameter. Filled circles are interpolation parameters, and open diamonds are interior domain knots. The endpoints are identified by periodicity.
We use this freedom to place the knots by fairness optimization. Each interior knot is placed inside its admissible interval by one coefficient , and the coefficients are computed by locally minimizing a two-term fairness energy combining the first and second derivative energies of the resulting curve. The box constraint on the coefficients is removed by a logistic reparametrization, and the resulting unconstrained problem is solved numerically by a multi-start quasi-Newton method. Because the coefficients remain in the open unit interval at every iterate, the interlacing condition, and hence unique solvability, holds throughout the optimization. The resulting methods Opt-R and Opt-L are compared with the two deterministic even-degree constructions, the shifting method and the energy method [4], on four closed shapes with complex, nonuniform point distributions, using three parametrizations: chord-length, centripetal [7], and the improved parametrization of Fang and Hung [8].
The main contributions of this work can be summarized as follows:
Interlacing condition for unique solvability. We prove that for every even degree the periodic collocation matrix is nonsingular whenever the domain knots interlace with the parameters, in either the right or the left ordering. The parameters may be arbitrarily nonuniform, and the interior knots may be chosen independently within their intervals (Theorem 1 and Corollary 1).
Consequences for existing constructions. The interlacing condition explains why the empirical shifting method is solvable, despite the failure of Park’s diagonal-dominance argument [4].
Fairness-optimized knot placement. We turn the -parameter family of admissible knot vectors left by the interlacing condition into a fairness problem and treat it with a logistic reparametrization and a multi-start quasi-Newton local search that preserves admissibility at every iterate, yielding the two locally optimized constructions Opt-R and Opt-L (§ 5).
Comparison with deterministic even-degree constructions. We compare Opt-R and Opt-L with the shifting and energy methods using three parametrizations (chord-length, centripetal [7], and the improved parametrization of Fang and Hung [8]), and identify the trade-offs between fairness, conditioning, and computational cost (§ 6).
Table 1 contrasts the proposed approach with the standard knot-selection strategies and highlights the theoretical guarantee that the existing constructions lack.
| Method | Category | Strategy | Advantages | Disadvantages |
| Averaging [1, 2] | Open | Average of consecutive parameters. | Standard for open curves; banded totally positive system. | Not applicable to periodic curves; ill-conditioned or singular for even degree. |
| Shifting [4] | Closed | Half-spans of adjacent parameters; shifts the parameters. | Simple; direct construction. | Empirical; no theoretical proof or conditioning guarantee. |
| Energy [4, 5] | Closed | Extra control point; constrained energy minimization. | Low energy; smooth curves. | Empirical; no theoretical guarantee that the collocation matrix has full rank. |
| Opt-R, Opt-L (this paper) | Closed | Interlaced knots; fairness-energy minimization. | Solvability guaranteed at any even degree; knot freedom; proves shifting solvable. | Sufficient only; even degree; multi-start cost. |
Table 1. Comparison of knot-selection strategies for B-spline curve interpolation.
The rest of the paper is organized as follows. § 2 reviews the related work on B-spline curve interpolation. § 3 introduces the technical background and states the problem addressed in the paper. § 4 proves the interlacing condition for unique solvability. § 5 formulates the fairness-optimized knot placement problem and its local numerical solution. § 6 presents experimental results, and § 7 concludes the paper and outlines future work.
Related work
This section reviews the main lines of work related to B-spline curve interpolation: the parametrization of the data, the determination of the knot vector, the optimization strategies that treat parameters and knots as unknowns, and the numerical conditions that guarantee a well-posed interpolation.
Data parametrization
Parametrization maps each data point to a value in the parameter domain, and the quality of an interpolation curve depends heavily on this mapping. Several classical strategies are in common use. The uniform method distributes the parameters evenly, the chord length method [2] distributes them in proportion to the distance between consecutive points, and the centripetal method of Lee [7] uses the square root of that distance. Foley and Nielson [9] take the angle between neighbouring segments into account so as to obtain a parametrization that is invariant under affine transformations, whereas Lim [10] and Jung and Kim [11] place a node where the corresponding B-spline basis function attains its maximum. None of these heuristics is universally satisfactory: uniform parameters can generate loops or oscillations when the points are unevenly spaced, chord length parameters are sensitive to abrupt changes of direction, while centripetal parameters are more robust in such cases. Subsequent work has refined the centripetal idea to suppress undesirable wiggle [8], or has combined the geometric and basis-oriented viewpoints in hybrid schemes [12]. Dynamic and modified chord length variants [13, 14], as well as node rules derived from local cubic polynomials [15], follow the same heuristic philosophy.
More recently, data-driven approaches have been explored. Laube et al. [16] train a deep network to predict the parameters and knots of an approximating curve, Scholz and Jüttler [17] use a residual network to parametrize polynomial curves, and Song et al. [18] learn a hybrid parametrization by supervised learning, while Lin and Feng [19] regress the parameters for B-spline curve interpolation. Tang and Yang [20] propose a network that directly produces the parametrization for B-spline approximation, and extend it to the joint prediction of knots and parameters [21]; a recent review surveys this family of methods [22]. Such methods adapt well to the statistics of the training data, but their behaviour depends on the training set, generalization is not guaranteed, and they provide no optimality statement for an individual dataset.
Knot determination with prescribed parameters
Once the parameters have been prescribed, the knot vector still has to be determined, and different knots lead to different curves and to different conditioning of the interpolation system. For an open curve the standard tool is the averaging technique [1, 2], in which each interior knot is the average of consecutive parameters (here is the degree of the spline); the resulting system matrix is totally positive and banded with a semi-bandwidth smaller than , so that it can be solved by Gaussian elimination without pivoting [1, 2]. The knots thereby reflect the distribution of the parameters.
For periodic B-spline curve interpolation the averaging technique cannot be applied directly, because the cyclic structure of the curve introduces additional linear constraints. The situation depends on the parity of the degree. When the degree is odd, averaging [3] and natural [1] strategies perform well. When the degree is even, however, averaging tends to produce an ill-conditioned system matrix and may even make it singular [4]. To overcome this difficulty, Park [4] introduced the shifting and energy methods. The shifting method builds every knot span from halves of two adjacent parameter spans and translates the parameters by half of the last span, while the energy method increases the number of control points by one, takes parameter midpoints as knots, and recovers the control points by a strain energy minimization under linear constraints [5]. Both produce visually pleasant curves, but the shifting method displaces the parameters, so the start of the parameter domain is not the first data point. Figure 1 summarizes the methods discussed above.

Figure 1. Overview of knot determination methods for B-spline curve interpolation. For a periodic B-spline curve the available methods depend on the parity of the degree: averaging and natural methods are for odd degrees, while the shifting and energy methods were introduced for even degrees.
However, the shifting method is empirical; in particular, Park [4] argues that simple pivoting makes its collocation matrix strictly diagonally dominant. This claim is false; Appendix C gives a counterexample. This does not prevent the shifting method from being solvable: each shifted domain knot is the midpoint of two consecutive shifted parameters, so the shifted knots satisfy the left interlacing condition (10), and Corollary 1 guarantees that the shifting system is nonsingular. The energy method is empirical as well: its constrained minimum is characterized by the KKT system (23), whose solvability requires the rectangular collocation matrix to have full row rank [23, 24], a property that is not proved in Park’s work.
Optimization-based approaches
A parallel line of research also addresses B-spline curve interpolation, treating the parameters, the knot vector, and the control points as unknowns of an optimization problem; formulations developed for curve approximation are not considered here. The parameters have also been optimized, for example by Kouibia et al. [25], who optimize the parameters of cubic spline interpolation. Since the knot vector controls both the shape and the solvability of the interpolation system, other works optimize the knots directly. Thakur characterizes optimal interpolatory quadratic splines with free knots as a convex program [26] and later solves a linear-programming relaxation for near-optimal free-knot splines [27]; Suchomski [28] minimizes a discrete error over variable knots; and Idais et al. [29] allocate the knots of cubic and bicubic interpolants with a multi-objective genetic algorithm.
More recent methods optimize the degrees of freedom jointly. Zhang et al. [30] directly minimize a curve-quality functional over the control points, the parameters, and the knot vector at the same time; they reformulate the interpolation constraints as an unconstrained problem and prove that the distance between the resulting curve and the data points is bounded. Hu and Zhang [31] search for nodes and knots with the NSGA-II multi-objective evolutionary algorithm, constraining the control points and the tangent directions. Because these problems remain high-dimensional and nonconvex, the optimization-based methods are computationally expensive and prone to local minima. All of these studies, however, concern open curves; the optimization-based treatment of periodic B-spline curve interpolation has been largely neglected.
Numerical stability conditions
For open B-spline curve interpolation, the classical Schoenberg–Whitney theorem [1] is the necessary and sufficient condition for the interpolation matrix to be nonsingular: every data parameter must lie strictly inside the support of the corresponding B-spline basis function. This condition is the basis of the numerical stability of open-curve B-spline interpolation.
The periodic setting is structurally different. Because the knot vector is cyclic and the control points wrap around, the collocation matrix is no longer a finite banded matrix on an interval but a cyclically banded, circulant-like matrix on a circle, so the classical Schoenberg–Whitney theorem cannot be applied in its original form. The natural periodic analogue replaces the support of a basis function by a window of consecutive knots centred on each parameter: each parameter must lie strictly inside a window whose size depends on the degree, comprising a parity-dependent number of knots on either side of the parameter. This periodic window condition was proposed by Tang [6] as the periodic counterpart of the Schoenberg–Whitney condition, with the claim that it guarantees a nonsingular square periodic collocation matrix. However, the proposed condition is not valid: Appendix § 10 gives a uniform-knot configuration that satisfies it while the periodic collocation matrix is singular. This disproves Tang’s condition, and the exact characterization of the knots and parameters for which the periodic collocation matrix is nonsingular remains an open problem. The interlacing condition studied in this paper is a sufficient condition of a different, constructive type: it prescribes a family of knots for which nonsingularity is guaranteed at every even degree.
Problem statement and preliminaries
For the reader’s convenience, Table 2 collects the principal symbols and the methods compared in this paper.
| Symbol | Meaning |
| , | even degree; last data-point index ( points) |
| data points, | |
| interpolation parameters, | |
| domain knots, | |
| periodic B-spline basis functions, | |
| periodic B-spline curve, (4) | |
| periodic collocation matrix, (6) | |
| stiffness matrix of the fairness energy, (15) | |
| , | stretching and bending weights of |
| , , | knot coefficients, their vector, and unconstrained variables with |
| fairness energy of a knot vector, (14) | |
| Opt-R, Opt-L | optimized right/left interlacing (Algorithm 1) |
| shifting method | Park’s shifting construction [4] |
| energy method | Park’s constrained energy minimizer [5] |
Table 2. Notation, definitions, and the methods compared in this paper.
Let be an even integer with , and let be data points in a Euclidean space, with prescribed parameters satisfying
We seek a periodic B-spline curve interpolating these data at the given parameters. The period is fixed at 1. We set to describe the final parameter interval; it is not an additional interpolation parameter.
Let the simple domain knots satisfy
Let denote the normalized B-spline of degree associated with the extended knot sequence [32 Definition 4.19]. We index these functions so that has support . Define the periodic basis functions by
The sum is locally finite. The periodic B-spline curve is
where are the unknown control points. The knot extension makes these functions 1-periodic. For simple knots, the ordinary B-splines are and have polynomial pieces of degree at most [32 Theorem 4.14]; the locally finite sums in (3) inherit these properties. In particular, the curve and its derivatives through order agree at the endpoints of the period.
The interpolation conditions are
Writing and , these conditions give the square system
Unique control points exist for arbitrary data precisely when is nonsingular.
We will also use the linear independence of the periodic functions. If , extending the coefficients by gives the locally finite identity
On , the active ordinary B-splines are . Their local linear independence [32 Theorem 4.18] forces . Varying proves that all coefficients vanish.
Interlacing domain knots and unique solvability
We give a constructive sufficient condition on the domain knots that makes the periodic collocation matrix nonsingular for every even degree. The condition is an interlacing of the knots with the parameters: around the period the two families alternate. We first treat the right ordering, in which each interior knot follows its corresponding parameter, and then obtain the left ordering by reflection.
Theorem 1 (Right interlacing). Let the parameters and domain knots satisfy (1) and (2), and let be even with . If
then is nonsingular. Consequently, for arbitrary data , there is exactly one curve of the form (4) satisfying (5).
Figure 2 illustrates the ordering in (8).
The proof, which uses two auxiliary lemmas, is given in Appendix § 9.
The knot condition can be met directly by choosing any and setting
with and . Every such choice satisfies Theorem 1. The same conclusion holds for the opposite ordering, in which every interior knot precedes its corresponding parameter.
Corollary 1 (Left interlacing). The conclusion of Theorem 1 also holds when (8) is replaced by
The same left interlacing condition (10) was previously put forward, as Conjecture 1, by Tang [33] in the context of lofted B-spline surface interpolation to serial closed contours, where it was supported by numerical experiments but not proved. Corollary 1 establishes it rigorously for every even degree . The left ordering (10) is depicted in Figure 3.
Figure 3. Left interlacing: each interior domain knot lies strictly between and . Filled circles are interpolation parameters, and open diamonds are interior domain knots. The endpoints are identified by periodicity.
Proof. Reflect the parameter by . Set , , and
Then (10) implies for . Take an , and let . The function is periodic and , has polynomial pieces of degree at most on the reflected knot intervals, and vanishes at every . The homogeneous-spline argument in the proof of Theorem 1 therefore gives , hence . Linear independence of the original periodic basis gives . Thus is nonsingular, and the interpolation conclusion follows.
In this ordering the direct knot choices are
with the same endpoints. Both results establish unique solvability for each admissible choice.
Fairness-optimized knot placement
The interlacing condition guarantees unique solvability for a whole family of knot vectors, but the resulting curves differ in quality. A standard way to measure this quality is the fairness (strain) energy of the curve [34, 35], a quadratic functional commonly used to penalize stretching and bending and to favor smoother, better distributed curves. We select admissible interlacing knots by locally optimizing this energy, which yields two fairness-optimized constructions: Opt-R for the right ordering and Opt-L for the left ordering. Each interior knot is determined by a single convex-combination weight , :
with and . For a given knot vector the curve is uniquely determined by (6), and the fairness energy can be written in terms of the control points and a stiffness matrix. Let be the periodic basis vector, with first and second derivatives and . Then
where
is the stiffness matrix, computed by Gaussian quadrature or analytically [36]; by (6), and and are the stretching and bending coefficients [4, 5]; we use and .
Both and depend on the knot vector, hence on , so is a function of only. Although the fairness energy is quadratic in the control points for fixed knots, the matrices and depend nonlinearly on the knot coefficients. The resulting finite-dimensional problem is therefore generally nonconvex, so the numerical procedure below is a local optimization strategy. We search for an admissible knot vector with (). The box constraint is removed by the logistic substitution with , and the transformed objective is treated with the quasi-Newton (BFGS) method [37], initialized from the two empirical values and . Among the candidates returned by these runs, the one with the smallest computed energy is retained. Because is preserved at every iterate, the interlacing conditions (12)–(13) hold throughout, so the interpolation matrix is always nonsingular. The procedure is summarized in Algorithm 1, where selects the ordering.
Algorithm 1 Fairness-optimized interlacing knots (: Opt-R; : Opt-L)
Require: data points ; even degree , ; weights ; direction
Ensure: admissible knots , control points , interpolating curve , best computed energy
compute parameters ; set
set , ,
for , set
function ▷ fairness energy of the interpolant
build , , ▷ : domain knots
solve
return
end function
▷ empirical initial values of
for do
▷
end for
retain, among the computed candidates, the with the smallest computed value of
build ; solve
return , , ,
Experimental results
The methods are implemented in C and Wolfram Language. This section evaluates the optimized interlacing methods on four closed polygonal data sets with complex, nonuniform point distributions, at degrees and . The data sets, referred to as rabbit, octopus, giraffe, and fingers and shown in Figure 4, are each centered at the origin and scaled to unit bounding-box diagonal, so that the curvature-based quantities are comparable across shapes. The first two, rabbit and octopus, have 19 and 20 vertices and are processed at degrees and , respectively. The third, giraffe, has 27 vertices and is processed at ; with several sharp corners, it is the most irregular of the four. The fourth, fingers, has 20 vertices and is processed at .
Figure 4. The four data sets used in the experiments: rabbit (19 vertices, degree ), octopus (20 vertices, ), giraffe (27 vertices, degree ), and fingers (20 vertices, ). Each data set is normalized to unit bounding-box diagonal; the first and last vertices are marked in magenta and cyan, respectively.
Every data set is interpolated with three parametrizations, namely the classical chord-length and centripetal methods [7] and the improved parametrization of Fang and Hung [8] (denoted fang2013), and with four constructions: the optimized interlacing methods Opt-R and Opt-L of Section 5, together with Park’s shifting and energy methods [4]. Appendix D recalls the two deterministic constructions, Section 6.1 defines the quality metric, and the rest of this section reports the results.
Quality metric
To evaluate the quality of an interpolation curve we use the metric of Fang and Hung [8],
where is the maximum absolute curvature of the curve on the th parameter interval and is the maximum deviation of the curve from the corresponding data segment,
with the distance from the curve point to the segment . For a periodic curve the data are closed and there are segments: the last interval , with , corresponds to the closing segment , and the index in (17) is taken modulo . A smaller indicates a curve that follows the data polyline closely while bending little.
Reconstructed curves and knot placement
In each of Figure 5–Figure 8 the top panel overlays the four interpolants obtained for each data set and parametrization. All constructions interpolate the data exactly, and their curves are visually indistinguishable along the smooth parts of the polygons; they differ only near highly curved vertices, where the placement of the interior knots determines how early the curve has to turn. This confirms that the freedom left by the interlacing condition is an effective degree of freedom that the four constructions resolve in different ways. The middle panel shows the full reconstructions, including the control polygons and the data points, with the fairness energy of each construction printed above it, and the bottom panel displays the resulting knot and parameter placement: the shifting and energy methods place their knots at the midpoints of consecutive parameters, while Opt-R and Opt-L distribute them nonuniformly according to (Figure 9).
Figure 5. rabbit (, 19 vertices): interpolants of the four constructions under the three parametrizations (top), reconstructions with control polygons and data points (middle), and knot/parameter placement (bottom).
Figure 8. fingers (, 20 vertices): interpolants of the four constructions under the three parametrizations (top), reconstructions with control polygons and data points (middle), and knot/parameter placement (bottom).

Figure 9. Optimized knot coefficients versus the data-point index for the two interlacing methods. Top, degree : rabbit (left) and giraffe (right); bottom, degree : octopus (left) and fingers (right).
Two of the data sets deserve particular attention. In Figure 6 (octopus) the optimized interlacing is clearly superior: Opt-R and Opt-L produce visually pleasing curves, whereas the centered shifting and energy constructions exhibit small self-intersections under chord-length parametrization. Since all four constructions use the same parameters and differ only in the placement of the interior knots, this comparison isolates the effect of knot placement and shows that the optimized interlacing avoids the artifacts introduced by centered knots. Because the metric (16) does not penalize self-intersections, this visual improvement is not reflected in Table 5, where the centered knots can show a smaller . In Figure 8 (fingers), by contrast, all four constructions produce self-intersecting curves under chord-length parametrization. Here the interior knots are no longer the deciding factor: the artifact originates in the parametrization, and no admissible knot placement remedies it. This is the same phenomenon that occurs in open-curve interpolation, where the parametrization governs the shape and, in particular, the appearance of self-intersections. The two cases therefore complement each other and illustrate the interplay between parametrization and knot placement: knot optimization is effective when the knots are the limiting factor, whereas a poor parametrization cannot be compensated by any knot placement.
Figure 6. octopus (, 20 vertices): interpolants of the four constructions under the three parametrizations (top), reconstructions with control polygons and data points (middle), and knot/parameter placement (bottom).
| Data | Param. | Opt-R | Opt-L | shifting | energy |
| rabbit () | chord | 0.5560 | 0.5241 | 0.4371 | 0.4807 |
| rabbit () | centripetal | 0.5004 | 0.4710 | 0.4062 | 0.4612 |
| rabbit () | fang2013 | 0.5072 | 0.4706 | 0.4049 | 0.4630 |
| octopus () | chord | 2.0718 | 2.0739 | 1.8873† | 1.9331† |
| octopus () | centripetal | 2.1914 | 2.1944 | 1.9398 | 1.9842 |
| octopus () | fang2013 | 2.1706 | 2.1736 | 1.9344 | 1.9782 |
| giraffe () | chord | 0.5485 | 0.5880 | 0.5350 | 0.5367 |
| giraffe () | centripetal | 0.4995 | 0.5237 | 0.4811 | 0.4820 |
| giraffe () | fang2013 | 0.4947 | 0.5206 | 0.4777 | 0.4788 |
| fingers () | chord | 5.2360† | 5.2367† | 10.7566† | 10.6820† |
| fingers () | centripetal | 3.6007 | 3.6640 | 2.5748 | 2.6031 |
| fingers () | fang2013 | 3.4824 | 3.5433 | 2.5384 | 2.5664 |
Table 5. Fang–Hung quality metric (smaller is better) for the four data sets. † marks an interpolation curve that self-intersects.
Figure 9 shows the optimized knot coefficients of Opt-R and Opt-L. Their values vary substantially from vertex to vertex and track the local geometry: for the irregular data set giraffe the coefficients range over nearly the whole admissible interval , whereas for the smoother sets they remain closer to the midpoint . The right and left orderings produce visibly different patterns, reflecting that they move each knot against the two different bounding parameters. For the centripetal and fang2013 parametrizations the two curves in Figure 9 are very close to each other but not identical. This is a geometric effect rather than a numerical coincidence: the two parametrizations themselves differ only slightly, and near the optimum a small change of a knot has only a second-order effect on the curve, so both parametrizations drive the coefficients to almost the same values. The resulting curves agree to about 0.1% of the shape size, even though the underlying parameter vectors differ by up to and the fairness energy still differs by roughly 1.5%.
Table 3 lists the condition numbers of the periodic collocation matrices. The parametrization has the strongest influence: chord-length yields the largest condition numbers, whereas centripetal and fang2013 reduce them by roughly a factor of two, for example from 5.71 to 2.57 for giraffe and from 11.98 to 6.41 for fingers. The four constructions have condition numbers of the same order; the optimized interlacing methods Opt-R and Opt-L are close to the deterministic shifting and energy constructions. All values remain moderate, the largest being about 14.6 for fingers under chord-length, which is consistent with the nonsingularity guaranteed by Theorem 1 and indicates that the admissible knot placements are numerically safe.
| Data | Param. | Opt-R | Opt-L | shifting | energy |
| rabbit () | chord | 4.047 | 3.032 | 3.085 | 3.083 |
| rabbit () | centripetal | 3.363 | 2.670 | 2.178 | 2.166 |
| rabbit () | fang2013 | 3.359 | 2.683 | 2.177 | 2.164 |
| octopus () | chord | 5.494 | 5.501 | 5.353 | 5.029 |
| octopus () | centripetal | 5.104 | 5.121 | 4.913 | 4.756 |
| octopus () | fang2013 | 5.100 | 5.119 | 4.911 | 4.756 |
| giraffe () | chord | 5.711 | 6.141 | 5.620 | 5.554 |
| giraffe () | centripetal | 2.566 | 2.921 | 2.575 | 2.554 |
| giraffe () | fang2013 | 2.581 | 2.928 | 2.587 | 2.567 |
| fingers () | chord | 11.976 | 11.980 | 14.621 | 14.536 |
| fingers () | centripetal | 6.410 | 6.425 | 6.292 | 6.260 |
| fingers () | fang2013 | 6.445 | 6.460 | 6.381 | 6.352 |
Table 3. Condition numbers of the interpolation systems for the four data sets.
The fairness energy is collected in Table 4. All four constructions give values within a few percent of one another, and the smallest value alternates between the energy method and the optimized methods. Differences between the parametrizations are larger: relative to chord-length, centripetal reduces by about a third for giraffe (5437 versus 8050) and by roughly a fifth for rabbit and a seventh for fingers, while for octopus the three parametrizations give similar values.
| Data | Param. | Opt-R | Opt-L | shifting | energy |
| rabbit () | chord | 1596.75 | 1629.96 | 1528.57 | 1527.37 |
| rabbit () | centripetal | 1267.69 | 1307.49 | 1223.13 | 1222.10 |
| rabbit () | fang2013 | 1275.51 | 1316.00 | 1231.26 | 1230.23 |
| octopus () | chord | 3200.07 | 3200.19 | 3217.09 | 3216.40 |
| octopus () | centripetal | 3162.78 | 3163.22 | 3173.47 | 3172.51 |
| octopus () | fang2013 | 3167.21 | 3167.65 | 3177.92 | 3176.95 |
| giraffe () | chord | 8050.14 | 8533.88 | 8086.63 | 8052.81 |
| giraffe () | centripetal | 5436.89 | 5569.42 | 5451.19 | 5444.96 |
| giraffe () | fang2013 | 5527.27 | 5660.93 | 5540.95 | 5534.66 |
| fingers () | chord | 4168.82 | 4168.93 | 4274.76 | 4262.40 |
| fingers () | centripetal | 3548.07 | 3550.83 | 3548.27 | 3546.75 |
| fingers () | fang2013 | 3579.00 | 3581.66 | 3578.81 | 3577.24 |
Table 4. Fairness energy (smaller is better) of the interpolation systems for the four data sets.
Table 5 shows the Fang–Hung metric of (16); smaller values indicate a curve that follows the data polygon closely while bending little. The shifting and energy methods attain the smallest values in most cases, which reflects that centered knots keep the deviation from the chords small for well-distributed parameters; the optimized methods are close to this baseline, within about fifteen percent for octopus, within a few percent for giraffe, and within about a quarter for rabbit. The notable exception is fingers under chord-length parametrization, where the centered constructions (shifting or energy) give , more than twice the value of Opt-R and Opt-L. Here the strong nonuniformity of the chord-length parameters makes the centered knots deviate appreciably from the data polygon, whereas the optimized interlacing adapts the knots to the geometry and keeps the deviation small. Centripetal and fang2013 eliminate most of this discrepancy for fingers ( to ). Thus no method is uniformly best: the parametrization and the knot placement interact, and the optimized interlacing provides a robust compromise.
Figure 7. giraffe (, 27 vertices): interpolants of the four constructions under the three parametrizations (top), reconstructions with control polygons and data points (middle), and knot/parameter placement (bottom).
Finally, Table 6 compares the computation time of each construction. The two deterministic constructions are the fastest: both reduce to assembling and solving a single dense linear system and take well under a millisecond, the energy method being marginally more expensive because it solves a KKT system of about twice the size. The optimized methods Opt-R and Opt-L are about two orders of magnitude slower, their time being dominated by the multi-start optimization of the knot coefficients, but even for the most expensive case they require only about 0.1 s per parametrization. This is already practical for real applications, and further code-level optimization could reduce the running time even more.
| Data | Param. | Opt-R | Opt-L | shifting | energy |
| rabbit () | chord | 75.18 | 78.69 | 0.32 | 0.73 |
| rabbit () | centripetal | 69.09 | 81.86 | 0.15 | 0.34 |
| rabbit () | fang2013 | 76.89 | 75.36 | 0.20 | 0.40 |
| octopus () | chord | 68.73 | 69.40 | 0.22 | 0.50 |
| octopus () | centripetal | 74.73 | 64.07 | 0.61 | 0.72 |
| octopus () | fang2013 | 68.04 | 71.08 | 0.20 | 0.83 |
| giraffe () | chord | 74.06 | 83.87 | 0.20 | 0.66 |
| giraffe () | centripetal | 86.74 | 68.62 | 0.24 | 0.54 |
| giraffe () | fang2013 | 67.21 | 72.08 | 0.25 | 0.55 |
| fingers () | chord | 84.94 | 72.80 | 0.20 | 0.50 |
| fingers () | centripetal | 76.06 | 73.84 | 0.40 | 0.92 |
| fingers () | fang2013 | 97.70 | 93.34 | 0.27 | 0.53 |
Table 6. Computation time (in milliseconds) per data set, parametrization and construction.
Taken together, the experiments show that the interlacing constructions Opt-R and Opt-L are uniquely solvable and well conditioned for all four data sets and both degrees, with condition numbers comparable to those of the deterministic shifting and energy methods and markedly smaller under centripetal and fang2013 parametrization than under chord-length. Their curve quality, measured by , is close to the best deterministic construction on smooth data and appreciably better on the difficult combination of fingers with chord-length parametrization. The optimized knot placement therefore recovers the geometric accuracy of the centered constructions (shifting or energy) while retaining the flexibility to adapt to irregular data. Additional examples, covering twelve further test shapes at degree with centripetal parametrization, are given in Appendix § 13.
Conclusions and future work
We have shown that the interlacing of the domain knots with the interpolation parameters is what makes the even-degree periodic B-spline interpolation problem uniquely solvable. The condition is constructive and mild: the endpoints are pinned, and every interior knot only has to lie somewhere inside the interval between two consecutive parameters. It therefore guarantees a nonsingular collocation matrix for a whole family of knot vectors, independently of how nonuniform the parameters are, and it covers both the right and the left ordering of the knots. The freedom left by the interlacing condition can be exploited directly. Locally optimizing one coefficient per interior knot gives a fairness-optimized knot placement procedure, implemented with a logistic reparametrization and a multi-start quasi-Newton search. The logistic substitution keeps every coefficient strictly inside the open unit interval, so the interlacing condition, and with it unique solvability, holds at every iterate of the optimization. The comparison with the shifting and energy methods shows that the locally optimized interlacing methods and the deterministic energy method achieve low fairness energies, that the shifting method is a cheap and well-conditioned alternative, and that centripetal parametrization is preferable to chord-length parametrization for the conditioning of the interpolation system. The shifting construction, widely used without a proof of solvability, is also covered by the interlacing theory: its collocation matrix is nonsingular, even though Park’s original diagonal-dominance argument does not hold (Appendix § 11).
From a practical viewpoint the running time of the optimized methods is modest. The deterministic shifting and energy constructions reduce to a single linear solve and are about two orders of magnitude faster, but even in the most expensive case Opt-R and Opt-L need only about 0.1 s per parametrization. This time is dominated by the multi-start search, so code-level optimization can reduce it further, and a tenth of a second is already negligible for interactive design and other typical CAGD tasks. The optimization therefore adds a guaranteed solvability criterion and adaptivity to irregular data at a cost that remains well within the practical budget.
Three directions stand out for future work. The first is to extend the interlacing analysis to odd degree. The present theory covers even degrees, for which the interlacing condition gives a constructive sufficient condition for nonsingularity; for odd degrees the situation is open, since the periodic window condition of § 2.4 fails in general (Appendix § 10). Identifying the window of admissible positions for each domain knot around its parameter that guarantees nonsingularity at odd degree would complete the solvability picture across all degrees. The second direction is a forward construction of the coefficients. Rather than selecting through a multi-start local search on the fairness energy, it would be preferable to compute directly from the data; a natural conjecture is that, at least for suitably regular data, the geometric midpoint gives a reasonable or near-optimal choice. Establishing such a result would reduce the construction to an explicit formula. The third direction is the conditioning of the interpolation system: although the experiments indicate that the admissible knot placements are well conditioned, a rigorous bound on the condition number of the periodic collocation matrix, and its dependence on the parametrization, remains to be established. The same interlacing viewpoint should also extend to periodic tensor-product B-spline surfaces and to closed-contour lofting, where the point-wise method would be combined with a fairing term across the contours.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Proofs for Section 4
Auxiliary lemmas
Distinct zeros of a continuous 1-periodic function are called separated if is not identically zero on any , where . This definition includes ; the identically zero function has no nonempty set of separated zeros.
Lemma 1 (Separated zeros). Let be an integer. A 1-periodic function whose restriction to each knot interval is a polynomial of degree at most has at most separated zeros in a period.
Proof of Lemma 1. Suppose a periodic function has separated zeros . Between successive zeros choose an interior point maximizing . Then and .
With , the point lies between and . Since and , is not identically zero between successive , so these are separated zeros of . If a spline as in the statement has separated zeros, applying this argument times gives separated zeros of its continuous piecewise linear st derivative. Between two consecutive such zeros there must be a knot in the open interval: otherwise the function would be affine there and zero at both endpoints, contrary to separation. The open intervals are disjoint on the circle, which contains only knots. Therefore .
Lemma 2 (An identity for even-degree periodic splines). Let with an integer , and let be a -periodic function whose polynomial pieces on the knot intervals have degree at most . Write for the constant value of on , and define
Then
Proof of Lemma 2. Integration over the knot intervals and periodic reindexing give
The derivatives through order are absolutely continuous and periodic. After integrations by parts, the last expression is
All boundary terms vanish by periodicity. When , no integration by parts is needed. Values of the highest derivative at the knots do not affect these integrals.
Proof of Theorem 1
Proof. We first consider any -periodic function whose polynomial pieces on have degree at most and which satisfies
Periodicity also gives . We prove that these conditions force . Suppose otherwise.
The spline cannot vanish on an open interval. If it did, one polynomial piece would vanish identically. Continuity through order at the next knot would force the following piece to have the form . Each interval contains an interpolation zero different from : it contains in its interior for , and its right endpoint is the zero for . Substitution gives . Repeating this argument around the period would give , a contradiction.
Consequently, has finitely many zeros in a period, and any set of them is separated. Lemma 1 shows that its zeros are precisely modulo . Moreover, they are simple. Indeed, in each interval between successive parameters, choose a point where attains its positive maximum. These points give separated zeros of , as in the lemma’s proof. If , inserting between the adjacent chosen points would give one more separated zero of : on each of the two new intervals, changes between zero and a nonzero value. This contradicts Lemma 1 applied to the degree- spline . Hence for every .
The sign of changes at each and nowhere else. A periodic function cannot have an odd number of such changes, so must be even. Choose one point in each ; the corresponding values of alternate in sign cyclically.
We next pass this alternation to the highest derivative. For a periodic, absolutely continuous, piecewise polynomial function with alternating nonzero values at cyclically ordered points , put . Then
has the sign of . Thus each interval contains a point, away from the knots, where has that sign. These derivative values again alternate cyclically. Apply this argument to , all of which are absolutely continuous and periodic. It follows that has cyclically alternating nonzero values outside the knots.
Let be the constant value of on . Each knot interval contains at most one of the selected points: all selected points lie in an interval exactly one cyclic order, whereas a constant function cannot alternate in sign there. There are points and intervals, so each interval contains exactly one. Hence the are nonzero and alternate in sign. The jumps defined in (2) have the signs of and therefore also alternate. By (8), the nonzero values alternate in sign as well. All products for consequently have the same nonzero sign, while . Thus
This contradicts Lemma 2. Thus every spline satisfying the homogeneous conditions (18) is identically zero. Now take with . The spline satisfies (18), so . By the linear independence established using (7), all vanish. The square matrix is therefore nonsingular. Solving its system in each coordinate proves existence and uniqueness of the interpolating curve.
A counterexample to the periodic window condition
We first recall the condition as stated by Tang [6] (Theorems 2 and 3 therein), then give a uniform counterexample.
Let be the degree, let be the simple domain knots extended periodically by , and let be the interpolation parameters. With , in centred indexing the periodic window condition reads
and is equivalent to positivity of every diagonal entry of the square periodic collocation matrix.
The following uniform configuration shows that (20) does not imply nonsingularity at even cardinality. Take degree , , uniform domain knots and collocation parameters . Then each row of the periodic collocation matrix is , and every diagonal entry equals , so the window condition (20) holds. The alternating vector closes up around the circle because is even, and every row annihilates it, so the matrix is singular.
The same mechanism occurs at higher degrees. For and the same uniform knots, the parameters at degree and at degree both satisfy the window condition, yet the corresponding periodic collocation matrices are singular; the second case shows that the failure already occurs at an even degree.
A counterexample to the diagonal-dominance claim for the shifting method
Park [4] states that for the shifting method simple pivoting makes the periodic collocation matrix strictly diagonally dominant. Because every row of this matrix is nonnegative and sums to one, strict diagonal dominance is equivalent to the existence of a permutation that puts an entry larger than on the diagonal of every row. The following shifted quadratic has a row without such an entry.
Let and (so ), and work on . Take the parameters
so that . The shifting method of Appendix § 12 replaces them by the shifted parameters ,
and sets each interior domain knot to the midpoint of two consecutive shifted parameters,
with , so that for and . At the shifted parameter the corresponding row of the interpolation matrix (6) has three nonzero entries,
all strictly smaller than . Since the row sum is one, this row has no entry that can be brought onto the diagonal so that the diagonal entry exceeds the sum of the remaining entries; hence no row or column permutation makes the matrix strictly diagonally dominant. The matrix is nevertheless nonsingular, with ; the failure is therefore one of the dominance argument, not of solvability.
Compared methods
Two deterministic even-degree constructions serve as baselines [4]: the shifting method and the energy method. The shifting method is the standard deterministic construction for even degree. With it shifts the parameters to and places each interior knot at the midpoint of two consecutive shifted parameters,
so that every shifted parameter is exactly centered in its knot interval.
The energy method sets , so that it uses one extra control point, places the centered knots
with , and minimizes the same energy (14) directly under the interpolation constraints. The constrained minimum is characterized by the KKT system
where is the periodic collocation matrix, is the stiffness matrix (15) built from the periodic B-spline basis, and collects the Lagrange multipliers. The interpolant is obtained by solving this linear system.
More examples
Figure 10 shows additional closed polygonal data sets, reconstructed at degree under centripetal parametrization. Red curves are the interpolants, blue circles and grey dashed segments are the control points and the control polygon, and black points are the data points. The interlacing alternates between Opt-R and Opt-L. The optimized interlacing works well on all of them, and every reconstructed curve is visually pleasing.
Figure 10. Additional test shapes, reconstructed at degree with centripetal parametrization; the interlacing alternates between Opt-R and Opt-L.
References
- [1]Carl de Boor. A Practical Guide to Splines, volume 27. Springer, Berlin, 1978.
- [2]Les Piegl and Wayne Tiller. The NURBS Book. Springer, New York, 1996.
- [3]Hyungjun Park and Kwangsoo Kim. Smooth surface approximation to serial cross-sections. Computer-Aided Design, 28(12):995–1005, 1996.DOI
- [4]Hyungjun Park. Choosing nodes and knots in closed B-spline curve interpolation to point data. Computer-Aided Design, 33(3):967–974, 2001.DOI
- [5]Hyungjun Park. Lofted B-spline surface interpolation by linearly constrained energy minimization. Computer-Aided Design, 35(14):1261–1268, 2003.DOI
- [6]Shutao Tang. Control point reduction for lofted B-spline surface interpolation based on serial closed contours. Computational and Applied Mathematics, 42(2):86, 2023.DOI
- [7]Eugene TY Lee. Choosing nodes in parametric curve interpolation. Computer-Aided Design, 21(6):363–370, 1989.DOI
- [8]Jing-Jing Fang and Chia-Lien Hung. An improved parameterization method for B-spline curve and surface interpolation. Computer-Aided Design, 45(6):1005–1028, 2013.DOI
- [9]Thomas A Foley and Gregory M Nielson. Knot selection for parametric spline interpolation. In Mathematical methods in computer aided geometric design, pages 261–CP4. Elsevier, 1989.
- [10]Choong-Gyoo Lim. A universal parametrization in B-spline curve and surface interpolation. Computer Aided Geometric Design, 16(5):407–422, 1999.DOI
- [11]Hyung-Bae Jung and Kwangsoo Kim. A new parameterisation method for NURBS surface interpolation. The International Journal of Advanced Manufacturing Technology, 16(11):784–790, 2000.DOI
- [12]Habibollah Haron, Abdus Rehman, Dayang IS Adi, Soh P Lim, and Tanzila Saba. Parameterization method on B-spline curve. Mathematical Problems in Engineering, 2012:640472, 2012.DOI
- [13]Cemal Balta, Sinan Ozturk, Melih Kuncan, and Ibrahim Kandilli. Dynamic centripetal parameterization method for B-spline curve interpolation. IEEE Access, 8:589–598, 2020.DOI
- [14]Hui Xu, Gang Zhao, Yang Liu, and Nan Ye. An improved parameterized interpolation method based on modified chord length. Journal of Computing and Information Science in Engineering, 22:1–21, 2022.DOI
- [15]Hui Wang and Fan Zhang. Computing nodes for plane data points by constructing cubic polynomial with constraints. Computer Aided Geometric Design, 111:102308, 2024.DOI
- [16]Pascal Laube, Matthias O Franz, and Georg Umlauf. Deep learning parametrization for B-spline curve approximation. In 2018 International Conference on 3D Vision (3DV), pages 691–699. IEEE, 2018.arxiv.org/abs/1807.08304
- [17]Felix Scholz and Bert Jüttler. Parameterization for polynomial curve approximation via residual deep neural networks. Computer Aided Geometric Design, 85:101977, 2021.DOI
- [18]Tao Song, Tao Shen, Lin Ge, and Jieqing Feng. A hybrid parametrization method for B-spline curve interpolation via supervised learning. Computer Graphics Forum, 43(7):e15240, 2024.
- [19]Shangyi Lin and Jieqing Feng. A parameterization method for B-spline curve interpolation via supervised regression. Computers & Graphics, 132:104360, 2025.
- [20]Wenqiang Tang and Zhouwang Yang. DNN-based parameterization for B-spline curve approximation. Computer-Aided Design, 186–187:103897, 2025.DOI
- [21]Wenqiang Tang, Zhenqian E, and Zhouwang Yang. Neural co-optimization of knots and parameterization for B-spline curve approximation. Computer-Aided Design, 195:104059, 2026.DOI
- [22]Zhaoxuan Zhu, Lihua You, and Jianmin Zhang. A review of point sets parameterization methods for curve fitting. In 2023 27th International Conference Information Visualization (IV), pages 374–377. IEEE, 2023.DOI
- [23]Wen-Ke Wang, Hui Zhang, Hyungjun Park, Jun-Hai Yong, Jean-Claude Paul, and Jia-Guang Sun. Reducing control points in lofted B-spline surface interpolation using common knot vector determination. Computer-Aided Design, 40(10–11):999–1008, 2008.
- [24]Michele Benzi, Gene H Golub, and Jörg Liesen. Numerical solution of saddle point problems. Acta Numerica, 14:1–137, 2005.DOI
- [25]A Koubia, Miguel Pasadas, and Miguel Luis Rodriguez. Optimization of parameters for curve interpolation by cubic splines. Journal of Computational and Applied Mathematics, 235(14):4187–4198, 2011.
- [26]Lakshman S. Thakur. A computable convex programming characterization of optimal interpolatory quadratic splines with free knots. Journal of Mathematical Analysis and Applications, 114(1):278–288, 1986.DOI
- [27]Lakshman S. Thakur and Mikhail A. Bragin. Data interpolation by near-optimal splines with free knots using linear programming. Mathematics, 9(10):1099, 2021.DOI
- [28]Piotr Suchomski. Method of optimal variable-knot spline interpolation in the L₂ discrete norm. International Journal of Systems Science, 22(11):2263–2274, 1991.DOI
- [29]H. Idais, M. Yasin, M. Pasadas, and P. González. Optimal knots allocation in the cubic and bicubic spline interpolation problems. Mathematics and Computers in Simulation, 164:131–145, 2019.DOI
- [30]Jingyu Zhang, Qiuyang Song, Pengbo Bo, Jianrui Ding, and Caiming Zhang. B-spline curve interpolation to ordered points through shape quality optimization. Computer-Aided Design, 189:103942, 2025.DOI
- [31]Liangchen Hu and Wensheng Zhang. NSGA-II approach for proper choice of nodes and knots in B-spline curve interpolation. Computer-Aided Design, 127:102885, 2020.DOI
- [32]Larry L. Schumaker. Spline Functions: Basic Theory. Cambridge University Press, 3rd edition, 2007.
- [33]Shutao Tang. Optimal lofted B-spline surface interpolation based on serial closed contours, 2022. arXiv preprint arXiv:2202.06330, https://arxiv.org/abs/2202.06330.
- [34]Guido Brunnett and Johannes Kiefer. Interpolation with minimal-energy splines. Computer-Aided Design, 26(2): 137–144, 1994.DOI
- [35]Tzvetomir Ivanov Vassilev. Fair interpolation and approximation of B-splines by energy minimization and points insertion. Computer-Aided Design, 28(9):753–760, 1996.DOI
- [36]Patricia Moore and Derek Molloy. Efficient energy evaluations for active B-spline/NURBS surfaces. Computer-Aided Design, 47:12–31, 2014.
- [37]Jorge Nocedal and Stephen J. Wright. Numerical Optimization. Springer, New York, 2 edition, 2006.







