calculate_lead_with_station_presence

Function calculate_lead_with_station_presence 

Source
pub fn calculate_lead_with_station_presence(
    inputs: BallisticInputs,
    wind: WindConditions,
    atmo: AtmosphericConditions,
    speed_mps: f64,
    angle_deg: f64,
    range_m: f64,
    station_presence: StationAtmospherePresence,
) -> Result<LeadSolution, LeadError>
Expand description

calculate_lead knowing which of atmo’s temperature and pressure the caller supplied (0.49.0): a supplied value flies as given, an omitted one keeps the legacy default-sentinel rule (see TrajectorySolver::new_with_station_presence). NEITHER is bit-identical to calculate_lead.