Results 1 to 4 of 4

Thread: vector arithematic

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    88

    Question vector arithematic

    I have a working form.
    In that I three vectors with their known magnitude and angle in a polar coordinates. I need to do some arithematics on these vectors with *, /, - and + operators.
    can some one help in VB code point.
    thanx in advance.

  2. #2
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    For + and -, figure out the x and y components of the angles/magnitudes via trig, add them together, them put the components back together to make the sum angle and magnitude.

    As for * and / I have no idea except something about magnitudes multypling and angles rotating...
    Don't pay attention to this signature, it's contradictory.

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106
    I don't have an answer myself, but look into most books on 3D graphics, they tend to cover vector math.
    My usual boring signature: Nothing

  4. #4
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762
    for vector multiplication, use the dot productor or the cross product. Look here
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width