Identifying Pythagorean-Hodograph Curves Closest to Prescribed Planar Bézier Curves
Published Web Locationhttps://doi.org/10.1016/j.cad.2022.103266
The problem of identifying the planar Pythagorean-hodograph curve that is “closest” to a given Bézier curve, and has the same end points (or end points and tangents), is considered. The “closeness” measure employed in this context is the root-mean-square magnitude of the differences between pairs of corresponding control points for the two curves. The methodology is developed in the context of quintic PH curves, although it readily generalizes to PH curves of higher degree. Using the complex representation for planar curves, it is shown that this problem can be reduced to the minimization of a quartic penalty function in certain real variables, subject to two quadratic constraints, which can be efficiently solved by the Lagrange multiplier method. By expressing the penalty function and constraints in terms of variables that identify a complex pre-image polynomial, the closest solution is guaranteed to be a PH curve. Several computed examples are used to illustrate implementation of the optimization methodology and typical approximation results that can be obtained.