BEZIER CURVES AND SURFACES



Similar documents
Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

Essential Mathematics for Computer Graphics fast

A Mathematica Package for CAGD and Computer Graphics

Figure 2.1: Center of mass of four points.

Topics in Computer Graphics Chap 14: Tensor Product Patches

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Geometric Modelling & Curves

A Geometric Characterization of Parametric Cubic Curves

Degree Reduction of Interval SB Curves

42 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. Figure 1.18: Parabola y = 2x Brief review of Conic Sections

Gymnázium, Brno, Slovanské nám. 7, SCHEME OF WORK Mathematics SCHEME OF WORK. cz

Curves and Surfaces. Goals. How do we draw surfaces? How do we specify a surface? How do we approximate a surface?

Determine whether the following lines intersect, are parallel, or skew. L 1 : x = 6t y = 1 + 9t z = 3t. x = 1 + 2s y = 4 3s z = s

CSE 167: Lecture 13: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

How To Use Design Mentor

On the Arc Length of Parametric Cubic Curves

Algorithms for Real-Time Tool Path Generation

Higher Education Math Placement

Modeling Curves and Surfaces

Planar Curve Intersection

ME 111: Engineering Drawing

Algebra Academic Content Standards Grade Eight and Grade Nine Ohio. Grade Eight. Number, Number Sense and Operations Standard

8.9 Intersection of Lines and Conics

CHAPTER 1 Splines and B-splines an Introduction

NURBS Drawing Week 5, Lecture 10

Estimated Pre Calculus Pacing Timeline

Pre-Algebra Academic Content Standards Grade Eight Ohio. Number, Number Sense and Operations Standard. Number and Number Systems

New York State Student Learning Objective: Regents Geometry

Thnkwell s Homeschool Precalculus Course Lesson Plan: 36 weeks

A matrix method for degree-raising of B-spline curves *

Corollary. (f є C n+1 [a,b]). Proof: This follows directly from the preceding theorem using the inequality

Algebra 1 Course Title

Birmingham City Schools

Content. Chapter 4 Functions Basic concepts on real functions 62. Credits 11

(a) We have x = 3 + 2t, y = 2 t, z = 6 so solving for t we get the symmetric equations. x 3 2. = 2 y, z = 6. t 2 2t + 1 = 0,

Math Placement Test Study Guide. 2. The test consists entirely of multiple choice questions, each with five choices.

NURBS Drawing Week 5, Lecture 10

ME 111: Engineering Drawing

HIGH SCHOOL: GEOMETRY (Page 1 of 4)

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

(Refer Slide Time: 1:42)

Gouvernement du Québec Ministère de l Éducation, ISBN

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

Geometry Enduring Understandings Students will understand 1. that all circles are similar.

Name Class. Date Section. Test Form A Chapter 11. Chapter 11 Test Bank 155

Rasterizing the outlines of fonts

Selective Degree Elevation for Multi-Sided Bézier Patches

Precalculus REVERSE CORRELATION. Content Expectations for. Precalculus. Michigan CONTENT EXPECTATIONS FOR PRECALCULUS CHAPTER/LESSON TITLES

LEAVING CERT DCG SCHEME OF WORK

GRADES 7, 8, AND 9 BIG IDEAS

Mathematics 31 Pre-calculus and Limits

The Essentials of CAGD

Algebra and Geometry Review (61 topics, no due date)

Unit 9: Conic Sections Name Per. Test Part 1

GEOMETRY COMMON CORE STANDARDS

Surface Normals and Tangent Planes

Curriculum Map by Block Geometry Mapping for Math Block Testing August 20 to August 24 Review concepts from previous grades.

Copyrighted Material. Chapter 1 DEGREE OF A CURVE

Mean value theorem, Taylors Theorem, Maxima and Minima.

Solutions to old Exam 1 problems

Prentice Hall Mathematics: Algebra Correlated to: Utah Core Curriculum for Math, Intermediate Algebra (Secondary)

the points are called control points approximating curve

NEW YORK STATE TEACHER CERTIFICATION EXAMINATIONS

2.1 Three Dimensional Curves and Surfaces

MA 323 Geometric Modelling Course Notes: Day 02 Model Construction Problem

The Australian Journal of Mathematical Analysis and Applications

GEOMETRY CONCEPT MAP. Suggested Sequence:

Algebra 2 Year-at-a-Glance Leander ISD st Six Weeks 2nd Six Weeks 3rd Six Weeks 4th Six Weeks 5th Six Weeks 6th Six Weeks

NEW MEXICO Grade 6 MATHEMATICS STANDARDS

Math 1. Month Essential Questions Concepts/Skills/Standards Content Assessment Areas of Interaction

Parametric Curves. (Com S 477/577 Notes) Yan-Bin Jia. Oct 8, 2015

Notes on the representational possibilities of projective quadrics in four dimensions

INVERSION AND PROBLEM OF TANGENT SPHERES

The Australian Curriculum Mathematics

BookTOC.txt. 1. Functions, Graphs, and Models. Algebra Toolbox. Sets. The Real Numbers. Inequalities and Intervals on the Real Number Line

Computer Animation: Art, Science and Criticism

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

H.Calculating Normal Vectors

TEXTURE AND BUMP MAPPING

KEANSBURG SCHOOL DISTRICT KEANSBURG HIGH SCHOOL Mathematics Department. HSPA 10 Curriculum. September 2007

Volumes of Revolution

THE PARABOLA section

About Tutorials... 1 Algebra I... 2 Geometry... 3 Algebra II... 4 English I... 5 English II... 6 English III... 7

Sketcher. Preface What's New? Getting Started Basic Tasks Customizing Workbench Description Glossary Index

Further Steps: Geometry Beyond High School. Catherine A. Gorini Maharishi University of Management Fairfield, IA

Circle Name: Radius: Diameter: Chord: Secant:

Week 1 Chapter 1: Fundamentals of Geometry. Week 2 Chapter 1: Fundamentals of Geometry. Week 3 Chapter 1: Fundamentals of Geometry Chapter 1 Test

Geometry. Higher Mathematics Courses 69. Geometry

Finite Element Formulation for Beams - Handout 2 -

MATH APPLICATIONS CURRICULUM

Double Tangent Circles and Focal Properties of Sphero-Conics

Advanced Math Study Guide

Lesson 3. Numerical Integration

Computer Aided Design (CAD)

How To Draw A 3D Virtual World In 3D Space (Computer Graphics)

Seminar. Path planning using Voronoi diagrams and B-Splines. Stefano Martina

Geometry Unit 5: Circles Part 1 Chords, Secants, and Tangents

Computer Aided Design (CAD)

Prentice Hall: Middle School Math, Course Correlated to: New York Mathematics Learning Standards (Intermediate)

Transcription:

Department of Applied Mathematics and Computational Sciences University of Cantabria UC-CAGD Group COMPUTER-AIDED GEOMETRIC DESIGN AND COMPUTER GRAPHICS: BEZIER CURVES AND SURFACES Andrés Iglesias e-mail: iglesias@unican.es Web pages: http://personales.unican.es/iglesias http://etsiso.macc.unican.es/~cagd Andrés Iglesias. See: http://personales.unican.es/iglesias

Andrés Iglesias. See: http://personales.unican.es/iglesias BEZIER CURVES n i= P i B n i (t) Bézier curves Let P={P,P,...,P n } be a set of points P i IR d, d=,. The Bézier curve associated with the set P is defined by: B n i (t) where represent the Bernstein polynomials, which are given by: ( ) Bi n (t) = n ( t) n i t i i i =,..., n n being the polynomial degree. Bézier curve with n=5 (six control or Bézier points) Bernstein polynomials B i (t)

Bézier curves Control polygon 6 Control points 6-5 6 7-5 6 7 6 Bézier curve 7 control points n=6-5 6 7 n i= P i B n i (t) Andrés Iglesias. See: http://personales.unican.es/iglesias

Given by: Properties: Extreme values: Normalizing property: B n i (t) = Bernstein polynomials ( ) n i B in ()= B in ()= i=,...,n- B n ()= B nn ()= B in ()= B in ()= n i= B n i (t)= ( t) n i t i i =,..., n Maxima: n the degree i the index t the variable Positivity: B in (t) in [,] Simmetry: Andrés Iglesias. See: http://personales.unican.es/iglesias B in (t) = B n-in (-t) B in (t) attains exactly one maximum on the interval [,], at t=i /n.

Properties of the Bézier curves 6 6-5 6 7 The Bézier curve generally follows the shape of the control polygon, which consists of the segments joining the control points. D curve - 5 6 7 Control polygon Bézier scheme is useful for design. D curve Andrés Iglesias. See: http://personales.unican.es/iglesias

Properties of the Bézier curves Bézier curves exhibit global control: moving a control point alters the shape of the whole curve. Control point traslation. LOCAL vs. GLOBAL CONTROL B-splines allow local control: only a part of the curve is modified when changing a control point. Control point traslation. (,) (,) (,) (,) The curve changes here The curve does not change here Andrés Iglesias. See: http://personales.unican.es/iglesias

Properties of the Bézier curves Interpolation. A Bézier curve always interpolates the end control points. Tangency. The endpoint tangent vectors are parallel to P - P and P n - P n- Convex hull property. The curve is contained in the convex hull of its defining control points. Variation disminishing property. No straight line intersects a Bézier curve more times than it intersects its control polygon. Intersections Curve: Polygon: Curve: Polygon: Curve: Polygon: For a three-dimensional Bézier curve, replaces the words straight line with the word plane. Andrés Iglesias. See: http://personales.unican.es/iglesias

Properties of the Bézier curves A given Bézier curve can be subdivided at a point t=t into two Bézier segments which join together at the point corresponding to the parameter value t=t. Left-hand side: control points Andrés Iglesias. See: http://personales.unican.es/iglesias Original curve: control points 5 6 t=. t=. t=. Subdivided curve: 7 control points Right-hand side: control points

Properties of the Bézier curves Degree raising: any Bézier curve of degree n (with control points P i ) can be expressed in terms of a new basis of degree n+. The new control points Q i are given by: i Q i = P i- + (- ) P n+ n+ i i=,...,n+ P - = P n+ = Original cubic curve: control points Final quartic curve: 5 control points 5 6 Andrés Iglesias. See: http://personales.unican.es/iglesias 5 6

.5.5.5.5.5.5.5.5.5.5.5.5 5 6 5 6 5 6.5.5.5.5.5.5.5.5.5.5.5.5 Bézier curves Degree raising of the Bézier curve of degree n= to degree n= 5 6 5 6 5 6.5.5.5.5.5.5.5.5.5.5.5.5 5 6 5 6 5 6 Andrés Iglesias. See: http://personales.unican.es/iglesias

Rational Bézier curves There are a number of important curves and surfaces which cannot be represented faithfully using polynomials, namely, circles, ellipses, hyperbolas, cylinders, cones, etc. All the conics can be well represented using rational functions, which are the ratio of two polynomials. Rational Bézier curve R(t) = n i= P i w i B n i (t) n i= w i B n i (t) w i weights If all w i =, we recover the Bézier curve. Andrés Iglesias. See: http://personales.unican.es/iglesias Farin, G.: Curves and Surfaces for CAGD, Academic Press, rd. Edition, 99 (Chapters and 5). Hoschek, J. and Lasser, D.: Fundamentals of CAGD, A.K. Peters, 99 (Chapter ). Anand, V.: Computer Graphics and Geometric Modeling for Engineers, John Wiley & Sons, 99 (Chapter ).

Andrés Iglesias. See: http://personales.unican.es/iglesias Changing the weights: Rational Bézier curves w i > -> the curve approximates to P i w i < -> the curve moves away from P i 5 6 5 5 6 5 6.. 5 6

Rational Bézier curves Influence of the weights: The effect of changing a weight is different from that of moving a control point. Moving a control point: a nonrational Bézier curve with a change in one control point. Original curve Final curve Changing a weight: a rational Bézier curve with one weight changed. Andrés Iglesias. See: http://personales.unican.es/iglesias

Andrés Iglesias. See: http://personales.unican.es/iglesias Rational Bézier curves Rational Bézier curves are useful to represent conics, which become an important tool in the aircraft industry. Let c(t) be a point on a conic. Then, there exist numbers w, w and w and two-dimensional points P, P and P such that: c(t) = s = s < s > w P B (t) +w P B (t) +w P B (t) w B (t) +w B (t) +w B (t) If we take w = w = and we define : gives a parabolic arc gives an elliptic arc gives a hyperbolic arc w = s = w + w hyperbola w = parabola elipse w =

Example: the circle.75 (, ) Rational Bézier curves /.5.5 (/, /).75 (/, /).5 /.5 (,).5.5 (,) w = w = / w = (,) Andrés Iglesias. See: http://personales.unican.es/iglesias /

BEZIER SURFACES Let P={{P,P,...,P n }, {P,P,...,P n },..., {P m,p m,...,p mn }} be a set of points P ij IR (i=,,...,m ; j=,,...n) Bézier surfaces The Bézier surface associated with the set P is defined by: m n S(u, v) = P ij B m i (u)b n j (v) i= B m i (u) j= where and represent the Bernstein polynomials of degrees m and n and in the variables u and v, respectively. Bn j (v) x y z x y z x y z x y z x y z x y z 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 Andrés Iglesias. See: http://personales.unican.es/iglesias

Bézier surfaces Note that along the isoparametric lines u=u and v=v, the surface reduces to Bézier curves: n m S(u,v) = with control points: j= b j = b j B n j (v) S(u, v ) = m i= P ij B m i (u ) i= c i = Andrés Iglesias. See: http://personales.unican.es/iglesias c i B m i (u) n j= P ij B n j (v ) Isoparametric lines u=u } v DOMAIN Z D space Y S(u,v) } u Isoparametric lines v=v X

From the equation: S(u, v) = Bézier surfaces is obtained from a control point and the product of two univariate Bernstein polynomials. Each product makes up a basis function of the surface. For instance: Function B (u). B (v): m i= n j= P ij B m i (u)b n j (v) it is clear that each term.8.6 B (u). B (v)....5.5 B (v).5.5.75 B (u).75.....6.8...8.6 Andrés Iglesias. See: http://personales.unican.es/iglesias...6.8

If a single surface does not approximate enough a given set of points, we may use several patches joined together. Bézier surfaces BLENDING SURFACES Two Bézier patches F and F are connected with C -continuity by using a Bézier F patch. F F F BLENDING Andrés Iglesias. See: http://personales.unican.es/iglesias

Rational Bézier surfaces If we introduce weights w ij to a nonrational Bézier surface, we obtain a rational Bézier surface: m n S(u, v) = i= j= m i= j= P ij w ij B m i (u)bn j (v) n w ij B m i (u)b n j (v).5.5 w ij = Example: Andrés Iglesias. See: http://personales.unican.es/iglesias.5.5. ( )..5.5 7. ( ) 7.