pub struct MotionSig<const D: usize>{
pub curve: Vec<[f64; D]>,
pub vectors: Vec<[f64; D]>,
pub t: Vec<f64>,
pub geo: GeoVar<Rot<D>, D>,
}
Expand description
Motion signature with the target position.
Used to present an “original motion”. Can be compared with PosedEfd
by
PosedEfd::err_sig()
.
Fields§
§curve: Vec<[f64; D]>
Normalized curve
vectors: Vec<[f64; D]>
Normalized unit vectors
t: Vec<f64>
Normalized time parameters
geo: GeoVar<Rot<D>, D>
Geometric variables
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const D: usize> !Freeze for MotionSig<D>
impl<const D: usize> !RefUnwindSafe for MotionSig<D>
impl<const D: usize> Send for MotionSig<D>
impl<const D: usize> Sync for MotionSig<D>
impl<const D: usize> !Unpin for MotionSig<D>
impl<const D: usize> !UnwindSafe for MotionSig<D>
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
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.