Results 1 to 3 of 3

Thread: Angle between two lines with coordinates.

  1. #1

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

    Question Angle between two lines with coordinates.

    I have two lines AB, BC with known coordinates. they both have a common coordinate at point B.
    How to find angle between AB and BC wrt VB6.

    any Help for formula for finding angle at B.

  2. #2
    Lively Member Doddddy's Avatar
    Join Date
    Jul 2004
    Location
    Cluj-Napoca, Romania
    Posts
    109
    this is what i've come up wiht... its not checked>
    pi-arctg((xA-xB)/(yA-yB))+arctg((xB-xC)/(yB-yC))

    probably doesnt work
    'nothin last forever even cold november rain

  3. #3
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    Well tan-1(mAB) will give the angle (in degrees) of line AB. Do the same for BC, then find the difference.
    Have I helped you? Please Rate my posts.

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