Determining the True Length by Rotation into the Horizontal Plane

Line segment AB is given by its projections (A'B',A''B'').
Determine its true length.

Move the endpoints of the line segment to alter its position in space.
When will its horizontal projection be in true length?
In that case, what can you say about its vertical projection?

GeomTeh3D, Created by GeoGebrom