How to determine rotated rectangle offset

All about geometry

How to determine rotated rectangle offset

Postby raphael75 » Thu Jan 09, 2014 2:16 pm

If you look at the attachment, I have the green box. Say the green box is 117 pixels x 18 pixels. It is then rotated around the center point 280°. How can I find the length of lines t and u? Thank you!
Attachments
rotated_textbox.png
rotated_textbox.png (19.02 KiB) Viewed 1787 times
raphael75
 
Posts: 1
Joined: Thu Jan 09, 2014 2:12 pm
Reputation: 0

Re: how to determine rotated rectangle offset

Postby Guest » Thu Jan 09, 2014 4:10 pm

Just rough calculation
diameter of rotation circles is diagonal of green box = 118.38 pixels
At start diagonal is at an angle of tan-1(9/58.5) = 8.75 degrees
At end of 280 degree rotation this point will be at angle of 10 + 8.75 from the vertical 270 position clockwise.

The "t" and "u" values are the "x" and "y" coordinates of this angle...18.75
t = 59.19 - Sin (18.75) = 59.19 - 19 = 40
u = 59.19 x Cos 18.75 = 59.19 x 0.947 = 56.049

Its a rough calculation...I didn't check...Im sure others will.......

..........Simple.............
Guest
 

Re: how to determine rotated rectangle offset

Postby Guest » Fri Jan 10, 2014 9:31 am

Just noticed....wrong....
t = 59.19 - Sin (18.75) = 59.19 - 19 = 40

This should read....
t = 59.19 - (59.19 x Sin (18.75)) = 59.19 - 19 = 40

OR....t = 59.19( 1 - Sin (18.75) ) = 40

......Simple to make Mistakes.....
Guest
 

Re: How to determine rotated rectangle offset

Postby tufail123 » Mon Oct 27, 2014 9:11 am

Geometry is a part of mathematics concerned with questions of size, shape, and relative position of figures and with properties of space.

geo = earth, metria = measure



____________________________
aliiiiiii

tufail123
 
Posts: 1
Joined: Mon Oct 27, 2014 9:01 am
Reputation: 0


Return to Geometry



Who is online

Users browsing this forum: No registered users and 6 guests