Gauss–Lobatto polygon of Pythagorean hodograph curves☆
Introduction
Pythagorean hodograph (PH) curves are special type of polynomial curves characterized by the polynomial speed function (Farouki, 2008; Farouki and Sakkalis, 1990, Farouki and Sakkalis, 1994). The polynomial speed functions furnish the PH curves with many nice properties such as exact arc length evaluation, rational offset curves, rational unit tangent vectors. To utilize these properties, many algorithms for PH curve construction on various conditions have been developed (Choi et al., 2008; Choi and Kwon, 2008; Farouki et al., 2002, Farouki et al., 2008; Farouki and Neff, 1995; Huard et al., 2014; Jüttler, 2001; Moon et al., 2001; Šír and Jüttler, 2007). Especially, the PH curve construction problems under the arc length constraint have been addressed recently (Farouki, 2016, Farouki, 2019). For most cases, there are multiple instances of PH curves that satisfy the given data, and the construction algorithms usually involve the selection scheme of the optimal solution. This phenomenon is originated from the nonlinear nature of PH curves. The nonlinearity of PH curves is identified as a sort of squaring map of complex or quaternion polynomials for planar (Farouki, 1994) or spatial (Choi et al., 2002) PH curves, respectively. This representation can be unified by using the Clifford algebra (Choi et al., 2002).
Since the set of all PH curves is a nonlinear subset of the linear space of polynomial curves, which can be expressed as Bézier curves, PH curves are much more restrictive than polynomial curves. Any small perturbation of a PH curve can easily lose the PH property. As noted in Farouki et al. (2016), if any Bézier control points of a PH curve are changed freely, then it is not a PH curve anymore. In fact, the identification of PH curves from the Bézier polygons is not a trivial task (Farouki et al., 2015). So the Bézier control polygon is not a good representative of a PH curve.
As an alternative to the Bézier polygon, the Gauss–Legendre polygon was recently introduced (Kim and Moon, 2019, Kim and Moon, 2017) as the representative of PH curves. The Gauss–Legendre polygon of a PH curve consists of the edges obtained by evaluating the hodograph at the Gauss–Legendre nodes. Since the Gauss–Legendre quadrature with the given number of nodes provides the exact integral of polynomials of the maximal degree, the Gauss–Legendre polygon with enough number of edges compared to the degree of the PH curve has nice properties such as the end point interpolation property and the rectifying property. The rectifying property means that the length of the Gauss–Legendre polygon is the same as the arc length of the corresponding PH curve.
A rectifying polygon of a PH curve is called a rectifying control polygon if it has the same degree of freedom as the PH curve. For a planar PH curve of degree , the Gauss–Legendre polygon of edges becomes a rectifying control polygon. But the Gauss–Legendre polygon cannot uniquely identify a PH curve. There are PH curves that share the same Gauss–Legendre polygon (Kim and Moon, 2017). The situation is more complicated for spatial PH curves. Not all the spatial PH curves allow the rectifying control polygon because of the restriction on the degree of freedom. When the spatial PH curve is of degree , its Gauss–Legendre polygon with edges becomes the rectifying control polygon (Kim and Moon, 2019). Thus the first nontrivial case is the Gauss–Legendre polygon with 5 edges of the spatial septic PH curve. The computation of the spatial septic PH curves with the given Gauss–Legendre polygon involves a complicated nonlinear system of equations. An algorithm dealing with this problem was presented in Kim and Moon (2019). This algorithm can then be used for the development of the deformation method of spatial septic PH curves.
Although the Gauss–Legendre polygon as the rectifying control polygon is a nice representative of PH curves, a clear drawback of the Gauss–Legendre polygon is that it does not determine the end tangent vectors. Multiple instances of PH curves with the same Gauss–Legendre polygon may have different end tangent vectors. This is because all the nodes of the Gauss–Legendre quadratures are the interior ones. In this paper, we introduce the Gauss–Lobatto polygon, which naturally has the end tangent representation.
The Gauss–Lobatto quadrature uses the end points of the domain of definition as the predetermined nodes. The Gauss–Lobatto polygon is defined by the polygon consisting of the edges obtained by evaluating the hodograph at the Gauss–Lobatto nodes and scaling them with the corresponding weights. Thus the end edges of the Gauss–Lobatto polygon determine the curve tangents at the end points of the PH curve. The Gauss–Lobatto polygon with adequate number of edges becomes the rectifying polygon. To be precise, for either planar or spatial PH curve of degree , Gauss–Lobatto polygon with the edges more than is a rectifying polygon.
The condition for the Gauss–Lobatto polygon to be a rectifying control polygon is more restrictive than for the Gauss–Legendre polygon. Unfortunately, the Gauss–Lobatto polygon of planar PH curves are not the rectifying control polygon in general. There is a positive result for spatial PH curves though. We will show that the Gauss–Lobatto polygon with m edges of the spatial PH curve of degree is the rectifying control polygon if and for some natural number k. The first nontrivial case is again the Gauss–Lobatto polygon with 5 edges of the spatial septic PH curve.
Our goal in this paper is the development of the algorithm to change the shape of a spatial septic PH curve smoothly according to the user's design purpose. One may try to address this problem by using either its Bézier control polygon or the quaternion polynomial that generates the hodograph as . However, neither of these are appropriate tools for this task. Suppose, for instance, that we want to change the shape of the PH curve while keeping its end points fixed. When we use the Bézier control polygon, it is easy to maintain the end points fixed, but any tiny changes of the intermediate Bézier control points result in the loss of the PH property. On the other hand, if we use the quaternion preimage, it is easy to maintaining the PH property, but any changes of the quaternion coefficients of alter the displacement vector between the two end points. The Gauss–Legendre polygons can be used for this purpose. By changing the points of the Gauss–Legendre polygon, we can easily control the shape of the curve while maintaining the PH property. However, it is not easy to control the end tangent of the PH curve with its Gauss–Legendre polygon. So we address the problem of the deformation of spatial septic PH curves by using the Gauss–Lobatto polygon.
The rest of the paper is organized as follows. In Section 2, we summarize the fundamental properties of both planar and spatial PH curves, and their complex and quaternion representation. We also review the previous work on the Gauss–Legendre polygon. Section 3 is devoted to the definition and the analysis of the Gauss–Lobatto polygon. We also discuss the method to compute the spatial septic PH curve with the given Gauss–Lobatto polygon of 5 edges. This method is summarized as the algorithm. In Section 4, we present the deformation of spatial septic PH curves for the moving Gauss–Lobatto polygon. Finally, the closing remark will be given in Section 5.
Section snippets
Preliminaries and previous works
A planar polynomial curve is called a Pythagorean hodograph (PH) curve (Farouki and Sakkalis, 1990) if and only if its hodograph satisfies the Pythagorean condition for some polynomial . When we deal with planar geometry, it is convenient to use the complex numbers by identifying with . It is well known that a planar PH curve can be constructed from a complex valued polynomial by integrating
Definition and basic properties
A drawback of the Gauss–Legendre polygon of PH curves is the lack of the end tangent representation. For the Bézier curve of degree n with the Bézier control points , the end tangent vectors can be expressed as Thus the end tangent vectors can be easily obtained by scaling the end edges of the Bézier control polygon. Whereas the end edges of the Gauss–Legendre polygon are related to the tangent vectors of the PH
Necessary conditions for the solvability
The complete characterization of the polygons with respect to the number of corresponding septic PH curves seems to be a complicated problem due to the nonlinear nature. We here present a few necessary condition for the existence of the septic PH curves. Since these necessary conditions are almost identical to the necessary conditions for the Gauss–Legendre polygon in Kim and Moon (2019), we states only the results without the proof. We can split Equation (7) into the system of two
Deformation of spatial septic PH curves
We now address the deformation for spatial septic PH curves. Let be the spatial septic PH curve defined by the cubic quaternion polynomial as its preimage. We first find the Gauss–Lobatto polygon . In order to change the shape of , we modify this polygon to , then compute the septic PH curves whose Gauss–Lobatto polygon is . This computation can be performed by the Algorithm 1 to solve the nonlinear system of equations therein. This system of
Closure
The Gauss–Legendre polygon (Kim and Moon, 2019, Kim and Moon, 2017) can be used as the rectifying control polygon for planar and spatial PH curves. A crucial limitation of the Gauss–Legendre polygon is the lack of the end tangent representation. We introduced the Gauss–Lobatto polygon, which has the end tangent interpolation property by nature, as an alternative. We computed the number of edges of the Gauss–Lobatto polygons to be the rectifying or the rectifying control polygon of the planar or
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.
References (25)
- et al.
Topological criterion for selection of quintic Pythagorean-hodograph Hermite interpolants
Comput. Aided Geom. Des.
(2008) - et al.
Absolute hodograph winding number and planar PH quintic splines
Comput. Aided Geom. Des.
(2008) The conformal map of the hodograph plane
Comput. Aided Geom. Des.
(1994)Construction of planar Hermite interpolants with prescribed arc lengths
Comput. Aided Geom. Des.
(2016)Existence of Pythagorean-hodograph quintic interpolants to spatial Hermite data with prescribed arc lengths
J. Symb. Comput.
(2019)- et al.
Identification of spatial PH quintic Hermite interpolants with near-optimal shape measures
Comput. Aided Geom. Des.
(2008) - et al.
Identification and “reverse engineering” of Pythagorean-hodograph curves
Comput. Aided Geom. Des.
(2015) - et al.
interpolation of spatial data subject to arc-length constraints using Pythagorean–hodograph quintic splines
Graph. Models
(2014) - et al.
Rectifying control polygon for planar Pythagorean hodograph curves
Comput. Aided Geom. Des.
(2017) - et al.
Deformation of spatial septic Pythagorean hodograph curves using Gauss–Legendre polygon
Comput. Aided Geom. Des.
(2019)
A fast and accurate algorithm for solving Bernstein-Vandermonde linear systems
Linear Algebra Appl.
Construction and shape analysis of PH quintic Hermite interpolants
Comput. Aided Geom. Des.
Cited by (0)
- ☆
Editor: Lucia Romani.