Abstract
The construction of smooth spatial paths with Pythagorean-hodograph (PH) quintic splines is proposed. To facilitate real-time computations, an efficient local data stream interpolation algorithm is introduced to successively construct each spline segment as a quintic PH biarc interpolating second- and first-order Hermite data at the initial and final end-point, respectively. A C2 smooth connection between successive spline segments is obtained by taking the locally required second-order derivative information from the previous segment. Consequently, the data stream spline interpolant is globally C2 continuous and can be constructed for arbitrary C1 Hermite data configurations. A simple and effective selection of the free parameters that arise in the local interpolation problem is proposed. The developed theoretical analysis proves its fourth approximation order while a selection of numerical examples confirms the same accuracy for the spline extension of the scheme. In addition, the performances of the method are also validated by considering its application to point stream interpolation with automatically generated first-order derivative information.
Similar content being viewed by others
References
Albrecht, G., Beccari, C., Romani, L.: Spatial Pythagorean-hodograph B-spline curves and 3D point data interpolation. Comput. Aided Geom. Des. 80, 101868 (2020)
Bastl, B., Bizzarri, M., Krajnc, M., Lavicka, M., Siaba, K., Sir, Z., Vitrih, V., Zagar, E.: C1 Hermite interpolation with spatial Pythagorean–hodograph cubic biarcs. J. Comput. Appl. Math. 257, 65–78 (2014)
Bastl, B., Bizzarri, M., Ferjancic, K., Kovac, B., Krajnc, M., Lavicka, M., Michalkova, K., Sir, Z., Zagar, E.: C2 Hermite interpolation by Pythagorean–hodograph quintic triarcs. Comput. Aided Geom. Des. 31, 412–426 (2014)
Debski, R.: Real–time interpolation of streaming data. Comput. Sci. 21(4), 515–534 (2020)
Debski, R.: Streaming Hermite interpolation using cubic splinelets. Comput. Aided. Geom. D. 88, 102011 (2021)
Farouki, R.T.: Pythagorean–Hodograph Curves: Algebra and Geometry Inseparable. Springer, Berlin (2008)
Farouki, R.T., al–Kandari, M., Sakkalis, T.: Hermite interpolation by rotation–invariant spatial Pythagorean–hodograph curves. Adv. Comp. Math. 17, 369–383 (2002)
Farouki, R.T., Giannelli, C., Manni, C., Sestini, A.: Identification of spatial PH quintic Hermite interpolants with near–optimal shape measures. Comput. Aided Geom. Des. 25, 274–297 (2008)
Farouki, R.T., Giannelli, C., Sestini, A.: New developments in theory, algorithms and applications for Pythagorean–hodograph curves. In: Giannelli, C, Speleers, H. (eds.) Advanced Methods for Geometric Modeling and Numerical Simulation, pp 127–177. Springer INdAM Series (2019)
Farouki, R.T., Manni, C., Sampoli, M.L., Sestini, A.: Shape–preserving interpolation of spatial data by Pythagorean–hodograph quintic spline curves. IMA J. Numer. Anal. 35, 478–498 (2015)
Farouki, R.T., Manni, C., Pelosi, F., Sampoli, M.L.: Design of C2 spatial pythagorean-hodograph quintic spline curves by control polygons. Lect. Notes Comput. Sci. 6920(2011), 253–269 (2011)
Farouki, R.T., Manni, C., Sestini, A.: Spatial C2 PH quintic splines, in curve and surface design: Saint-Malo 2002. In: Lyche, T., Mazure, M.L., Schumaker, L.L. (eds.) , pp 147–156. Nashboro press, Brentwood (2003)
Giannelli, C., Mugnaini, D., Sestini, A.: Path planning with obstacle avoidance by G1 PH quintic splines. Comput. Aided Des. 75–76, 47–60 (2016)
Han, C.Y.: Geometric Hermite interpolation by monotone helical quintics. Comput. Aided Geom Des. 27, 713–719 (2010)
Han, C.Y., Moon, H.P., Kwon, S.-H.: A new selection scheme for spatial Pythagorean hodograph quintic Hermite interpolants. Comput. Aided Geom. Des. 78, 101827 (2020)
Jüttler, B., Mäurer, C.: Cubic Pythagorean hodograph spline curves and applications to sweep surface modelling. Comput. Aided Des. 31, 73–83 (1999)
Knez, M., Sampoli, M.L.: Geometric interpolation of ER frames with G2 Pythagorean-hodograph curves of degree 7. Comput. Aided Geom. Des. 88, 102001 (2021)
Kwon, S.-H.: Solvability of G1 Hermite interpolation by spatial Pythagorean-hodograph cubics and its selection scheme. Comput. Aided Geom. Des. 27, 138–149 (2010)
Pelosi, F., Farouki, R.T., Manni, C., Sestini, A.: Geometric Hermite interpolation by spatial Pythagorean-hodograph cubics. Adv. Comp. Math. 22, 325–352 (2005)
Sestini, A., Ferjancic, K., Manni, C., Sampoli, M.L.: A fully data-dependent criterion for free angles selection in spatial PH cubic biarc Hermite interpolation. Comput. Aided Geom. Des. 31, 398–411 (2014)
Sestini, A., Landolfi, L., Manni, C.: On the approximation order of a space data-dependent PH quintic Hermite interpolation scheme. Comput. Aided Geom Des. 30, 148–158 (2013)
Šir, Z., Jüttler, B.: C2 Hermite interpolation by Pythagorean hodograph space curves. Math. Comp. 76, 1373–1391 (2007)
Acknowledgements
The authors are members of the INdAM Research group GNCS. The INdAM support through GNCS and Finanziamenti Premiali SUNRISE is gratefully acknowledged.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Additional information
Communicated by: Tomas Sauer
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix
Appendix
In this appendix, we recall the basic rules of the noncommutative quaternion algebra \(\mathrm{I}\mskip -4.0 mu \text{H}\mskip -4.0 mu \text{I}\), used in the paper. Each quaternion \(\mathcal {Q} \in \mathrm{I}\mskip -4.0 mu \text{H}\mskip -4.0 mu \text{I}\) can be defined as (q0,q1,q2,q3)T, with qi \(\in\mathrm{I}\mskip -3.0 mu \text{R}\), and with q0 and \(\mathbf {q}\ :=\) (q1,q2,q3)T respectively referred to as scalar and vector part of the quaternion \(\mathcal {Q}\). With this notation, a short scalar/vector representation can also be adopted \(\mathcal {Q} = q_{0} + \textbf q ,\) where, if \(q_{0} = 0 , \mathcal {Q}\) is named a pure vector quaternion and can be shortly denoted just as \(\mathbf {q}\). Conversely, when \(\mathbf {q}\) vanishes, \(\mathcal {Q}\) is a pure scalar quaternion and can just be denoted as any real number. The sum in \(\mathrm{I}\mskip -4.0 mu \text{H}\mskip -4.0 mu \text{I}\) is the standard sum in \(\mathbb{R}^4\) but the quaternion product has a specific noncommutative definition that can be compactly defined as
where standard notation to denote scalar and cross vector products is used. Denoting with \(\mathcal {Q}^{*} := q_{0} - \mathbf q\) the conjugate of \(\mathcal {Q},\) the product \(\mathcal {Q}\mathcal {Q}^{*} = \mathcal {Q}^{*}\mathcal {Q} ={q_{0}^{2}} + \textbf {q}^{T}\textbf {q}\) is just a nonnegative pure scalar quaternion, while, for any pure vector v, the product \(\mathcal {Q} \textbf {v} \mathcal {Q}^{*}\) remains a pure vector quaternion. The module \(\vert \mathcal {Q} \vert\) of a quaternion is defined as \(\vert \mathcal {Q} \vert := \sqrt {\mathcal {Q}\mathcal {Q}^{*}}\) and \(\mathcal {Q}\) is a unit quaternion if \(\vert \mathcal {Q} \vert = 1\). Unit quaternions allow a compact representation of spatial rotations. For any pure vector quaternion v and unit quaternion \(\mathcal {Q} = \cos \limits ({\theta }/{2}) + \textbf {w} \sin \limits ({\theta }/{2})\), the product \(\mathcal {Q} \textbf {v} \mathcal {Q}^{*}\) always defines the vector obtained by rotating v through the angle 𝜃 about the axis defined by w.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Giannelli, C., Sacco, L. & Sestini, A. Interpolation of 3D data streams with C2 PH quintic splines. Adv Comput Math 48, 61 (2022). https://doi.org/10.1007/s10444-022-09976-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10444-022-09976-w