calculate_zero_range_from_angle_with_resolved_conditions

Function calculate_zero_range_from_angle_with_resolved_conditions 

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

calculate_zero_range_from_angle_with_conditions for a presence-aware caller that has already resolved station temperature/pressure — same relationship as calculate_zero_angle_with_resolved_conditions has to calculate_zero_angle_with_conditions (MBA-1397 pattern). See that function’s doc comment for why this returns both crossings rather than a single “the” zero range.