Function hermes::distanceToGalBorder

Function Documentation

QLength distanceToGalBorder(const Vector3QLength & positionSun, const QDirection & direction, const QLength & galacticBorder = 35_kpc, const QLength & zBorder = 5_kpc)

Gives a distance from an observer to the (spherical) galactic border in the given direction (law of cosines)