Shape Control of Cubic H-Bézier Curve by Moving Control Point

Similar documents
A New Class of Quasi-Cubic Trigonometric Bezier Curve and Surfaces

Quasi-Quartic Trigonometric Bézier Curves and Surfaces with Shape Parameters

Constrained modification of the cubic trigonometric Bézier curve with two shape parameters

Isoparametric Curve of Quadratic F-Bézier Curve

Bezier Curves. An Introduction. Detlef Reimers

Research Article An Investigation on Image Compression Using the Trigonometric Bézier Curve with a Shape Parameter

Circular Arc Approximation by Quartic H-Bézier Curve

Curves and Surfaces 1

Corners in Planar Cubic B-spline and Bezier Curve Segments

ENTIRELY CIRCULAR QUARTICS IN THE PSEUDO-EUCLIDEAN PLANE

Rational Bezier Curves

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

Keyword: Quadratic Bézier Curve, Bisection Algorithm, Biarc, Biarc Method, Hausdorff Distances, Tolerance Band.

3D Modeling Parametric Curves & Surfaces

GL9: Engineering Communications. GL9: CAD techniques. Curves Surfaces Solids Techniques

CIRCULAR QUARTICS IN THE ISOTROPIC PLANE GENERATED BY PROJECTIVELY LINKED PENCILS OF CONICS

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

SPIRAL TRANSITION CURVES AND THEIR APPLICATIONS. Zulfiqar Habib and Manabu Sakai. Received August 21, 2003

Special Quartics with Triple Points

Gardener s spline curve

Know it. Control points. B Spline surfaces. Implicit surfaces

Parameterization. Michael S. Floater. November 10, 2011

A Transformation Based on the Cubic Parabola y = x 3

Sung-Eui Yoon ( 윤성의 )

Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana

Zulfiqar Habib and Manabu Sakai. Received September 9, 2003

Central issues in modelling

Parameterization of triangular meshes

Construct Piecewise Hermite Interpolation Surface with Blending Methods

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

Approximation of 3D-Parametric Functions by Bicubic B-spline Functions

Flank Millable Surface Design with Conical and Barrel Tools

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

08 - Designing Approximating Curves

Curve and Surface Basics

GEOMETRY OF CURVES CHAPMAN & HALL/CRC. Boca Raton London New York Washington, D.C.

Need for Parametric Equations

arxiv:cs/ v1 [cs.gr] 22 Mar 2005

Curves D.A. Forsyth, with slides from John Hart

Research Article Data Visualization Using Rational Trigonometric Spline

Curves and Surfaces for Computer-Aided Geometric Design

NURBS: Non-Uniform Rational B-Splines AUI Course Denbigh Starkey

arxiv: v2 [math.nt] 4 Jun 2014

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

CS3621 Midterm Solution (Fall 2005) 150 points

Almost Curvature Continuous Fitting of B-Spline Surfaces

Envelopes Computational Theory and Applications

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Introduction p. 1 What Is Geometric Modeling? p. 1 Computer-aided geometric design Solid modeling Algebraic geometry Computational geometry

Approximate computation of curves on B-spline surfaces

Geometric Modeling of Curves

American International Journal of Research in Science, Technology, Engineering & Mathematics

(Refer Slide Time: 00:02:24 min)

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

CAGD PACKAGE FOR MATHEMATICA AND ITS USAGE IN THE TEACHING

Computer Graphics Curves and Surfaces. Matthias Teschner

Shape Modeling and Geometry Processing

A second order algorithm for orthogonal projection onto curves and surfaces

Intro to Curves Week 4, Lecture 7

Bezier Curves, B-Splines, NURBS

Bézier Splines. B-Splines. B-Splines. CS 475 / CS 675 Computer Graphics. Lecture 14 : Modelling Curves 3 B-Splines. n i t i 1 t n i. J n,i.

Constructing Blending Surfaces for Two Arbitrary Surfaces

arxiv: v1 [cs.cg] 2 Mar 2012

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

2D Spline Curves. CS 4620 Lecture 18

Computer Aided Geometric Design

Quadratic approximation to plane parametric curves and its application in approximate implicitization

Roadmap for tonight. What are Bezier curves (mathematically)? Programming Bezier curves (very high level view).

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

Intro to Curves Week 1, Lecture 2

90 C. R. WYLIE, JR. [February,

COMP3421. Global Lighting Part 2: Radiosity

Existence and computation of spherical rational quartic curves for Hermite interpolation

CS 475 / CS Computer Graphics. Modelling Curves 3 - B-Splines

Lecture IV Bézier Curves

Normals of subdivision surfaces and their control polyhedra

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

p y = 0 x c Figure : Stereographic projection. r p p y = 0 c p Figure : Central projection. Furthermore, we will discuss representations of entire sph

An Automatic Posture Planning Software of Arc Robot Based on SolidWorks API

Free-form curve design by knot alteration

The Free-form Surface Modelling System

CGT 581 G Geometric Modeling Curves

Conics on the Cubic Surface

Curves and Surfaces Computer Graphics I Lecture 9

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Generalized barycentric coordinates

Parametric curves. Brian Curless CSE 457 Spring 2016

Surfaces with rational chord length parameterization

Rational Bezier Surface

Stewart Gough platforms with linear singularity surface

Blending curves. Albert Wiltsche

An introduction to interpolation and splines

A new 8-node quadrilateral spline finite element

Curves and Surfaces Computer Graphics I Lecture 10

Estimating normal vectors and curvatures by centroid weights

Discrete Coons patches

On the classification of real algebraic curves and surfaces

Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable

The customary introduction to hyperbolic functions mentions that the combinations and

Transcription:

Journal of Information & Computational Science 4: 2 (2007) 871 878 Available at http://www.joics.com Shape Control of Cubic H-Bézier Curve by Moving Control Point Hongyan Zhao a,b, Guojin Wang a,b, a Department of Mathematics, Zhejiang University, Hangzhou 310027, China b State Key Laboratory of CAD & CG, Zhejiang University, Hangzhou 310027, China Received 4 June 2006; revise3 December 2006 Abstract This paper considers the shape control of the cubic H-Bézier curve, which can represent hyperbolas and catenaries accurately. We fix all the control points while let one vary. The locus of the moving control point that yields a cusp on the cubic H-Bézier curve is a planar curve; The tangent surface of the planar curve is the locus of the positions of the moving control point that yield inflection points. The positions of the moving control point that yield a loop lie on a plane. We provide the comparison on the singularity of cubic Bézier, cubic rational Bézier, C-Bézier and H-Bézier curves. The approach and results may have significant application in shape classification and control of parametric curves. Keywords: Singularity; Cubic H-Bézier curves; Moving control point 1 Introduction In geometric modeling, it is necessary not only to detect the amount and positions of singularities of a parametric curve, but also to design a curve with users-specified singularities, such as cusps, zero curvature points, and self-intersection points. There are lots of literature on this topic. The relevant methods can be classified into two kinds: the characteristic function method ([8, 9]) and moving control point method ([5, 7]). Su and Liu [8] presented a specific geometric solution for the Bézier representation. Wang ([9]) produced algorithms based on algebraic properties of the coefficients of the parametric polynomial and included some geometric tests using the B- spline control polygon. Stone and DeRose ([7]) mapped three control points of cubic parametric curves to specific locations on the plane, and characterized the image curve by the position of the fourth point. Meek and Walton ([5]) studied the moving control point method in the case of planar B-spline curves. Manocha and Canny ([4]) considered polynomial and rational polynomial parametric curves of high degree. Li and Cripp ([2]) and Monterde ([6]) discussed the shape control for rational curves and rational Bézier curves respectively. Supported by 973 Program of China (No. 2004CB719400), NNSF of China (No. 60673031, No. 60333010). Corresponding author. Email address: wanggj@zju.edu.cn (Guojin Wang). 1548 7741/ Copyright c 2007 Binary Information Press June 2007

872 H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 However, the previous work usually focused on polynomial or rational polynomial parametric curves. Transcendental curves ([10]), such as hyperbolas and catenaries, which have wide-ranging application could not be characterized by them. The curves are usually generated using blending spline basis, such as hyperbolic Bézier functions and hyperbolic B-spline functions. The determination and properties of their singularities have to be studied in a different way therefore. Taking cubic H-Bézier curves as an example, we apply the newest moving control point technique ([1]) to characterize their singularities. We hold three control points fixed, and take the fourth control point as a moving one. As the fourth point varies, the curve may take on a loop, a cusp, and one to two inflection points, depending on the position of the moving point. The locus of the moving control point that yields a cusp on the curve is a planar curve called the discriminant curve. The tangent surface of the discriminant curve is the locus of the moving control point which yields a zero curvature point. And the locus yielding a self-intersection point is a surface defined on a triangle region with the discriminant curve as a boundary. In this way, the singularities of H-Bézier curves are completely characterized by the positions of the moving control point. The method provides a geometric characterization of curves with singularities. It transfers the control point directly, and can be efficiently implemented. Therefore the method is especially suitable for engineering applications. In the end of this paper, we provide the comparison on the singularity of cubic Bézier, rational Bézier, C-Bézier and H-Bézier curves. 2 Preliminary The cubic H-Bézier curve is usually represented with a parametric curve as Q α (t) = Z 0 (t) Z 1 (t) Z 2 (t) Z 3 (t). (1) Here Z 0 Z 1 Z 2 Z 3 = 1 s α c sinh t s cosh t t α (M c) sinh t (K s) cosh t (M 1)t s K (M 1) sinh t K cosh t (M 1)t K sinh t t, 0 t α, s(s α) (c 1)(s α) where α > 0, s = sinh α, c = cosh α, K =, M =. For i = 0, 1, 2, 3, αc α 2s αc α 2s Z i = Z i (t) are cubic H-Bézier basis functions, and d i are control points. Consider a parametric curve segment Q(t) = n Z j (t)d j, t [a, b]. Let d i be the moving control point and hold the remaining three control points {,,, }\{d i } fixed. The H-Bézier curve represented by Eq. (1) is rewritten as Q(t) = Z i d i r i (t), r i (t) = Z j (t)d j. Suppose c i (t) = r i(t) Z i (t),

H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 873 where r i(t) represents the derivative of r i (t). c i (t) is called the discriminant curve of d i ([1]). When d i moves along c i (t), it yields a cusp on Q(t). When d i moves on the tangent surface of c i (t), it yields one or two inflection points on Q(t). We define the discriminant surface I i (t, δ) as I i (t, δ) = r i(t δ) r i (t) Z i (t δ) Z i (t), t [a, b], δ (a, b t]. When d i moves on the discriminant surface I i (t, δ), we derive Q(t) with a self-intersection point on it. The discriminant surface is defined on a triangular region, whose three boundary curves are respectively I i (a, δ), δ (0, b a]; I i (t, b t), t [a, b); lim δ 0 I i (t, δ) = c i (t), t [a, b]. 3 Singularities of Cubic H-Bézier curves Theorem 1 For a cubic parametric curve represented by combination of control points and basis functions which satisfy the weighting property, that is, the sum of the basis functions should be 1, the discriminant surface is a planar region spanned by three control points. Proof Suppose the curve P(t) with representation of P(t) = F j (t)d j, t [a, b] meets the weighting property requirement, where F j (t) and d j (i = 0, 1,, n) are respectively the basis functions and control points. The discriminant surface of d i is I i (t, δ) = F j (t δ) F j (t) F i (t δ) F i (t) d j, t [0, α], δ (0, α t]. Since there is F j (t δ) = When F i (t δ) F i (t) 0, we derive F j (t) = 1, (F j (t δ) F j (t)) = F i (t δ) F i (t). F j (t δ) F j (t) F i (t δ) F i (t) = 1. It indicates that for any t [a, b], δ (a, b t], I i (t, δ) is always on the plane determined by {,,, }\{d i }, that is, the discriminant surface is a planar region.

874 H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 Corollary 1 The discriminant curve, its tangent surface and the discriminant surface of the cubic H-Bézier curve is on the same plane determined by the three control points {,,, }\{d i }. In the following, we will specify the discriminant curve and surface of each control point respectively. 1) Choose as the moving control point, the corresponding discriminant curve (shown at the left-up in Fig. 1) is c 0 (t) = It is a planar curve and (M c) cosh t (K s) sinh t (M 1) c cosh t sinh t 1 (M 1) cosh t K sinh t (M 1) cosh t 1 c cosh t s sinh t 1 c cosh t s sinh t 1. c 0 (0) =, c 0(0) = K c 1 ( ). Applying the parameter transformation u = tanh 2 t, we will derive one of the quadratic rational representations of the curve: c 0 (t(u)) = (2M c 1)u2 2(K s)u c 1 d (1 c)u 2 1 2(M 1)u2 2Ku 2su c 1 (1 c)u 2 2su c 1 2u 2 (1 c)u 2 2su c 1. Obviously, c 0 (t) has one point at infinity (at t = α, u = tanh α 2 ). It is a parabola when,, are not collinear. So the discriminant curve of is a parabola starting from with tangent direction. 2) Choosing as the moving control point, the corresponding discriminant curve (shown at the right-up in Fig. 1) is c 1 (t) = It lies in the plane spanned by,,, and c cosh t s sinh t 1 (M c) cosh t (K s) sinh t (M 1) (M 1) cosh t K sinh t (M 1) (M c) cosh t (K s) sinh t (M 1) cosh t 1 (M c) cosh t (K s) sinh t (M 1). c 1 (0) =, c 1(t) = K c 1 ( ). Applying the parameter transformation u = tanh 2 t, its quadratic rational representation is derived: c 1 (t(u)) = (1 c)u 2 2su c 1 (2M c 1)u 2 2(K s)u c 1 (M 1)u 2 2Ku 0 (2M c 1)u 2 2(K s)u c 1 2u 2 (2M c 1)u 2 2(K s)u c 1.

H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 875 c 1 (t) c 0 (t) c 2 (t) c 3 (t) Fig. 1: Four discriminant curves with their tangent surfaces of the cubic H-Bézier curve (α = 1.3). α(αs 2c 2) The curve has two points at infinity (at t = arc sinh (c 1) 2 (s α) 2, u = s 2M c 1 and t = α, u = tanh α 2 ). It is a hyperbola when,, are not collinear. So the discriminant curve of (t) is a hyperbola starting from the control point with tangent direction. 3) Choosing as the moving control points, the discriminant curve (shown at the left-down in Fig. 1) is c cosh t s sinh t 1 c 2 (t) = (M 1) cosh t K sinh t (M 1) It lies in the plane spanned by,,, and (M c) cosh t (K s) sinh t (M 1) (M 1) cosh t K sinh t (M 1) cosh t 1 (M 1) cosh t K sinh t (M 1). c 2 (α) =, c 2(α) = K 1 c ( ). Applying the transformation u = tanh 2 t, we shall derive its quadratic rational representation as c 2 (t(u)) = (1 c)u2 2su c 1 2(M 1)u 2 2Ku (2M c 1)u2 2(K s)u c 1 d 2(M 1)u 2 1 2Ku 2u 2 2(M 1)u 2 2Ku.

H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 877 the tangent curves of the discriminant curve c i (t), R 3 is the discriminant surface I i (t, δ), and R 4 is the remaining part of the plane. The four regions characterize the singularity of the cubic H-Bézier curve completely. For instance, the relation between the positions of the control point and the singularity of the curve is listed in the below, which also provides a practical and efficient rule for shape control of H-Bézier curves. on the discriminant curve c 0 (t) yields a cusp on the H-Bézier curve. in region R 1, that is, on the tangent curve of one point on c 0 (t), yields a inflection point on the H-Bézier curve. in region R 2, that is, on the tangent curves of two different points on c 0 (t), yields two inflection points on the H-Bézier curve. in region R 3, that is, the discriminant surface I 0 (t, δ), yields a self-intersection point (a loop) on the H-Bézier curve. in region R 4 yields no singularity on the H-Bézier curve. 4 Comparison Like cubic Bézier and C-Bézier curves, the discriminant curves c 0 (t) and c 3 (t) of H-Bézier curves are also parabolas, and that c 1 (t) and c 2 (t) are hyperbolas. The discriminant curves of cubic rational Bézier curves are quartic rational curves. For all of these curves, the discriminant curves c i (t) always lie on the plane spanned by {,,, }\{d i }. We list the types of the discriminant curves of the four kinds of cubic curves in Table 1 below. Table 1: Types of discriminant curves. Discriminant curve Cubic Bézier Cubic rational Bézier Cubic C-Bézier Cubic H-Bézier c 0 parabola planar quartic rational parabola parabola c 1 hyperbola planar quartic rational hyperbola hyperbola c 2 hyperbola planar quartic rational hyperbola hyperbola c 3 parabola planar quartic rational parabola parabola The discriminant surface of the four curves are also in the plane spanned by three control points {,,, }\{d i }. 5 Conclusion In this paper, we provide the characterization and determination of the singularities for cubic H-Bézier curves. We employ a method different from the previous ones. The method bases on the observation that varying loci of control points yield different singularities. We figure out rules for characterizing regions of the moving control point which yield singularities. For cubic parametric curves, the discriminant curve and surface of the same control point are always on a

878 H. Zhao et al. /Journal of Information & Computational Science 4: 2 (2007) 871 878 same plane. We provide the comparison of cubic Bézier, rational Bézier, C-Bézier and H-Bézier curves. The approach and the results can be widely applied in areas of singularities detecting, shape controlling by moving control points and so on. References [1] Imre Juhász, On the singularity of a class of parametric curves, Computer Aided Geometric Design 23 (2006) 146-156. [2] Y. M. Li and R. J. Cripps, Identification of inflection points and cusps on rational curves, Computer Aided Geometric Design 14 (1997) 491-497. [3] Y. G. Lü, G. Z. Wang and X. N. Yang, Uniform hyperbolic polynomial B-spline curves, Computer Aided Geometric Design 19 (2002) 379-393. [4] D. Manocha and J. F. Canny, Detecting cusps and inflection points in curves, Computer Aided Geometric Design 9 (1992) 1-24. [5] D. S. Meek and D. J. Walton, Shape determination of planar uniform cubic B-spline segment, Computer Aided Design 22 (1990) 434-441. [6] J. Monterde, Singularities of rational Bézier curves, Computer Aided Geometric Design 18 (2001) 805-816. [7] M. C. Stone and T. D. DeRose, A geometric characterization of parametric cubic curves, ACM Trans. Graph. 8 (1989) 147-163. [8] B. Q. Su and D. Y. Liu, Computational Geometry: Curve and Surface Modeling, Academic Press, Inc., Boston, 1989. [9] C. Y. Wang, Shape classification of the parametric cubic curve and parametric B-spline cubic curve, Computer Aided Design 13 (1981) 199-206. [10] Q. M. Yang and G. Z. Wang, Inflection points and singularities on C-curves, Computer Aided Geometric Design 21 (2004) 207-213.