pub struct Guides {
pub aft_station_m: f64,
pub first_guide_station_m: Option<f64>,
pub last_guide_station_m: Option<f64>,
}Expand description
Where a design meets the rail, as stations (m aft of the nose tip).
Fields§
§aft_station_m: f64The rocket’s aft end: the aft end of its body, or its aft-most nozzle exit if that is further aft. It starts at the foot of the rail.
first_guide_station_m: Option<f64>The aft edge of the forward-most guide (a rail button’s aft edge, or a lug’s aft end), or
None without guides.
last_guide_station_m: Option<f64>The aft edge of the aft-most guide, or None without guides.
Implementations§
Source§impl Guides
impl Guides
Sourcepub fn of(assembly: &Assembly) -> Self
pub fn of(assembly: &Assembly) -> Self
The guides of an assembled design: every rail button of every row (each outer_diameter
long, spacing apart) and every launch lug (each length long).
Sourcepub fn exit_travel_m(&self, rail_length_m: f64) -> f64
pub fn exit_travel_m(&self, rail_length_m: f64) -> f64
How far the rocket travels along a rail of rail_length_m before its last guide leaves the
top: L − (s_aft − s_guide), with the aft end standing in for the guide without guides.
Sourcepub fn first_guide_exit_travel_m(&self, rail_length_m: f64) -> f64
pub fn first_guide_exit_travel_m(&self, rail_length_m: f64) -> f64
How far the rocket travels before its first guide leaves the top.