pub struct Span {
pub length: f64,
pub straight: f64,
pub u: V3,
pub exit: V3,
pub b: V3,
pub dz: f64,
}Expand description
One cable at a pose: its length from the pulley’s swivel point to the anchor (arc and straight part), the straight part, the unit vector from the anchor to the exit point, the exit point, and the anchor’s offset b = R a.
Fields§
§length: f64§straight: f64§u: V3§exit: V3§b: V3§dz: f64The anchor’s height over the pulley’s swivel point, z_P - z_E.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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