calculate_zero_angle_with_resolved_conditions

Function calculate_zero_angle_with_resolved_conditions 

Source
pub fn calculate_zero_angle_with_resolved_conditions(
    inputs: BallisticInputs,
    target_distance: f64,
    target_height: f64,
    wind: WindConditions,
    atmosphere: AtmosphericConditions,
) -> Result<f64, BallisticsError>
Expand description

calculate_zero_angle_with_conditions for a presence-aware caller that has already resolved station temperature/pressure (MBA-1397; e.g. reduced a declared QNH via crate::atmosphere::resolve_station_conditions_with_pressure_mode). Unlike the base function, atmosphere’s temperature/pressure are trusted as-is and never re-interpreted through the legacy default-sentinel heuristic.