+ All Categories
Home > Documents > Lec2_2016

Lec2_2016

Date post: 24-Feb-2018
Category:
Upload: zurina-ma
View: 216 times
Download: 0 times
Share this document with a friend

of 17

Transcript
  • 7/25/2019 Lec2_2016

    1/17

    GEOMETRIC MODELINGAND 2D

    TRANSFORMATIONLecture 2- Prof. Ehsan T Esfahani

    Spring 2016

  • 7/25/2019 Lec2_2016

    2/17

    Mathematical background

    Goal:

    Study of geometrical properties such as shape, size,

    properties of space, and positioning of CAD model

    By the end of this lecture(s) you should be able to perform

    the following 2D operations:

  • 7/25/2019 Lec2_2016

    3/17

    Definitions

    Scalar (): Numbers representing magnitude and

    quantities such as length, area, volume, speed

    Vectors (): Set of scalars [ ] representing bothdirection and magnitude

    Points (P): Representation of location in space

    [ ]Scalar: Latin alphabets

    Points: () Vector: [ ]

  • 7/25/2019 Lec2_2016

    4/17

    Operations on points and vectors:

    Vector operations

    Addition:

    ,

    + + + +

    Scalar Multiplication:

    Vector multiplications (dot and cross)

    Operations on Points

    Point-point subtraction results in a vector, This is the sameas point-vector addition

    Point-point addition is not defined

    , > 1

    Q-P = + =Q

  • 7/25/2019 Lec2_2016

    5/17

    Vector Space

    Vector Space is a set of vector on which two operations

    are defined:

    Vector Addition

    Scalar Multiplication

    Vector space lack position specification

    We can not precisely define 3D geometry in vector space

  • 7/25/2019 Lec2_2016

    6/17

    Affine Space

    Space elements:

    Vector space

    Points

    There is no special point

    Defined operations:

    Vector-Vector addition

    Scalar-vector multiplication

    Point-vector addition (equivalent to point-point subtraction)

    Scalar-scalar operations

    We defined all the 2D transformation in the affine space

    Parallelism and ratio of lengths

  • 7/25/2019 Lec2_2016

    7/17

    Parametric Line (Affine space)

    Set of all points ( ) passing through

    in the direction of vector

    All the points on the line (P, S, R,) can

    be defined using different values of a

    Generalization (Affine Sum)

    +

    + (1 ) + and + 1

    = , & = 1

  • 7/25/2019 Lec2_2016

    8/17

    ConvexityAn object is convexifffor any two points in the object all

    points on the line segments between these points are also

    in the object

    Convex Not Convex

    Convex Hull Convex hall of a set X of points is thesmallest convex set that contains X

    = , & = 1 i

    1 23 456

  • 7/25/2019 Lec2_2016

    9/17

    Affine Space

    The universe of parallel lines

    No angle (there is no dot product)

    No measurement of length (there is no dot product) No Special point (origin)

    Look at affine space as a vector space with no

    commitment to any origin point

    = , & = 1

  • 7/25/2019 Lec2_2016

    10/17

    Euclidian Space

    Affine Space + inner product

    Using inner product we can find:

    Distance Angle

    Orthogonal projection

    Length of a vector (distance between two points)

    Angle between two vectors (or lines)

    ,

    . > 0

    .

    cos.

  • 7/25/2019 Lec2_2016

    11/17

    Orthogonal Projection

    Direction of : Same as Amplitude of : cos cos and cos . .

    .

    .

    Cross Product , sin 2

  • 7/25/2019 Lec2_2016

    12/17

    Linear Combination

    if we have several vectors , , . . . , , and scalars ,, . . . , , we can form the linear combination

    =

    Set of vectors , , . . . , are linear independent iff

    =

    0 , 0

    This means that one vector can not be represented in

    terms of other vectors

  • 7/25/2019 Lec2_2016

    13/17

    Dimension of Vector Space

    Minimum number of linearly independent vectors needed

    to span the space

    Spanning the space: representing any possible vectorsin the space

    Any set of linearly independent vectors form a basis

    For a given basis, any vector in that space can be

    uniquely represented by linear combination of basis

  • 7/25/2019 Lec2_2016

    14/17

    Frame

    Basis (, , . . . , ) + origin ()

    Every vector can be written as

    =

    Every point can be written as

    + =

  • 7/25/2019 Lec2_2016

    15/17

    Homogenous Coordinates

    n+1 dimension to represent n dimensional space

    Examples in (Can be generalized to )

    Points wx,wy,wz,w , , , 0

    Vectors , , , 0 [, , ] Easy to distinguish points and vecotrs

  • 7/25/2019 Lec2_2016

    16/17

    Using Frames in HC (2D Example)

    Points

    1

    Vectors

    0

  • 7/25/2019 Lec2_2016

    17/17

    Points and Vector Relationship

    Vector + Vector = Vector

    Point + Vector = Point

    Point Point = Vector

    0+0 + 0

    1+0 + 1

    1

    1

    0