#[non_exhaustive]pub enum AutoDimension {
BaseRadius,
OuterRadius,
ForeRadius,
AftRadius,
ShoulderRadius,
ForeShoulderRadius,
AftShoulderRadius,
InnerRadius,
PackedRadius,
}Expand description
A dimension resolved from the tree instead of stored in the part.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
BaseRadius
A nose cone’s base radius: the next body component’s forward radius.
OuterRadius
A body tube’s outer radius: the previous body component’s aft radius, or, when that can’t
be resolved, the next one’s forward radius. A centering ring’s or inner tube’s outer
radius: its parent’s inner radius, which is how a coupler or an engine block fills the tube
it sits in; inside a hollow nose cone or transition, the parent’s outer radius at the
narrower end of the part less the parent’s wall, and never below zero, as OpenRocket 24.12
reads it (ADR-096). An inner tube whose resolved radius is less than its wall
is laid out solid (its wall is cut to its radius), as OpenRocket weighs it; a stated radius
with too thick a wall is still refused. A tube fin set’s outer radius: the radius at which
its tubes close the ring around the body tube they sit on,
TubeFinSet::closing_radius_m, its wall cut to that
radius when thicker, as OpenRocket 24.12 reads it (ADR-098).
ForeRadius
A transition’s forward radius: the previous body component’s aft radius.
AftRadius
A transition’s aft radius: the next body component’s forward radius.
ShoulderRadius
A nose cone’s shoulder outer radius: the inner radius of the body tube behind it.
ForeShoulderRadius
A transition’s forward shoulder outer radius: the inner radius of the body tube ahead of it.
AftShoulderRadius
A transition’s aft shoulder outer radius: the inner radius of the body tube behind it.
InnerRadius
A centering ring’s inner radius: the outer radius of the widest on-axis inner tube among its siblings that overlaps it along the axis, or zero when none does.
PackedRadius
A mass component’s or recovery part’s packed radius: its parent’s inner radius less the part’s radial offset.
Implementations§
Trait Implementations§
Source§impl Clone for AutoDimension
impl Clone for AutoDimension
Source§fn clone(&self) -> AutoDimension
fn clone(&self) -> AutoDimension
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AutoDimension
Source§impl Debug for AutoDimension
impl Debug for AutoDimension
Source§impl<'de> Deserialize<'de> for AutoDimension
impl<'de> Deserialize<'de> for AutoDimension
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AutoDimension
Source§impl Hash for AutoDimension
impl Hash for AutoDimension
Source§impl JsonSchema for AutoDimension
impl JsonSchema for AutoDimension
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for AutoDimension
impl PartialEq for AutoDimension
Source§fn eq(&self, other: &AutoDimension) -> bool
fn eq(&self, other: &AutoDimension) -> bool
self and other values to be equal, and is used by ==.