Optimal interpolation with spatial rational Pythagorean hodograph curves
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1016/j.amc.2023.128214
- 저널
- Applied Mathematics and Computation
- 발행년도
- 2023
- 발행기관
- Elsevier BV
- 피인용수
- 3
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.amc.2023.128214
- 토픽
- Tribology and Lubrication Engineering
- OpenAlex ID
- W4384436307
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 84,178자
본문 펼치기
섹션 본문 142문단 · 43,310자
(제목 없음)
1Using a residuum approach, we provide a complete description of the space of the rational spatial curves of given tangent directions. The rational Pythagorean hodograph curves are obtained as a special case when the norm of the direction field is a perfect square. The basis for the curve space is given explicitly. Consequently a number of interpolation problems (G 1 , C 1 , C 2 , C 1 /G 2 ) in this space become linear, cusp avoidance can be encoded by linear inequalities, and optimization problems like minimal energy or optimal length are quadratic and can be solved efficiently via quadratic programming. We outline the interpolation/optimization strategy and demonstrate it on several examples.
Introduction
2Pythagorean hodograph (PH) curves (see [1] and the references cited therein), form a remarkable subclass of polynomial parametric curves. They have a piecewise polynomial arc length function and, in the planar case, rational offset curves. These curves provide an elegant solution of various difficult problems occurring in applications, in particular in the context of CNC (computer-numerical-control), see e.g. [2].
3Spatial PH curves were introduced by Farouki and Sakkalis in 1994 [3], and they have later been characterized using results about Pythagorean quadruples in the ring of polynomials and quaternion calculus [4][5][6]. Spatial PH curves can be equipped with rational frames, which, in certain cases, are rotation minimizing [7].
4Due to the constrained nature of PH curves, constructions which are linear in the case of polynomial curves typically become nonlinear in the PH case and produce infinitely many solutions in the spatial case. Despite this fact various constructions were given in past publications. Hermite interpolation of G 1 boundary data was addressed in [8], and C 1 Hermite interpolation by PH quintics was discussed in [9]. In the latter case, the authors identify a family of interpolants to any C 1 Hermite data which depends on two free parameters, and a heuristic choice for them is given. Later, this construction has also been related to helical interpolants [10]. Methods for choosing an optimal interpolant were presented e.g. in [11][12][13]. The C 2 interpolation problem was solved by PH curves of degree 9 in [14] and by quintic splines in [15,16].
5Rational spatial PH curves were first investigated in [17] where they were described as edges of regression of developable surfaces enveloped by special system of tangent planes. The dual approach was continued in series of papers [18][19][20] where the authors study low degree and low class curves. The theory of rotation minimizing frames was transferred from polynomial to rational spatial curves in [21].
6In these publications on rational PH curves various interpolation problems are mentioned, see e.g. [20,21]. There, the interpolation problems present both linear (due to the envelope formula) and non-linear aspects (due to the PH nature of the curves). It is one of the aims of this paper to stress the linear aspect of PH interpolation problems. This is possible because all rational curves with a common tangent field form a linear space. Representations used so far did not really allow exploit this linearity to solve the interpolation and approximation problems efficiently. The dual representation is linear but does not provide an efficient control over subspaces, degrees, numerator-denominator cancellations or the occurrence of cusps.
7For this reason in two recent papers [22,23] a new approach was developed to describe a natural basis of the linear space of PH curves with given tangent field. In [22], the theory of rational PH curves was developed from so called framing rational motions. Representing the spherical part of the motion by a polynomial A(t) ∈ H[t] in the ring H[t] of polynomials with quaternion coefficients and fixing the PH curve's denominator its numerator was computed by solving a modestly sized and well-structured system of linear equations. As a main result the understanding of truly rational solutions within generically polynomial ones was obtained. In [23] the complete structure of the solution spaces was obtained for the generic case.
8In the present paper we extend the previous ideas to a residuum based approach, cf. [24]. Basically, rational PH curves are obtained by integrating expressions of type λ(t)F(t) where λ(t) is a rational function and F(t) = A(t)iA * (t) ∈ H[t] is the typical vector valued polynomial that is also used for the construction of polynomial PH curves, [1]. It is given in terms of a quaternion polynomial A(t) ∈ H[t], its quaternion conjugate A * (t), and the quaternion unit i with the property i 2 = −1. The basic idea is to impose conditions on λ(t) that ensure zero residua in the Laurent expansions at any root β ∈ C of the denominator of λ(t). This guarantees rational integrands and generalizes a well-known construction of polynomial PH curves to the rational case.
9In Sections 2 and 3 we explain these ideas in detail and obtain a general and complete construction for rational PH curves. We also provide an explicit description of the basis for spaces of PH curves of given direction field. Consequently we obtain a tool to solve efficiently various interpolation and optimization problems. It is described in Section 4. In Section 5 we discuss several examples.
Curves with Given Tangent Indicatrix
10We are now going to solve the following problem: Given a rational vector valued quaternion polynomial F(t) ∈ H[t] (which we identify with a vector valued polynomial in R 3 [t]), determine the vector space R of all the spatial rational curves r(t) having F(t) for its tangent field, i.e. satisfying
11In [17,18,[21][22][23] this problem was studied for F(t) := A(t)iA * (t). In particular in [23] extensive results were obtained for generic cases. The method we propose here is more general and straightforward. It works for arbitrary F(t), gives explicit insight into the structure of R, and handles both, generic and non-generic cases.
12As already explained in [22,23], it is no loss of generality to assume that the field F(t) is polynomial and without real polynomial factors. Indeed, multiplying any given rational field by the common denominator and factoring out any common factor of the numerator does not influence condition (1) and therefore the space R will remain the same.
13We will assume in the remainder of this text that F(t) is a truly spatial 1 polynomial field of degree n without polynomial factors. Consequently for any β ∈ C we have the expansion
14with f n = 0 and Span{f 0 , f 1 , . . . , f n } = R 3 . The coefficient f 0 cannot vanish as (t − β) is not a factor of F(t) by assumption. At first sight the proposed problem seems to be easy. Any rational r(t) satisfying (1) and therefore tangent to F(t) can be expressed in the form
15where λ(t) ∈ R(t) is a rational function and c ∈ R 3 . Because of r (t) = λ(t)F(t), the rational function λ(t) accounts for the differences in parametric speed among all rational curves with tangent field parallel to F(t). We therefore refer to it as the speed function (even if it is not the speed function known from differential geometry). The issue with formula (3) is due to the fact that not all λ(t) provide rational curves as integration may produce irrational functions (logarithms and arctangents). This lead to alternative approaches, namely the dual (envelope based) approach of [17,18,21] and the kinematics based approach of [22,23].
16Nonetheless, the functions λ(t) providing rational curves form a linear subspace L ⊂ R(t) of rational functions. There is a simple way to interpret formula (3) as a bijective linear mapping from the Cartesian product of L and R 3 onto the vector space R that is L × R 3 → R, (λ(t), c) → r(t). 2 In order to determine the rational functions λ(t) ∈ L let us consider Lemma 2.1 (Partial fraction decomposition for rational functions). If λ(t) ∈ R(t) is a rational function whose denominator in reduced form can be written as
17It will become clear in the remainder of this article why we prefer a formulation of this well-known result (see e.g. [25]) in terms of the complex zeros β i and hence likewise complex coefficients λ i,j . Suitably combining pairs of conjugate complex summands will result in the real partial fraction decomposition.
18Combining (2) and (4) we see that only coefficients λ i,j with (−n − 1) ≤ j ≤ −1 influence the residua with respect to β i of the integrand in (3) and therefore rationality of r(t). This leads us to: Definition 2.2. For given tangent field F(t) ∈ R 3 [t] of degree n, let us define the following linear subspaces of R:
191. The space P containing all polynomial PH curves. Its elements are obtained from (3) for polynomial λ(t) ∈ R[t]. It is of infinite (but countable) dimension and contains the three-dimensional subspace R 3 of constant PH curves. 3 A basis of P is given by taking a basis of R 3 and adding all curves obtained from λ(t) = (t − β) p for p ≥ 0 and some fixed β ∈ R. 2. The one-dimensional space R β,r of regular rational PH curves, spanned by the rational PH curve obtained from (3) for λ(t) = (t − β) r , c = 0, β ∈ C, and r < −n − 1. 3. Spaces of non-regular rational PH curves N β obtained from (3) for
20where c = 0, β ∈ C and λ −n−1 , . . . , λ −1 ∈ C are subject to the zero-residuum constraint λ −1 f 0 + λ −2 f 1 + λ −3 f 2 + · · · + λ −n−1 f n = 0 that ensures rationality of the integral (3).
212 In order to make this a well-defined map, it is necessary to normalize (fix one representative) of the expression λ(t)F(t) dt. One possibility for doing so is to require that F(β) = 0 for some given β ∈ R. Another way is to use the partial fraction decomposition (see infra) and require that all the integrals for individual roots have zero absolute term. 3 In literature on PH curves, these constant curves are often disregarded but in our context it is very natural to consider them as valid solutions to (1). Their presence accounts for the translation invariance of R and P.
22As a direct consequence of Lemma 2.1 and Definition 2.2 we obtain the following description of the full solution space R Theorem 2.3. The space R of rational curves of given polynomial direction field allows the decomposition
23as direct sum of polynomial solutions as well as regular and non-regular solutions.
Spaces of Non-Regular Curves
24The structure (dimension, bases, subspaces) of the space P of polynomial PH curves and the space R β,m of regular rational PH curves is easy to understand. In this section we study the space N β of non-regular rational PH curves in more detail. The non-regular solutions are important not only because they complete the structure of R, but also because they contain the truly rational (non-polynomial) curves of minimal degree [18,23].
25Let us fix a root β ∈ C and denote by L β ⊂ L the linear space of rational functions having at most one singularity t = β. Our detailed analysis in [23] can be interpreted as the study of the image of L β space under the mapping (3), i.e. of the space
26for a fixed β which is generic. Genericity in this context means that any three consecutive coefficients f j−1 , f j , f j+1 in the Taylor expansion (2) of F(t) are linearly independent. Consequently we obtained a good understanding of the subspace N β for the generic cases. Its structure in non-generic situations remained, however, unclear, even if an algorithm for computing a basis for any concrete β was outlined in [23]. With the approach in this paper we are able to describe both the generic and non-generic case in a unified way.
27Proof. For any fixed β ∈ C the space of rational functions of the form (5) has dimension n + 1. With F(t) = n j=0 f j (t − β) j , the zero-residuum condition reads
28This is a homogeneous system of rank 3 (because F(t) is assumed to be spatial) with n + 1 variables. Its solution space is thus of dimension n − 2. This space is injectively mapped onto N β via (3) with c = 0.
29In order to obtain a basis of N β we describe the solution space of (7) and then map it linearly to the curve space. The most natural way is to choose three linearly independent coefficients f i 1 , f i 2 , f i 3 where 0 ≤ i 1 , i 2 , i 3 ≤ n and express the corresponding unknowns
30in terms of the remaining λ i 's which are considered to be free parameters.
31The curve r(t) given by (3) with λ(t) of the form (5) is rational under the zero residuum condition (7) and can then be expressed explicitly in a very symmetrical way as
32. . .
Remark 3.2.
33For fixed F and β the mapping
34There is a good reason to choose the coefficients λ −1 , λ −2 , λ −3 as dependent variables, provided that f 0 , f 1 , f 2 are linearly independent. This way the coefficients λ −n−1 , . . . , λ −5 can be set to 0 ensuring that the lowest curve coefficients r −n , . . . , r −4 vanish. The coefficient λ −4 must be nonzero because otherwise the solution would be trivial. The three coefficients λ −3 , λ −2 , λ −1 are computed linearly from (8). This leads to a rational PH curve with minimal multiplicity of β as zero of the denominator and is the generic case of [22,Theorem 4.6].
35If the coefficients f 0 , f 1 , f 2 are linearly dependent (non-generic case) some other three coefficients must be chosen as dependent. There is a natural strategy how to generally obtain a basis of N β :
36the set of three dependent variables and
37the set of n − 2 free variables. The basis curves are obtained by setting all variables of I to 0 except for one which is set to 1, compute the variables of D from (7) and substitute the values into (8). In order to make this construction canonic, an a-priori rule for selecting the triplet (i 1 , i 2 , i 3 ) is needed. It would be possible to pick the minimal or maximal indices with respect to a lexicographic ordering. In our examples (and in particular in Examples 3.4-3.7 below) we usually have n = deg F(t) = 4 and select (i 1 , i 2 , i 3 ) = (1, 2, 3) as this choice conforms with the constructions of [23].
38We will demonstrate various cases on a series of examples.
Example 3.4. Consider β = 0 and
39for which any three of the coefficients f 0 , f 1 , f 2 , f 3 , f 4 are linearly independent. The space N β has dimension deg F(t) − 2 = 2. A possible basis is (r 1 (t), r 2 (t)) with
40It is obtained from (3) for
41respectively.
42The pattern of non-vanishing Laurent coefficients of r 1 (t) and r 2 (t) at t = β in above example is displayed in Figure 1 (top right) together with the patterns for the corresponding rational functions λ 1 (t) and λ 2 (t) (left) with filled dots. Using non-filled dots, we also display patterns for regular rational solutions and for polynomial solutions. Constant solutions are indicated with crossed dots. Obviously, the indicated PH curves are independent. In [23] it has been shown that they also generate the spaces of regular and of polynomial solutions, respectively. Note that the patterns of non-vanishing Laurent coefficients displayed in Figure 1, top, are not particular for Example 3.4 alone but appear for F(t) of degree four and β such that any three of the coefficients of (2) are independent. We will make use of this observation in Section 5.
43exhibiting the linear dependency of the vectors {f 0 , f 1 , f 2 }. The space N β of non-regular has dimension 2; a basis (r 1 (t), r 2 (t)) is given by
44These basis vectors correspond to λ
45respectively. The structure of the space R β in terms of nonvanishing Laurent series coefficients of λ(t) (left) and r(t) (right) is displayed at Figure 1 (second from top).
46Example 3.6. Consider β = 0 and
47exhibiting the linear dependency of the vectors {f 0 , f 1 }. The space N β has dimension 2. A basis (r 1 (t), r 2 (t)) is given by
48It corresponds to λ 1 (t) = 4t −5 +8t −4 +8t −3 −12t −2 and λ 2 (t) = −12t −2 +12t −1 , respectively. The structure of the space R β is displayed at Figure 1, second from bottom.
49exhibiting the linear dependency of the vectors {f 0 , f 1 } and also of the vectors {f 0 , f 2 , f 3 }.
50Then the space N β has dimension 2. A basis (r 1 (t), r 2 (t)) is given by
51It is noteworthy that this rather special case already appeared in literature [20]. We will encounter it again in Section 5.
An Optimal Interpolation Scheme
52We are now going to present an optimal interpolation scheme for the rational curves constructed in the preceding sections. In doing so, we focus on PH curves as they have received a lot of attention in literature. Rational PH curves can be defined as rational curves with a rational tangent indicatrix. They are subsumed into our approach for the special choice F(t) = A(t)iA * (t) of the vector valued polynomial F(t) ∈ R 3 [t], see [22] for a more detailed explanation. Here, A(t) ∈ H[t] is a polynomial with quaternion coefficients and i is a quaternion unit. Note that A(t)iA * (t) is vectorial so that it can indeed by identified with a vector valued polynomial in
53Our optimal interpolation procedure requires the construction of a vector space Q of rational PH curves ("interpolation space") from which an optimal interpolant is computed. The construction of Q and also the optimization routine is based on our zero-residuum approach developed in Section 2 that, with above choice of F(t), computes rational PH curves by direct integration. In particular, we select the interpolation space Q as subspace of the vector space R of rational PH curves whose tangent directions are given by the fixed polynomial F(t) = A(t)iA * (t). If (q 1 (t), q 2 (t), . . . , q d (t)) is a basis of Q, we may write
54with coefficients 1 , 2 , . . . , d ∈ R that are determined by the following:
55Interpolation constraints: Hermite interpolation constraints in start point r(0) and end-point r(1), respectively, provide linear constraints on 1 , 2 , . . . , d . By design, the selection of F(t), interpolation of derivative data is subject to some limitations. We discuss this in more detail in Section 4.1
56Quadratic functionals: To the linear interpolation constraints we add one (at most) quadratic functional to be satisfied in optimal sense. The standard functional to be minimized is the integral of the squared norm of the derivative vector but -due to the PH property of all curves in Q -also minimal or approximate arc-length is possible, cf. Section 4.2.
57Shape properties: A common and annoying phenomenon in interpolation with curves in dual representation is a tendency for cusps to appear, see e.g. [21,Example 2]. With our approach it is possible to avoid this by adding linear inequalities that ensure the absence of zeros of r (t) in the interpolation interval. A crucial role in this context play the basis vector's respective speed functions λ 1 (t), λ 2 (t), . . . λ d (t), cf. Section 4.3.
58Combining interpolation, optimization of quadratic functional, and shape properties in above sense produces a quadratic program that can be solved efficiently by standard procedures.
59Let us stress an important advantage of our approach. Quadratic optimization will typically result in an interpolant r(t) in numeric form. Since the PH property is inherently of symbolic nature, the numeric (and therefore necessarily approximate) representation might destroy this property and the ability to obtain the rational speed function. But in our case we can still recover the speed function as r (t) = ±λ(t)A(t)A * (t). Also notice that the absence of zeros of λ(t) allows to resolve the sign ambiguity on the interpolation interval.
Interpolation
60Various case of the Hermite interpolation were studied in the context of polynomial Pythagorean hodograph curves, cf. [8-11, 14, 15]. We are concerned with Hermite interpolation in either analytic or geometric sense. In any case, the rational PH curve (9) is supposed to satisfy r(0) = p 0 and r(1) = p 1 where p 0 , p 1 ∈ R 3 are given points. Each of these interpolation conditions imposes three independent constraints on the coefficients
61It is not possible to enforce the interpolation of arbitrary derivative vectors v 0 , v 1 or tangent directions by a proper choice of the coefficients i as the tangent directions are already determined by the choice of F(t) = A(t)iA * (t). For this reason we first construct A(t) so that the tangent directions (and possibly also the osculating planes) are matched. This can be done solving quadratic/linear equations in the domain of quaternions, see e.g. [14]. Comparing to the usual interpolation with polynomial PH curves the requirements put on A(t) are relaxed, because the additional degrees of freedom ρ i can be used in the following way.
Because of
62adjusting the lengths of the derivative vector (C 1 interpolation condition) imposes just one linear constraint for start and end velocity, respectively.
63The second derivative vector of r(t) equals
64Therefore, exact interpolation of acceleration vectors r (0) = a 0 and r (1) = a 1 (in addition to exact interpolation of velocity vectors) is only possible if a 0 lies on the line through λ(0)F (0) and parallel to F(0) and similar for a 1 . In this case, acceleration interpolation imposes one linear constraint each. Combining these observations with the well-known formula
65for the curvature of a parametric space curve [26, Equation (3.7)] we see that r (0) together with F(0) and F (0) fully determines the curvature κ(0). In other words, C 1 interpolation determines curvature as soon as F(t) is fixed.
Quadratic Functionals
66The most common quadratic functionals to be minimized in curve interpolation or approximation problems is likely the curve energy
67It is quadratic in the interpolation variables 0 , 1 , . . . , d . An interesting alternative in certain applications might be the arc-length
68which, by the PH property, is piecewise linear in the interpolation variables. Because we are optimizing over a cusp-free range, r (t) does not change sign on the interval [0, 1], so that sign ambiguity that is implicit in the square root of (11) can be resolved and the optimization target functional is even linear.
69There are some recent attempts of interpolation with (polynomial) PH curves of prescribed length s > 0 [27][28][29]. Assuming that exact and feasible solutions exist in the interpolation space Q, they will be found by minimizing the quadratic functional L s (r) = (L(r) − s) 2
70where L is taken from (11). We refer the reader to Section 5 for examples where each of linear/quadratic functionals (10)-(12) is minimized.
Cusp Avoidance
71Any basis vector q i (t) of Q satisfies q i (t) = λ i (t)F(t) for the rational speed function λ i (t). By linearity of the derivative, (9) yields
72Each of the speed functions λ i (t) can be written in reduced form as λ i (t) = ν i (t)/δ i (t) with polynomials ν i (t) and δ i (t). Set δ(t) := lcm(δ 1 (t), δ 2 (t), . . . , δ d (t)) and denote by µ i (t) the polynomial implicitly defined by λ i (t) = µ i (t)/δ(t). Then the numerator of λ(t) can be computed as
73In order to avoid cusps, we need to avoid zeros of r (t). These are precisely the zeros of µ(t). Hence the relevance of this polynomial. For lack of a better name, we will simply refer to it as the "µ-polynomial of r(t)".
Since the interpolation variables i appear linearly in (13), we do not destroy the quadratic character of our optimization problem by imposing linear or quadratic constraints on the coefficients of µ(t). A straightforward way to avoid zeros of µ(t) on the open interval
74is the j-th Bernstein polynomial of degree m and require all Bernstein coefficients m j to be either non-negative or non-positive, whatever is suggested by a suitable initial solution. This provides linear constraints on the interpolation variables 0 , 1 , . . . , d . We emphasize that these constitute a sufficient but not a necessary condition for non-negativity of µ(t) on (0, 1). It is possible to loosen the constraints a bit by formally elevating the degree of µ(t). However, only a minor effect on optimal solutions is to be expected. This is confirmed in our experiments in the subsequent Section 5.
Examples
75We have so far provided a detailed but rather general description of an optimal interpolation procedure with rational PH curves. Some concrete questions, in particular how to pick a suitable vector space Q and a basis (q 1 (t), q 2 (t), . . . , q d (t)), shall be answered now at hand of examples. In line with our statement in Section 4.1, two of them are taken from literature.
76All computations in this section were carried out on a standard desktop PC using a recent version of Maple™ [30] and its Optimiziation[QPSolve] command for solving quadratic programs.
G 1 and C 1 Interpolation by Slant Helices
77The canonical way of solving G 1 or C 1 interpolation problems using PH curves [8,9,11] requires the solution of an algebraic system of equations. These approaches are well-understood and straightforward, and they produce interpolants of minimal degree. However, in the context of this paper, this minimal degree does not provide a significant advantage as it is lost during quadratic optimization (cf. the example in the next Section). If one is willing to accept sub-optimal curve degrees, it is possible to use our approach in a straightforward manner. This will be described at hand of an example.
78The data to be interpolated in G 1 or C 1 sense is
79In order to solve the G 1 interpolation problem, we start by computing a quaternion polynomial A(t) that satisfies A(0) × p 0 = A(1) × p 1 = 0. Even if restricting ourselves to the case deg A(t) = 1 we obtain a one-parametric solution set from which we select
80The condition deg A(t) = 1 ensures that all curve tangents form a constant angle with some fixed direction. Curves with this property are referred to as "curves of constant slope" or "slant helices" [31]. Hence the name of this section.
81We select an interpolation space Q that is spanned by the three constant solutions q 0 = (1, 0, 0), q 1 = (0, 1, 0), q 2 = (0, 0, 1), one rational solution (14) to β = −1 and the polynomial solutions
82The factor (n + ) in (15) is for normalization purposes only. It ensures that the respective leading coefficients of q +2 (t) and F(t) are equal. By construction, all basis vectors match start and end tangent of our interpolation problem. The polynomial basis vector q 4 (t) satisfies q 4 (0) = p 0 but q 4 (1) = p 1 . Nonetheless, we use it as to initialize the quadratic program. With this choice, the optimization routine with respect to the energy functional (11) succeeds and produces the solution r o (t) displayed in Figure 2.
83In order to solve the C 1 interpolation problem, we enlarge the interpolation space Q by adding further polynomial or rational basis vectors. It is natural to use the optimal solution r o (t) of the G 1 interpolation problem to initialize the quadratic optimization. With this choice, the optimization routine finds a feasible solution only after augmenting the basis of Q by either • five further polynomial solutions of the shape (15) but with ∈ {5, 6, 7, 8} or • two further polynomial solutions of the shape (15) with ∈ {5, 6} and a rational solution similar to (14) but with denominator root β = −2.
84In both cases, it is necessary to elevate the degree of the polynomial µ(t). The respective optimal solutions r 1 (t) and r 2 (t) are displayed in Figure 2 as well. The respective optimal values of the energy functional (11) are comparable:
85E(r o ) = 5.7766, E(r 1 ) = 5.8426, E(r 2 ) = 6.1102.
86As expected, the fewer restrictions of G 1 interpolation allows for a slightly better value. The interpolation approach in this example is very straightforward and easy to use. However, a clear disadvantage is the necessity to come up with a feasible initial point. This can be circumvented if one only wishes to improve upon an already existing solution.
87For the examples to follow, we will take this point of view.
Rational C 1 Interpolation
88A general solution to the C 1 interpolation problem by quintic polynomial PH curves was presented in [9]. The authors of [11] suggest to pick a solution from a two-dimensional variety of solution curve that is optimal in the sense of approximation order. We consider p 5, . . . , 9 10 the interpolation data
89which results in the optimal quintic PH interpolant
90The associated polynomial A(t) is quadratic and reads as
91The degree of the polynomial tangent vector field F(t) := A(t)iA(t) * equals n = 4. We optimize with respect to the curve energy (10) which, for this example, equals E(r) ≈ 17.75.
92Polynomial PH Curves. In a first attempt, we pick the interpolation space Q = P p of polynomial PH curves of degree at most p ≥ n + 1 = 5 to A(t). A basis for this vector space is given by the three constant vectors q 0 = (1, 0, 0), q 1 = (1, 0, 0), q 2 = (1, 0, 0) plus the polynomial PH curves
93The constant basis vectors correspond to the µ-polynomials µ 0 (t) = µ 1 (t) = µ 2 (t) = 0, while we have µ +2 (t) = ( + n)t −1 for 1 ≤ ≤ p − n. The "no-cusp constraint" on
94µ (t) thus simply boils down to the non-negativity of 3 , 4 , . . . , p−n+2 . Since C 1 interpolation in our context imposes eight independent linear constraints, we expect solutions different from (17) for dim Q ≥ 9, that is p ≥ 6 + n = 10.
95Denote the optimal solution to a given value of p by r p (t). Table 1 shows the results of our optimization procedure. As expected, a value of p ≤ 9 just re-produces the original curve r(t). Starting with p = 10, some improvement can be observed. The gain as measured by the energy functional E is rather small in both, absolute and relative terms, and the data suggests that going beyond p = 12 brings hardly any improvement. Figure 3 displays the original solution r(t) and the optimal solution r 12 (t) of curve degree 12. Truly Rational PH Curves. Now lets try a similar approach using mostly truly rational (non-polynomial) PH curves. We pick a value β / ∈ [0, 1], say β = −1, and, for p ≤ −5, we consider the interpolation space Q = R p with basis (q 1 , q 2 , . . . , q 2−p ) where • q 1 = (1, 0, 0), q 2 = (1, 0, 0), q 3 = (1, 0, 0) are the three constant basis vectors,
96• the two curves
97normalized by q 4 (β) = q 5 (β) = F(β), span the space of non-regular solutions (we are in a generic situation, similar to Example 3.4),
98• the curves
99span the space of regular solutions, and
100• q 2−p (t) is the original curve r(t) given in (17).
101We add the polynomial solution q 2−p (t) = r(t) to our interpolation space in order to ensure that our optimal solution really improves on it. It also is a feasible initial solution. Table 2: Dimension of interpolation space Q (truly rational curves mostly), degree of optimal solution r p , and curve energy E(r p ).
102interpolation space is of dimension dim Q = 2 − p. Its elements are PH curves with a Laurent expansion 5 k=p r k (t − β) k at t = β. The µ-polynomials corresponding to this basis are as follows:
103• The constant basis vectors have vanishing µ-polynomials, that is, µ 1 (t) = µ 2 (t) = µ 3 (t) = 0.
104• We have
105by Example 3.4 (cf. also Figure 1, top). Thus, µ 4 (t) = −2 k=−5 λ 4,k (t − β) k+p and µ 5 (t) = −1 k=−4 λ 5,k (t − β) k+p . • We have λ (t) = (t − β) − and therefore µ (t) = (t − β) p− for ∈ {6, 7, . . . , 1 − p}.
106• The µ-polynomial to the polynomial solution q 2−p (t) = r(t) of degree five equals µ 2−p (t) = 1.
107Denote the optimal solution with respect to the curve energy (10) by r p (t). Some results for our optimization for decreasing p (increasing dimension of Q) are displayed in Table 2. We can observe the following:
108• Only for dim Q = 13 we find better solution in terms of the curve energy E(r p ). The improvement is very small.
109• There is a slight increase in curve energy when passing from dimension 14 to dimension 15. This can be explained by the non-convexity of the quadratic program so that only a local minimum is found.
110• For increasing dimension of Q the minimum drops way beyond the minimal value of E(r) that can be achieved with polynomial solutions only. The corresponding solution curves are, however, not visually appealing. This is illustrated in Figure 3 where the optimal solution r −15 (t) of degree 20 is depicted. Its energy is approximately 17.44.
111While the room for improvement with polynomial curves only (Table 1) seems to be rather small, using mostly truly rational curve seems to "over-optimize" so that the curve energy (10) no longer is a good measure for the quality of the interpolant. We therefore try a combination of both approaches.
112Mixed Approach. We unite the presented bases of P p 1 and of R p 2 for p 1 = 13 and p 2 = 9 to obtain a new interpolation space Q. The corresponding solution curve r o (t) is of degree 19 and has curve energy E(r o ) = 17.0448. This is lower than what we obtained using polynomial interpolants only. Moreover, Figure 3 confirms that its visual appearance is good while its degree is comparable to the depicted optimal rational interpolant r −15 (t). These observations essentially also hold true for different combinations of p 1 and p 2 .
113We conclude that in the presented example a mixed polynomial-rational approach seems well-suited for improving a given PH interpolant, provided one is willing to accept a significant raise in the curve degree. This latter drawback does not come as a surprise as our initial curve (17) (and many other examples from literature) are primarily optimized for low curve degree.
114Asymptotic Analysis. We also performed experimental asymptotic analysis for the C 1 interpolation of this example. The data (16) admits a unique cubic polynomial interpolant c(t) that is not PH. We use its Bézier form and de Casteljau's algorithm to subdivide it into polynomial cubic curve segments c n 1 (t), c n 2 (t), . . . , c n 2 n (t). For each curve segment c n (t), we compute a quaternion polynomial A n (t) of degree two according to [11] such that the polynomial PH curves p n (t) := A n (t)iA n * (t) dt + p 0 exhibit optimal approximation order. In particular,
115so that the optimal approximation order equals four. Using the interpolation spaces Q n spanned by 4 k=−3 q −1,k (t + 1) k , 4 k=−3 q 2,k (t − 2) k , q 0 = (1, 0, 0), q 1 = (0, 1, 0), q 2 = (0, 0, 1), and polynomial solutions of respective degrees 5, 6, 7, and 8, we run our algorithm with initial solution p n (t) and the curve energy (10) as optimization target to obtain rational PH curves r n (t). Set
116The graph of the ratio ε n−1 /ε n for an increasing number 2 n of subdivisions is displayed in Figure 4. Convergence to the optimal value 16 can be observed. We thus conjecture that optimizing the curve energy does not decrease the approximation order. Using more data from the cubic curve during the optimization (e.g. end point curvatures, middle point interpolation) would be easy and should result in yet a higher approximation order.
Complex Roots in the Denominator
117In this section, we consider an example taken from [20]. There, a rational G 1 PH interpolant r(t) of class four and degree six is constructed. Once more, it is optimized for low degree so that we cannot expect to be better in that regard but we can improve the curve energy (10). The interpolation problem differs from the example discussed in the previous sections in several aspects: • We improve upon a truly rational and not upon a polynomial solution.
118• The numerator polynomial has two distinct roots β 1 , β 2 which both need to be used in the construction of our interpolation space Q in order to ensure r(t) ∈ Q.
119• The thus constructed interpolation space corresponds to a non-generic situation. This needs to be taken into account when computing bases for the subspaces of non-regular and regular curves in Q.
120• The two roots β 1 and β 2 are conjugate complex so that extra care is required for the construction of a real basis for Q.
121The data to be interpolated is
122The symbolic representation of the interpolant r(t) underlying our computation is available but it is too long to be presented here. A numeric approximation is
123where α = (t − β 1 ) 3 (t − β 2 ) 3 and
124Note the complex unit i which is to be distinguished from the quaternion unit i. The rational PH curve (19) corresponds to
125The polynomial A(t) is likewise available in symbolic form. It turns out that the input data to this example is non-generic. This is not as surprising as it may seem at first sight because the construction in [20] aims for exceptionally low degree of the rational PH interpolant, a property that is related to non-genericity, basically because the constructions of Section 3 might then allow for the exceptional vanishing of further coefficients in Laurent expansions. More precisely, expanding F(t) := A(t)iA(t) * as
126we see that the vectors {f j,0 , f j,1 } are linearly dependent as are the vectors {f j,0 , f j,2 , f j,3 } for j ∈ {1, 2}. This means that we are in a case similar to that of Example 3.7. As usual, our interpolation space Q will contain the constant solutions q 1 = (1, 0, 0), q 2 = (0, 1, 0), q 3 = (0, 0, 1) but we also add the spaces N β 1 , N β 2 of non-regular solutions which are spanned by
127for j ∈ {1, 2}, respectively. We normalize these solutions by s j,−3 = t j,−1 = F(β j ). These bases of N β 1 and N β 2 are complex but the basis vectors come in conjugate complex pairs. Therefore, N β 1 ⊕ N β 2 is also spanned by the real basis vectors q 4 (t) := 1 2 (s 1 (t) + s 2 (t)) = Re(s 1 (t)) = Re(s 2 (t)), q 5 (t) := 1 2i (s 1 (t) − s 2 (t)) = Im(s 1 (t)) = − Im(s 2 (t)), q 6 (t) := 1 2 (t 1 (t) + t 2 (t)) = Re(t 1 (t)) = Re(t 2 (t)), q 7 (t) := 1 2i (t 1 (t) − t 2 (t)) = Im(t 1 (t)) = − Im(t 2 (t)). The real µ-polynomials of these modified basis vectors are obtained from the original µ-polynomials by identical linear combinations. It turns out that the original curve (19) of [20] is contained in R ⊕ N β 1 ⊕ N β 2 so that further basis vectors are not required for obtaining an optimal solution. Nonetheless, we augment the thus obtained collection of basis vectors by 0 ≥ p ≥ 5 further polynomial basis vectors q 8 (t), q 9 (t), . . . , q p+8 (t). This results in interpolation spaces of dim Q = 7 + p. The respective minimizer r p (t) of (10) has degree deg r p (t) = 10 + p.
128Our findings for optimizing with respect to the curve energy (10) for various values of p are illustrated in Table 3 and in Figure 5. The energy of the original curve equals E(r) ≈ 134.10. Using only truly rational solutions (p = 0) hardly results in an improved curve energy but raises the degree to 10. Adding further polynomial basis vectors results in a clear improvement of curve energy and visible changes in shape. Table 3: Dimension of interpolation space Q, degree of optimal solution r p , and curve energy E(r p ). The energy of the original curve is approximately 134.10.
Interpolation with Length Constraints
129In our final example we discuss optimization with respect to the length-related functionals (11) and (12). We start with the polynomial quintic PH curve (20) and consider the G 1 interpolation problem with data
130The curve (20) is depicted in Figure 6. It defines the quaternion polynomial
131In contrast to previous examples, we fix the interpolation space Q and instead vary the functional to be optimized (and also some constraints). The interpolation space we select is of dimension ten. It is spanned by • The three constant solutions q 0 = (1, 0, 0), q 1 = (0, 1, 0), q 2 = (0, 0, 1).
132• Four non-regular rational solutions
133to β 1 = −1 and β 2 = 2, respectively. These rational PH curves are normalized by q 4 (t) = q 5 (t) = F(β 1 ) and q 6 (t) = q 7 (t) = F(β 2 ), respectively. The corresponding µ-polynomials are
134respectively.
135• The three polynomial solutions q 8 (t) = 4 F (t) dt, q 9 (t) = 5 tF (t) dt, q 10 (t) = 6 t 2 F (t) dt with µ-polynomials µ 8 (t) = 4, µ 9 (t) = 5t, and µ 10 (t) = 6t 2 , respectively. The arc-length of the curve r(t) in (20) in the interval [0, 1] equals approximately 2.99. Minimizing the functional (11) over Q, we find a solution curve r 0 (t) of minimal arc-length s 0 ≈ 2.53. Indeed, it is significantly shorter than the original curve r(t) and also differs considerably in shape ( Figure 6). Using (12) we can also set a target arc-length s. The curve r in Figure 6 has arc-length s = 3.5. We observe that the optimization succeeds as long as s ≥ s 0 , possibly because Q contains cuspless interpolating curves of arbitrary arc-length.
136Finally, Figure 6 also illustrates that our non-negativity constraints on the Bernstein coefficients of µ(t) are essential. Minimizing the arc-length while only requiring the Bernstein coefficients to be larger than −100 (we pick some small value in order to avoid an unconstrained optimization problem) results in a solution curve r c (t) of "minimal arc-length" which is clearly invalid as it exhibits a cusp near the start point p 0 . Our implementation computes its "arc length" as 2.26 which is smaller than s 0 . This is the case because our code (on purpose!) does not attempt to correctly resolve the sign when symbolically simplifying r (t) . Actually, the value 2.26 is the difference of arc-lengths between cusp and start and end point, respectively.
Conclusion
137We have presented a new, residuum based approach to rational PH curve. It generalizes the well-known construction of polynomial PH curves by direct integration of the hodograph to the rational case and allows for a systematic construction of spaces of PH curves with parallel tangents. While existing interpolation schemes with PH curves focus on optimal (small) curve degrees, our approach is well-suited for straightforward incorporation of curve energy or arclength constraints. We have suggested several interpolation schemes, some of them new and some of them improving upon existing solutions.
138In doing so we emphasized the role of the function λ(t) in (3) which provides additional degrees of freedom and computational advantages. In many applications, a polynomial λ(t) might be sufficient but rationality has undoubtedly benefits as well. We have in mind PH curves with circularity properties (for example circular projections) which can never be polynomial. Unlike polynomial curves, rational curves can also model bounded closed paths which are useful in kinematics and computer graphics. Our approach with its good control over zeros of the denominator polynomials might be well-suited for designing such curves. In the past, polynomial PH curves have been used for the construction of rational pipe surfaces [11]. Rational curves can equally well be used as spine curve, thus simply increasing the space of available surfaces. Since the resulting pipe surfaces are rational anyway, polynomiality of the spine curve feels like an unnecessary restriction.
139We would like to emphasize that our results can be extended in several ways:
140• The computations of Section 2 generalize to an ambient space of arbitrary dimension. All we have to do is replace the "magic number" three with the dimension N of this space. If Span{f 0 , f 1 , . . . , f n } = R N , then the dimension of dim N β = (n + 1) − N (cf. Lemma 3.1). Assuming N > 3, a canonical basis of N β will, for fixed n, contain fewer elements (cf. Remark 3.3). In particular, it will generically be empty unless the numerator polynomials contains roots of multiplicity at least N .
141• In this paper we constructed the tangent field F(t) as F(t) = A(t)iA * (t) so that resulting curve is PH. However, the PH property is actually not used at all in the ensuing computations. We can equally well compute Minkowski PH curves [32] or any class of rational curves with special properties of the tangent field.
142In the future, we plan to use similar method to describe the subspace of R containing the curves with the rational are length function. Since the tangent vector fields F(t) encodes surprisingly many properties of the corresponding PH curves, for example rationality of rotation minimizing frames [21], it seems natural to solve related interpolation and approximation tasks using methods explained in this article. Finally, generalizations to rational surfaces with a Pythagorean normal field are conceivable as well but more difficult due to the absence of an advantageous partial fraction decomposition.
참고문헌 29건
- (제목 없음) Advances in Computational Mathematics · Springer Science+Business Media · 2002 10.1023/a:1015294029079
- Pythagorean-Hodograph Curves: Algebra and Geometry Inseparable Geometry and computing · Springer Nature · 2008 10.1007/978-3-540-73398-0
- Differential geometry of curves and surfaces Choice Reviews Online · Association of College and Research Libraries · 2011 10.5860/choice.48-3330
- C2 interpolation of spatial data subject to arc-length constraints using Pythagorean–hodograph quintic splines Graphical Models · Elsevier BV · 2013 10.1016/j.gmod.2013.10.005
- Rational Pythagorean-hodograph space curves Computer Aided Geometric Design · Elsevier BV · 2011 10.1016/j.cagd.2011.01.002
- Minkowski Pythagorean hodographs Computer Aided Geometric Design · Elsevier BV · 1999 10.1016/s0167-8396(99)00016-3
- Dual representation of spatial rational Pythagorean-hodograph curves Computer Aided Geometric Design · Elsevier BV · 2013 10.1016/j.cagd.2013.12.001
- Structural invariance of spatial Pythagorean hodographs Computer Aided Geometric Design · Elsevier BV · 2002 10.1016/s0167-8396(02)00123-1
- Pythagorean-hodograph space curves Advances in Computational Mathematics · Springer Science+Business Media · 1994 10.1007/bf02519035
- Characterization and construction of helical polynomial space curves Journal of Computational and Applied Mathematics · Elsevier BV · 2003 10.1016/j.cam.2003.08.030
- Cubic Pythagorean hodograph spline curves and applications to sweep surface modeling Computer-Aided Design · Elsevier BV · 1999 10.1016/s0010-4485(98)00081-5
- $C^2$ Hermite interpolation by Pythagorean Hodograph space curves Mathematics of Computation · American Mathematical Society · 2007 10.1090/s0025-5718-07-01925-4
- An algebraic approach to curves and surfaces on the sphere and on other quadrics Computer Aided Geometric Design · Elsevier BV · 1993 10.1016/0167-8396(93)90037-4
- General helices and a theorem of Lancret Proceedings of the American Mathematical Society · American Mathematical Society · 1997 10.1090/s0002-9939-97-03692-7
- G 1 interpolation by rational cubic PH curves in<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si1.gif" overflow="scroll"><mml:msup><mml:mrow><mml:mi mathvariant="double-struck">R</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup></mml:math> Computer Aided Geometric Design · Elsevier BV · 2016 10.1016/j.cagd.2015.12.005
- (제목 없음) Advances in Computational Mathematics · Springer Science+Business Media · 2002 10.1023/a:1016280811626
- Construction of G 1 planar Hermite interpolants with prescribed arc lengths Computer Aided Geometric Design · Elsevier BV · 2016 10.1016/j.cagd.2016.05.003
- 1 Functions of a Complex Variable 2014 10.2478/9783110409475.1
- Interpolation with spatial rational Pythagorean-hodograph curves of class 4 Computer Aided Geometric Design · Elsevier BV · 2017 10.1016/j.cagd.2017.07.001
- Construction of rational curves with rational arc lengths by direct integration Computer Aided Geometric Design · Elsevier BV · 2019 10.1016/j.cagd.2019.101773
- A new selection scheme for spatial Pythagorean hodograph quintic Hermite interpolants Computer Aided Geometric Design · Elsevier BV · 2020 10.1016/j.cagd.2020.101827
- Mapping rational rotation-minimizing frames from polynomial curves on to rational curves Computer Aided Geometric Design · Elsevier BV · 2020 10.1016/j.cagd.2020.101833
- Singular cases of planar and spatial C1 Hermite interpolation problems based on quintic Pythagorean-hodograph curves Computer Aided Geometric Design · Elsevier BV · 2020 10.1016/j.cagd.2020.101930
- Rational framing motions and spatial rational Pythagorean hodograph curves Computer Aided Geometric Design · Elsevier BV · 2022 10.1016/j.cagd.2022.102160
- Advanced Methods for Geometric Modeling and Numerical Simulation Springer INdAM series · Springer International Publishing · 2019 10.1007/978-3-030-27331-6
- Interpolation of 3D data streams with C2 PH quintic splines Advances in Computational Mathematics · Springer Science+Business Media · 2022 10.1007/s10444-022-09976-w
- Mathematics of Surfaces XI Kybernetes · Emerald Publishing Limited · 2005 10.1108/k.2005.06734fac.005
- Construction of $G^2$ planar Hermite interpolants with prescribed arc lengths arXiv (Cornell University) · Cornell University · 2022 10.48550/arxiv.2202.11371
- Arc length preserving <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline" id="d1e474" altimg="si477.svg"><mml:msup><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math> Hermite interpolation of circular arcs Journal of Computational and Applied Mathematics · Elsevier BV · 2022 10.1016/j.cam.2022.115008