# Calculate Length in Perspective View

I have a 4-sided plane in a perspective view. Each side is equal in length to the side across from it. Given the length of two sides and the fore-shortened length of one side, how can we solve for the other two sides?

Assume the bottom side is not fore-shortened in this example.

TOP

Length: 2CM, Fore-shortened: 1 CM

LEFT

Length: ?

RIGHT

Length: ?

BOTTOM

Length: 2CM

-
No, you cannot solve for the lengths. There are some similar triangles in your second diagram, but you do not have not sufficient information overall. – Henry Apr 23 '12 at 7:36
I'm going to solve this when I get home. I'm at the school right now. – Garmen1778 Apr 23 '12 at 7:40
There are 2 variables here which determine the length of the sides, first one is the fore shortened length, and the other one is the angle of view, which apparently is missing from the data provided in the question. – Tomarinator Apr 23 '12 at 7:58
Very interesting problem. I am not sure if it is lack of information. But the answer for the left and right length must be way much longer than the top and bottom according to the fore-shortened length of the top. – Megan Apr 23 '12 at 9:26
I know for a fact that Photoshop Extended can solve this problem using its vanishing point tool. It will produce a 3d plane with the correct lengths with the only given being what you see above. However, I want to incorporate this feature into my own software and am wondering how this can be solved. – Abdulla Apr 23 '12 at 16:21

The far side must be twice as far from you as the front side. If it is not far away, you can make right triangles at your eye to the centers of the sides and the corners of the rectangle. If the half length of the side is $L$the near side is distance $d_1$ from your eye, you have $\frac L{d_1}=\tan \theta_1$ and the far side is $d_2$ from your eye then $\frac {L}{d_2}=\tan \theta_2$ and $\tan \theta_1=2\tan \theta_2$. Therefore $\frac {d_2}{d_1}=\frac{\tan \theta_1}{\tan \theta_2}=2$