pub struct Shell {
pub torus: Torus,
pub altitude_m: f32,
pub inclination_rad: f32,
}Expand description
A Walker Delta constellation shell with physical ISL parameters.
Fields§
§torus: TorusThe logical toroidal grid topology.
altitude_m: f32Orbital altitude above Earth’s surface in meters.
inclination_rad: f32Orbital inclination in radians.
Implementations§
Source§impl Shell
impl Shell
Sourcepub const fn new(torus: Torus, altitude_m: f32, inclination_deg: f32) -> Self
pub const fn new(torus: Torus, altitude_m: f32, inclination_deg: f32) -> Self
Creates a new shell from topology, altitude, and inclination (in degrees).
Sourcepub fn orbital_radius(&self) -> f32
pub fn orbital_radius(&self) -> f32
Returns the orbital radius (Earth radius + altitude) in meters.
Sourcepub fn orbital_period_s(&self) -> f32
pub fn orbital_period_s(&self) -> f32
Returns the orbital period in seconds (Kepler’s third law).
Sourcepub fn within_orb_distance(&self) -> f32
pub fn within_orb_distance(&self) -> f32
Returns the chord distance between adjacent satellites in the same plane.
Sourcepub fn cross_orb_base_distance(&self) -> f32
pub fn cross_orb_base_distance(&self) -> f32
Returns the equatorial chord distance between adjacent orbital planes.
Sourcepub fn cross_orb_distance(&self, phase: f32) -> f32
pub fn cross_orb_distance(&self, phase: f32) -> f32
Returns the cross-orbit ISL distance at a given orbital phase (0.0-1.0).
Sourcepub fn cross_orb_distance_at_sat(&self, sat: u8) -> f32
pub fn cross_orb_distance_at_sat(&self, sat: u8) -> f32
Returns the cross-plane ISL distance for a satellite.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnsafeUnpin for Shell
impl UnwindSafe for Shell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more