Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

enter image description here

I have rotated a rectangle a certain amount of degree and got the point(x,y)=(130,40) which was previously (152,60). Now i want to find the x,y(marked as red) value at another location based on the known value (130,40) of the rotated rectangle.

share|improve this question
    
It does not look like we have enough information to deduce a specific point $(x,y)$ as indicated. Maybe you have a location on the original rectangle in mind. –  Karl Kronenfeld Apr 24 '13 at 9:48
    
I have the revised location of (521,60) on the rotated rectangle which is (130,40). Angle is also another info. –  Max_dev Apr 24 '13 at 9:53
add comment

1 Answer

The transformation has the form $$(x,y)\mapsto (a+x\cos\alpha-y\sin\alpha,b+y\cos\alpha+x\sin\alpha)$$ where $\alpha$ is your rotating angle and $a,b$ determine the translational part (and can be obtained from one point and image point if $\alpha$ is known).

share|improve this answer
    
can you please tell me the what values should a,b,x(r.h.s),y(r.h.s) based on the image values.? –  Max_dev Apr 24 '13 at 10:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.