226-332 Basic CAD/CAM. CHAPTER 5: Geometric Transformation



Similar documents
Rotation Matrices and Homogeneous Transformations

Figure 1.1 Vector A and Vector F

Math 241, Exam 1 Information.

Geometric Camera Parameters

LINES AND PLANES CHRIS JOHNSON

A vector is a directed line segment used to represent a vector quantity.

Vector has a magnitude and a direction. Scalar has a magnitude

w = COI EYE view direction vector u = w ( 010,, ) cross product with y-axis v = w u up vector

Connecting Transformational Geometry and Transformations of Functions

Unified Lecture # 4 Vectors

Mechanics lecture 7 Moment of a force, torque, equilibrium of a body

Geometric description of the cross product of the vectors u and v. The cross product of two vectors is a vector! u x v is perpendicular to u and v

2D Geometric Transformations

3D Viewing. Chapter 7. Projections. 3D clipping. OpenGL viewing functions and clipping planes

Math 241 Lines and Planes (Solutions) x = 3 3t. z = 1 t. x = 5 + t. z = 7 + 3t

TWO-DIMENSIONAL TRANSFORMATION

Geometric Transformations

Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.

Parametric Equations and the Parabola (Extension 1)

The Point-Slope Form

Geometric Transformation CS 211A

3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture Steve Marschner (with previous instructors James/Bala)

MAT 1341: REVIEW II SANGHOON BAEK

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Affine Transformations

x(x + 5) x 2 25 (x + 5)(x 5) = x 6(x 4) x ( x 4) + 3

The Vector or Cross Product

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

Chapter 17. Orthogonal Matrices and Symmetries of Space

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

Two vectors are equal if they have the same length and direction. They do not

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

JUST THE MATHS UNIT NUMBER 8.5. VECTORS 5 (Vector equations of straight lines) A.J.Hobson

13.4 THE CROSS PRODUCT

2D Geometrical Transformations. Foley & Van Dam, Chapter 5

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

High School Geometry Test Sampler Math Common Core Sampler Test

Linear Equations in Linear Algebra

Exam 1 Sample Question SOLUTIONS. y = 2x

Teacher Page. 1. Reflect a figure with vertices across the x-axis. Find the coordinates of the new image.

1.(6pts) Find symmetric equations of the line L passing through the point (2, 5, 1) and perpendicular to the plane x + 3y z = 9.

9 Multiplication of Vectors: The Scalar or Dot Product

1.5 Equations of Lines and Planes in 3-D

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

MAC Learning Objectives. Module 10. Polar Form of Complex Numbers. There are two major topics in this module:

The Dot and Cross Products

Vector Algebra II: Scalar and Vector Products

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

Chapter 2. Parameterized Curves in R 3

Given a point cloud, polygon, or sampled parametric curve, we can use transformations for several purposes:

Trigonometric Functions and Equations

Section 1.1. Introduction to R n

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

Chapter 4. Moment - the tendency of a force to rotate an object

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

ex) What is the component form of the vector shown in the picture above?

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)

CNC Machine Control Unit

Section 11.4: Equations of Lines and Planes

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

Essential Mathematics for Computer Graphics fast

Lecture L22-2D Rigid Body Dynamics: Work and Energy

Section 9.5: Equations of Lines and Planes

Dev eloping a General Postprocessor for Multi-Axis CNC Milling Centers

88 CHAPTER 2. VECTOR FUNCTIONS. . First, we need to compute T (s). a By definition, r (s) T (s) = 1 a sin s a. sin s a, cos s a

TORQUE AND FIRST-CLASS LEVERS

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

One advantage of this algebraic approach is that we can write down

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Applied Linear Algebra

5. Orthogonal matrices

Section 13.5 Equations of Lines and Planes

Vector Spaces; the Space R n

Structural Axial, Shear and Bending Moments

Vectors. Objectives. Assessment. Assessment. Equations. Physics terms 5/15/14. State the definition and give examples of vector and scalar variables.


Lecture 7. Matthew T. Mason. Mechanics of Manipulation. Lecture 7. Representing Rotation. Kinematic representation: goals, overview

2.2 Magic with complex exponentials

Vector Math Computer Graphics Scott D. Anderson

Lecture 3: Coordinate Systems and Transformations

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

Exploring Geometric Transformations in a Dynamic Environment Cheryll E. Crowe, Ph.D. Eastern Kentucky University

Vectors Math 122 Calculus III D Joyce, Fall 2012

5.3 The Cross Product in R 3

Mathematics Notes for Class 12 chapter 10. Vector Algebra

FACTORING ANGLE EQUATIONS:

Problem set on Cross Product

Week 13 Trigonometric Form of Complex Numbers

B4 Computational Geometry

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Section V.2: Magnitudes, Directions, and Components of Vectors

discuss how to describe points, lines and planes in 3 space.

Force on Moving Charges in a Magnetic Field

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

Physics 1A Lecture 10C

Solutions to Practice Problems

Transcription:

226-332 Basic CAD/CAM CHAPTER 5: Geometric Transformation 1

Geometric transformation is a change in geometric characteristics such as position, orientation, and size of a geometric entity (point, line, body). Examples of geometric transformations are translation change in position rotation change in orientation scaling change in size y x 2

Transformation function is a mapping of a geometric entity from one condition to another. For example, if an egg is to be transformed to a boiled egg, it needs a transformation function which is boiling with transformation parameters such as temperature and time. y P 2 P 2 * P* = f(p, transformation parameters) P 1 P 1 * x 3

Translation When every entity of a geometric model remains parallel to its initial position, the rigid body transformation of the model is defined as translation. Translating a model implies that every point on it moves an equal given distance in a given direction. y P* 2 P 2 d P* 1 y d P P* P 1 x x 4

Example y When P 1 = [5 1], P 2 = [1 4], and d =[1 2] what is an equation of the line after being P* 2 translated by d? P 2 d P* 1 P 1 x P* 1 = P 1 + d = [5 1]+[1 2] = [6 3] P* 2 = P 2 + d = [1 4]+[1 2] = [2 6] x(t) = -4t+6 y(t) = 3t+3 5

Rotation When every entity of a geometric model moves around one point on the same plane, the rigid body transformation of the model is defined as rotation. Rotating a model implies that every point on it moves an equal given angle around a given axis. 6

Rotation around the origin and a given principal axis y P* R P 2-D Rotation around Z axis x Px = R cos Py = R sin P*x = R cos ( + ) P*y = R sin ( + ) P*x = R(cos cos - sin sin ) P*y = R(sin cos + sin cos ) 7

y P* R P 2-D Rotation around Z axis x P*x = R cos cos - R sin sin P*y = R cos sin + R sin cos P*x = Px cos - Py sin P*y = Px sin + Py cos P * P * x cos = y sin P* = [R]P sinpx cos Py 8

9

How are the formula? 10

http://www.clowder.net/hop/cos(a+b).html 11

12

13

y P* R P 3-D Rotation around Z axis x P*x = R cos cos - R sin sin P*y = R cos sin + R sin cos P*z = Pz P*x = Px cos - Py sin P*y = Px sin + Py cos P*z = Pz P * x P * y P * z = cos sin 0 sin cos 0 P* = [R z ]P 0Px 0Py 1 Pz 14

x P* R P 3-D Rotation around Y axis z P*x = R cos sin + R sin cos P*y = Py P*z = R cos cos - R sin sin P*x = Pz cos + Px sin P*y = Py P*z = Pz cos - Px sin P * x P * y P * z = cos 0 sin 0 1 0 P* = [R y ]P sin Px 0 Py cos Pz 15

z P* R P 3-D Rotation around X axis y P*x =Px P*y = R cos cos - R sin sin P*z = R cos sin + R sin cos P*x = Px P*y = Py cos - Pz sin P*z = Py sin + Pz cos P * x 1 P * y = 0 P * z 0 0 cos sin P* = [R x ]P 0 Px sin Py cos Pz 16

Rotation around an arbitrary point and a given principal axis The R x, R y and R z developed previously can be used but the object must be moved to the origin before making a rotation around a given axis. Then move it back by the same translational vector. 17

Rotation around an arbitrary point and a given principal axis y y R P x R P x y P* R y P* R x x 18

Example Where is [1 5] located after being rotated around [0 3] by 30 degree and the axis of rotation is a vector parallel to Z? P T1 = P - d = [1 5] - [0 3] = [1 2] cos 30 sin 30 sin 301 cos 30 2 P T2 = [R z ]P T1 = = P T3 = P T2 + d =[ ] + [0 3] =[ ] 19

20

21

Multiple transformations In reality, an object is always transformed by a series of transformations. Please note that, translations are commutative where rotations are not. The order of transformations involving rotations cannot be switched. For example, f tran1 (f tran2 (P)) = f tran2 (f tran1 (P)) f rot1 (f rot2 (P)) f rot2 (f rot1 (P)) f tran (f rot (P)) f rot (f tran (P)) f tran (f rot1 (f rot2 (P))) f rot1 (f rot2 (f tran (P))) 22

ZXY & XZY Z X Y X Z Y 23

24

25

Exercises Find a final position of P [2 1 0] after rotation about Q [1 1 0] by 90 degree when the axis of rotation is Y. Find a final position of P [3 0 1] after rotation by 60 degree with X axis as an axis of rotation, followed by rotation about by 30 degree with Y axis as an axis of rotation. Centers of both rotations are located on the origin. DEFGHIJGKLMIGNMHOPQRSTUVWPXDFWGNMHSYZQP[\TXHRDHGNMHHYZH] ^I[LMIGNMHJGKP[\TXHWVHFX _I`[aDYXLMIb`c_WFSKPQDFWLVGNMH (decqdfghpwvhfxb`csyzqifddyxrdhgnmhgtv) 26

Solution for Q1 27

28

29

Solution for Q2 STEP1 Rotate about X 60 degree 30

31

STEP2 Rotate about Y 30 degree 32

33

25 y [5 1] [10 3] x How is the robot gripper transformed so that it can firmly grasp the object? 34