Adding flexibility to piecewise quadratic curves and surfaces Nira Gruberger Department of Mathematics, Texas A&M University, College Station, TX 77843-3368, USA
David Levin School of Mathematical Sciences, Tel-Auk Unicersity, Tel-A&
Charles
Israel 69978
K. Chui
Department of Mathematics, Texas A&M University, College Station, TX 77843-3368, USA Received January 1991 Revised August 1992
Abstract Gruberger, Computer
N., D. Levin and C.K. Chui, Adding flexibility Aided Geometric Design 10 (1993) 469-481.
to piecewise
quadratic
curves
and
surfaces,
A simple method is presented for adding flexibility to quadratic BCzier curves. The new curve is also piecewise quadratic with a doubled number of quadratic segments, but with the same number of inflection points and the same number of possible curvature discontinuities. In the case of convex control polygon, the new curve can be designed to be G*. The generalization to surfaces is also presented. Keywords.
Bezier;
curves;
surfaces;
quadratic;
bi-quadratic;
G’continuity;
flexibility.
1. Introduction Many authors introduced schemes for designing BCzier curves that adjoin with geometric continuity. Farin [Farin ‘821 constructed a piecewise G* cubic spline and also piecewise G* cubic BCzier curves. Boehm [Boehm ‘851 improved Farin’s result to produce piecewise G* BCzier curves of degree > 2. Also, Farin [Farin ‘881 presented the geometric conditions for constructing piecewise quadratic G* BCzier curves. Piecewise BCzier curves have also been designed using subdivision methods, see [De Casteljau ‘59, Lane & Riesenfeld ‘80, Chaikin ‘741. Many algorithms for BCzier surfaces have been designed as well, see e.g. [Doo ‘78a, ‘78b, Catmull & Clark ‘78, Doo & Sabin ‘78, Lane & Riesenfeld ‘801. In this paper we introduce a method for flexible design of piecewise quadratic BCzier curves. The significance of the method lies in its being a useful tool for local control of the curvature of a curve. The curves generated by the process of Section 2 are globally G’ like the usual quadratic BCzier curves, but each segment is now replaced by two quadratic segments meeting with G* continuity. For planar, convex control polygons we provide an additional process for generating a piecewise quadratic C* curve, satisfying G* conditions at all joints. Correspondence
to: D. Levin, School of Mathematical
0167~8396/93/$06.00
0 1993 - Elsevier
Science
Sciences,
Publishers
Tel-Aviv
University,
B.V. All rights reserved
Tel-Aviv,
Israel 69978.
470
N. Gruberger et al. / Piecewise-quadratic curlies and surfaces
Fig. 1
In Section 3 we present an extension of the univariate process of Section 2 to surfaces and provide a G’ tensor-product piecewise bi-quadratic BCzier surface. Again, we have flexibility in designing the surface but with some limitations on the choice of the interpolation points.
2. Two design processes
for piecewise
quadratic
curves
Given a control-polygon with vertices (zJ~}~=,c iw3 (see Fig. l>, one can choose points (pi}, i=l ,..., n - 1, on the edges {vi, v,+ ,), respectively, and define the piecewise quadratic (p.q.> Btzier curve with segments b,(u)
=piJ?;(U)
+I@f(u)
+p&(u),
i=2,...,n-
1
where B:(u) = (1 - u)*, B:(u) = 2241 - U) and B;(u) = u* are the quadratic Bernstein polynomials. These segments constitute a G’ curve passing through the points {pi} and only at these points the curve may have curvature discontinuity or inflection points. We would like to replace each quadratic segment hi(u) by two quadratic segments bi i(u) and hi,*(u), such that the curve formed by all the new segments has the following properties: 1. The curve passes through the points (pJ~:,,‘. 2. The curve is G’, and it is G2 between P,_~ and pi, i=2,...,n1. A method to obtain a curve with the properties l-2 above, is given below and we name it the refined piecewise quadratic method, or the RPQ method. Description of the RPQ method Starting