pub struct Placement {
pub offset_m: [f64; 2],
pub roll_rad: f64,
}Expand description
Where one copy of a repeated part sits: the part as it is written, turned by roll_rad about
the body’s axis (from x_B toward y_B), then moved across the axis by offset_m, in body
axes. A point p of the part goes to R(roll) p + offset.
A cluster’s tubes only move (roll_rad = 0). A pod set’s pod k also turns, by its angle
φ_k, so that what a pod holds keeps its place relative to the airframe, as the fins of a fin
set do (ADR-089).
Fields§
§offset_m: [f64; 2]How far the copy moves across the axis, [x, y] in body axes, m.
roll_rad: f64How far the copy turns about the body’s axis, from x_B toward y_B, rad.
Implementations§
Trait Implementations§
impl Copy for Placement
Source§impl<'de> Deserialize<'de> for Placement
impl<'de> Deserialize<'de> for Placement
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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