
Known variables: h, w, a, b, c1, d1, e1, f1, and z°
Unknown variables: c2, d2, e2, f2, m, and n
I need to find m,n and then translate c1,d1 to c2,d2 and the same for e1,f1 to e2,f2.
Other fun facts:
a = w/2
b = h/2
This is a real-world problem, so it was one that I had to come up with the steps. I'm creeping through this problem, and now I'm stuck. I got z using trigonometry dynamically, however, I'm having trouble with the rest of this problem. Can anyone help me through the rest of the steps? I know what I need, but I don't know the equations or steps to get the unknown variables.
(Honestly, I'm also looking to calculate the distance between (c2,d2) and (m,n) as well as the distance between (e2,f2) and (m,n) as the actual result, but I know the equation for those last steps).
Yay example values:
- Rectangle w × h
1440 × 434 - Center Point (a,b)
(720,217) - Point (c1,d1)
(918,177) - Point (e1,f1)
(1018,277) - Angle z°
135°