How do you work out the position of a rotated line?

200 Views Asked by At

If I have a line segment that starts at origins and is parallel to the x-axis, how do I work out the position on the X axis of x if it is rotated by say 45 degrees?

I know the degree and I know the length of the line.. so I use what formula?

Is it cos(angle) / length?

1

There are 1 best solutions below

2
On

http://en.wikipedia.org/wiki/Rotation_%28mathematics%29

This article provides the complete detail of your requisite