pub struct FreeMotion {
pub about: Point,
pub radius: f64,
pub rotation: Vector,
pub translation: Vector,
}Expand description
A rigid motion pairs do not hold: a turn at FreeMotion::rotation
about an axis through FreeMotion::about, with a slide of about at
FreeMotion::translation.
Scaled so that |rotation| · radius and |translation| have a unit
root sum of squares. Where the motions free are a subspace, they are
the basis of it that splits rotation from translation as far as it
allows: a selection free to slide and to spin reports pure slides and
a pure spin.
Fields§
§about: PointThe kept samples’ centroid, once moved.
radius: f64The kept samples’ RMS distance from FreeMotion::about.
rotation: VectorThe angular velocity: the axis’s direction, times the rate.
translation: VectorThe velocity of FreeMotion::about.
Trait Implementations§
Source§impl Clone for FreeMotion
impl Clone for FreeMotion
impl Copy for FreeMotion
Source§impl Debug for FreeMotion
impl Debug for FreeMotion
Source§impl PartialEq for FreeMotion
impl PartialEq for FreeMotion
impl StructuralPartialEq for FreeMotion
Auto Trait Implementations§
impl Freeze for FreeMotion
impl RefUnwindSafe for FreeMotion
impl Send for FreeMotion
impl Sync for FreeMotion
impl Unpin for FreeMotion
impl UnsafeUnpin for FreeMotion
impl UnwindSafe for FreeMotion
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.