Results 1 to 2 of 2

Thread: [RESOLVED] Triangle formula

  1. #1

    Thread Starter
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Resolved [RESOLVED] Triangle formula

    My Problem:
    Given: Two Points [A and B] and a Distance [Delta], with Delta >= Distance from A to B.
    Calculate all possible points [C] with Distance A to C plus Distance C to B equals Delta.

    So I'm looking for all possible solutions for C in this equation:

    SQRT( (Ax-Cx)^2 + (Ay-Cy)^2 ) + SQRT( (Bx-Cx)^2 + (By-Cy)^2 ) = Delta

    with
    Delta >= SQRT( (Ax-Bx)^2 + (Ay-By)^2 )


    Is it possible to describe that problem in a single formula.


    Thanks!
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: Triangle formula

    Wikipedia: Ellipse

    The equation, x2/a2 + y2/b2 = 1, defines an ellipse centered at the origin. Rotation and translation can place the ellipse in the appropriate position around any two points. In this equation, a = Delta/2 and b = SQR(Delta2 - DistAB2)/2.

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