1 / 8

Brief Review: Vectors

Brief Review: Vectors. Vectors. Basics Normalizing a vector => unit vector Dot product Cross product Reflection vector Parametric form of a line. Basics. Vectors Have a direction and a length Do not have a position in space. Normal vector Is ‘normal’, or perpendicular, to a surface

jmeisner
Télécharger la présentation

Brief Review: Vectors

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Brief Review:Vectors CSE 681

  2. Vectors • Basics • Normalizing a vector => unit vector • Dot product • Cross product • Reflection vector • Parametric form of a line CSE 681

  3. 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’ CSE 681

  4. Normalizing a Vector • Compute the magnitude and divide through • Produces a UNIT VECTOR • Aka NORMALIZED VECTOR To normalize (x,y,z) : CSE 681

  5. Dot Product Scalar Product • If A and B are unit vectors, • If A is unit vector, is the length of B projected onto A B a A CSE 681

  6. A AxB Cross Product a Vector Product B • 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 a B CSE 681

  7. Reflection Vector In 3D, Reflect V about N to make R Assume N is normalized N S S P R V k q q CSE 681

  8. Parametric Equation of Line • P0 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 P0 to P0+V V P0 CSE 681

More Related