Function nyx_space::celestia::eclipse::line_of_sight[][src]

pub fn line_of_sight(
    observer: &Orbit,
    observed: &Orbit,
    eclipsing_body: Frame,
    cosm: &Cosm
) -> EclipseState
Expand description

Computes the light of sight the provided time between two states accounting for eclipsing of the providing geoid. This works for visibility between spacecraft and a ground station. For eclipsing and penumbras, use eclipse_state.

Source: Algorithm 35 of Vallado, 4th edition, page 308.