Originally posted by Ashrak
ok now you told me how to get a cordinate of a point now can you tell me how to get the Angle corner or whatever you call it that is created when those 2 straight lines cross eachother i need the size of the angle between the crossed lines .....
use the distance formula between on the 3 points you now have. It'll give you the distance between each of the points, then you can use the law of cosines to figure out the measure of the angle created by the intersection of the two lines.
distance formula: Square Root of: (x2-x1)^2+(y2-y1)^2
law of cosines: c^2=a^2+b^2-2ac(cos C)
there's probably an easier way, a lot easier way, but whatever, I like doing things the hard way.