Methods of determining astronomic distances