Download presentation
Presentation is loading. Please wait.
Published byAubrey Gibbs Modified over 8 years ago
1
CSE 681 Brief Review: Vectors
2
CSE 681 Vectors Basics Normalizing a vector => unit vector Dot product Cross product Reflection vector Parametric form of a line
3
CSE 681 Basics Vectors Have a direction and a length Do not have a position in space Normal vector Is ‘normal’, or perpendicular, to a surface Are usually unit-length, also called ‘normalized’
4
CSE 681 Normalizing a Vector Compute the magnitude and divide through Produces a UNIT VECTOR Aka NORMALIZED VECTOR To normalize (x,y,z) :
5
CSE 681 Dot Product If A and B are unit vectors, A B Scalar Product If A is unit vector, is the length of B projected onto A
6
CSE 681 Cross Product is orthogonal to plane defined by A and B With length If A and B are unit vectors, If B is unit vector, is perpendicular distance from A to B A B A B AxB Vector Product
7
CSE 681 Reflection Vector In 3D, Reflect V about N to make R Assume N is normalized V R N k S S P
8
CSE 681 Parametric Equation of Line P 0 is point on line V is direction of line Generalizes to any dimension (2D, 3D, etc) As 0 < u < 1.0, P(u) goes from P 0 to P 0 +V V P0
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.