ISSN 2079-3537      

 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

Scientific Visualization, 2022, volume 14, number 1, pages 1 - 17, DOI: 10.26583/sv.14.1.01

Irregular Curves in Engineering Geometry and Computer Graphics

Author: V.A. Korotkiy 1

South Ural State University (National Research University) “SUSU (NRU)”

1 ORCID: 0000-0002-5266-4701, ospolina@mail.ru

 

Abstract

Graphically-defined irregular curves are found in various engineering problems. To use such a curve in the design process, it is replaced (approximated) by an analytical function. The article considers traditional approach when a graphically-defined curve is approximated by cubic Bezier segments (with unit weight coefficients) connected to each other by the order of smoothness G2 (with a continuous change in curvature). It is shown that for planes, the well-known algebraic condition of a G2-smooth connection of Bezier segments reduces to the solution of an ordinary quadratic equation. An algorithm is obtained that can be used to control the shape of a planar composite Bezier curve without violating the specified order of smoothness. The algorithm differs in that it allows for variation of both directions of tangents at the junction points and the radii of curvature at the end points of the composite curve. In particular, the algorithm can be used to find the equation of a planar cubic Bezier segment defined by tangents and radii of curvature at their end points. The calculation of the coordinates of the control points of such a segment is reduced to solving a system of two quadratic equations or constructing the intersection points of two parabolas.

The problem of G2-smooth conjugation of two straight lines, a straight line and a circle, and two circles (with predetermined conjugation points) is considered. An example of construction of a G2-smooth closed contour touching given straight lines and having a given curvature at the closing point is presented. An experiment on the approximation of a physical spline of a composite cubic Bezier curve is performed. The approximation error was less than 2%.

 

Keywords: composite cubic Bezier curve, Bernstein polynomial, physical spline, curvature, approximation, smoothness, degree of freedom.