Estimating astronomical distances using triangulation methods