you have the initial triangle's sides so you can use tis to calculate the angle in radians with sin() cos() or tan()

Then on the new one you can use sin or cos with the tan to solve for the opposite or adjacent side. Then use either the other (sin or cos) or tan with the first side value to calculate the missing side.

The other way would be to get the ratio of the 2 sides, then reverse out the function.


-Chuck
--------------------------
Chuck Neal
CEO, MediaMacros, Inc.
[EMAIL PROTECTED]
http://www.mediamacros.com
--------------------------
Check out the Developers Mall
Your one stop shop for all your Director Xtra Needs
http://www.mediamacros.net/customer


julian weaver wrote:
hi,

I'm working on a function to redraw overlapping dots on a graph keeping the visual changes to a minimum. I just can't seem to get my get my head around this today:

the hypotenuse of a pair of coordinates
e.g. [71,36] and [139,111] = 101

i want to expand the hypotenuse to 150 and update my coordinates accordingly.

fuzzily,

Julian



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to