I understand that the relative distances to the planets had been calculated using various methods since ancient times, and, in particular, that the assumptions of the Copernican model of the Solar System allow one to easily establish the relative distances, $d$ (in AU), from the Sun to the inferior planets, Mercury and Venus, from their (easily measured) greatest elongations, $\varepsilon$ and simple trigonometry:
$$d=\sin\varepsilon$$
Hoever it is not clear to me what methods Copernicus or his contemporaries used to determine the relative distances to the superior planets. My texts say only that these were found by "slightly different geometrical methods" (p.44) or that "the analysis for a superior planet is more involved" (p.37).
What methods were those?