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

Similar documents
COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

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

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

Design considerations

In this course we will need a set of techniques to represent curves and surfaces in 2-d and 3-d. Some reasons for this include

3D Modeling Parametric Curves & Surfaces

Geometric Modeling Lecture Series. Prof. G. Wang Department of Mechanical and Industrial Engineering University of Manitoba

Curves and Surfaces 1

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

Curves and Surfaces Computer Graphics I Lecture 9

Lecture 2.2 Cubic Splines

Geometric Modeling of Curves

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

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

Sung-Eui Yoon ( 윤성의 )

Curves and Surfaces Computer Graphics I Lecture 10

CS130 : Computer Graphics Curves. Tamar Shinar Computer Science & Engineering UC Riverside

Introduction to Computer Graphics

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Information Coding / Computer Graphics, ISY, LiTH. Splines

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

TO DUY ANH SHIP CALCULATION

Curves and Surfaces. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

CS3621 Midterm Solution (Fall 2005) 150 points

Curve and Surface Basics

Central issues in modelling

Curves. Computer Graphics CSE 167 Lecture 11

A Curve Tutorial for Introductory Computer Graphics

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

Computer Graphics Curves and Surfaces. Matthias Teschner

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

Curves and Surfaces. CS475 / 675, Fall Siddhartha Chaudhuri

B-spline Curves. Smoother than other curve forms

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

CS-184: Computer Graphics. Today

CS-184: Computer Graphics

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

An introduction to interpolation and splines

Geometric Modeling. Introduction

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Interactive Graphics Using Parametric Equations (Day 2)

Four equations are necessary to evaluate these coefficients. Eqn

The Free-form Surface Modelling System

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

Rational Bezier Curves

Objects 2: Curves & Splines Christian Miller CS Fall 2011

CGT 581 G Geometric Modeling Curves

Introduction to Solid Modeling Parametric Modeling. Mechanical Engineering Dept.

Lecture 9: Introduction to Spline Curves

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Parametric curves. Brian Curless CSE 457 Spring 2016

Clothoid Based Spline-RRT with Bézier Approximation

Spline Notes. Marc Olano University of Maryland, Baltimore County. February 20, 2004

08 - Designing Approximating Curves

Object representation

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

2D Spline Curves. CS 4620 Lecture 18

Intro to Curves Week 4, Lecture 7

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

Computer Graphics CS 543 Lecture 13a Curves, Tesselation/Geometry Shaders & Level of Detail

2D Spline Curves. CS 4620 Lecture 13

CHAPTER 6 Parametric Spline Curves

CSE 167: Introduction to Computer Graphics Lecture #13: Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2017

Bezier Curves, B-Splines, NURBS

Lecture IV Bézier Curves

COMP3421. Global Lighting Part 2: Radiosity

Computergrafik. Matthias Zwicker. Herbst 2010

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

Representing Curves Part II. Foley & Van Dam, Chapter 11

Chapter 1 Introduction

VALLIAMMAI ENGINEERING COLLEGE

Intro to Curves Week 1, Lecture 2

Connected Minimal Acceleration Trigonometric Curves

3D Modeling: Surfaces

ASSIGNMENT 1 INTRODUCTION TO CAD

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

Fathi El-Yafi Project and Software Development Manager Engineering Simulation

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Geometric Modeling Systems

Engineering designs today are frequently

Geometric and Solid Modeling. Problems

Intro to Modeling Modeling in 3D

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

Properties of Blending Functions

Computation Method for Evaluation of Surface Fine Structure by Highlight Lines

Curves and Surface I. Angel Ch.10

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

3.2 THREE DIMENSIONAL OBJECT REPRESENTATIONS

Curves and Surfaces for Computer-Aided Geometric Design

Dgp _ lecture 2. Curves

form. We will see that the parametric form is the most common representation of the curve which is used in most of these cases.

CATIA V5 Parametric Surface Modeling

Physically-Based Modeling and Animation. University of Missouri at Columbia

For each question, indicate whether the statement is true or false by circling T or F, respectively.

Introduction to the Mathematical Concepts of CATIA V5

Need for Parametric Equations

Shape modeling Modeling technique Shape representation! 3D Graphics Modeling Techniques

Transcription:

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur Email: jrkumar@iitk.ac.in

Curve representation 1. Wireframe models There are three types of geometric models,, wireframes,, surfaces and solids.. Typically, a wireframe model consists of a finite set of points (vertices), connected in pairs by straight lines (edges), or arcs, circles, conics, and curves, so that the threedimensional form of a solid object can be visualized. The major advantage of wireframe modeling is its simplicity to construct. It does not require as much computer time and memory as does surface or solid modeling. Wireframe modeling is considered a natural extension of traditional methods of drafting. The disadvantages of wireframe models are manifolds. Primarily, wireframe models are usually ambiguous representations of real objects and rely heavily on human interpretation.

Models of complex designs having many edges become very confusing and perhaps even impossible to interpret. Moreover, as shown in Figure, it is often difficult to display objects with curve surfaces using wireframe Displaying holes and curved ends in wireframe models

Parametric curves Curve representation Curves can be described mathematically by nonparametric or parametric equations. Nonparametric equations can be explicit or implicit. For a nonparametric curve, the coordinates y and z of a point on the curve are expressed as two separate functions of the third coordinate x as the independent variable. nonparametric explicit form nonparametric implicit form

There are three problems with describing curves using nonparametric equations: (1) If the slope of a curve at a point is vertical or near vertical, its value becomes infinity or very large. (2) Shapes of most engineering objects are intrinsically independent of any coordinate system. (3) If the curve is to be displayed as a series of point or straight-line segments, the computations involved could be extensive.

In parametric form, each point on a curve is expressed as a function of a parameter u. The parametric equation for a three-dimensional curve in space takes the following vector form:

Parametric representation of analytic curves There are two categories of curves that can be represented parametrically: Analytic curves and synthetic curves. Analytic curves are defined as those that can be described by analytic equations such as lines, circles, and conics. Synthetic curves are the ones that are described by a set of data points (control points) such as splines and Bezier curves. Lines and circles are often expressed in analytic equations.

Lines The parametric equation of the line becomes In scalar form, this equation can be written as

Circles Circles and circular arcs are among the most common entities used in wireframe modeling. The parametric equation of a circle can be written as Incremental form

Synthetic curves The need for synthetic curves in design arises on two occasions: when a curve is represented by a collection of measured data points and when an existing curve must change to meet new design requirements. Analytic curves are usually not sufficient to meet geometric design requirements of mechanical parts. Synthetic curves provide designers with greater flexibility and control of a curve shape by changing the positions of the control points. Products such as car bodies, ship hulls, airplane fuselage and wings, propeller blades, shoe insoles, and bottles are a few examples that require free-form, or synthetic, curves and surfaces.

A spline curve is defined by giving a set of coordinate positions, call control points, which indicate the general shape of the curve. These control points are then fitted with piecewise continuous parametric polynomial functions. When polynomial sections are fitted so that the curve passes through each control point, the resulting curve is said to interpolate the set of control points. On the other hand, when the polynomials are fitted to the general control point path without necessarily passing through any control point, the resulting curve is said to approximate the set of control points.

Order of a synthetic curve Mathematically, synthetic curves represent a curve-fitting problem to construct a smooth curve that passes through given data points. Zero-order continuity C 0 yields a position continuous curve. First C 1 - and second C 2 -order continuities imply slope and curvature continuous curves respectively. A C 1 curve is the minimum acceptable curve for engineering design. A cubic polynomial is the minimum-order polynomial that can guarantee the generation of C 0, C 1 or C 2 curves. Also, the designer may prefer to control the shape of the curve locally instead of globally by changing the control points.

Hermite Cubic Splines The Hermite form of a cubic spline is determined by defining positions and tangent vectors at the data points. The parametric cubic spline curve (or cubic spline for short) connects two data (end) points and utilizes a cubic equation. Therefore, four conditions are required to determine the coefficients of the equation. The parametric equation of a cubic spline segment is given By: where u is the parameter and C i are the polynomial (also called algebraic) coefficients Hermite cubic spline curve

Scalar form this equation is written as In an expanded vector form (1) Matrix form

Now the problem is how to relate the parametric equations to the designers input, namely, the two end points and tangent vectors. Applying the boundary conditions (P0, P 0 at u=0 and P1, P 1 at u=1) Substituting, C i into equation 1

where [M H ] is the Hermite matrix and V is the geometry (or boundary conditions) vector. Both are given by (2)

Blending Cubic Spline Segments Equation (2) is for one cubic spline segment. It can be generalized for any two adjacent spline segments of a spline curve that are to fit a given number of data points. This introduces the problem of blending or joining cubic spline segments which can be stated as follows: given a set of n points P 0, P 1,, P n-1 and the two end tangent vectors P 0 and P n-1 (as shown in Figure ), connect the points with a cubic spline curve.

Let s start from connecting two curves. To connect two Hermite spline curves to form a C2 continuous curve, the second derivative at the end of the first curve must be equal to the second derivative at the beginning of the first curve. Thus we have: Using this relation, we can further derive the tangent vector at the end of the second curve, which is also the tangent vector at the beginning of the second curve: Using this information, we can construct a C2 continuous curve that passes through the three given data points by blending two Hermite curves together

The use of the cubic splines in design applications is not very popular compared to Bezier or B-spline curves. The control of the curve is not very obvious from the input data due to its global control characteristics. As shown in Figure, changing the position of a data point or an end slope changes the entiire shape of the spline, which does not provide the intuitive feel required for design. In addition, the order of the curve is always constant (cubic) regardless of the number of data points. Control of cubic spline curve