pub struct MultiTransform<N: Float> { /* private fields */ }Expand description
Combines multiple rigid transforms into one transform.
Implementations§
Source§impl<N: Float> MultiTransform<N>
impl<N: Float> MultiTransform<N>
pub fn new(transformations: Vec<&Transformer<N>>) -> MultiTransform<N>
Trait Implementations§
Source§impl<N: Float> RigidTransformation<Bivector<N>> for MultiTransform<N>
impl<N: Float> RigidTransformation<Bivector<N>> for MultiTransform<N>
Source§impl<N: Float> RigidTransformation<Multivector<N>> for MultiTransform<N>
impl<N: Float> RigidTransformation<Multivector<N>> for MultiTransform<N>
Source§fn apply(&self, target: &Multivector<N>) -> Multivector<N>
fn apply(&self, target: &Multivector<N>) -> Multivector<N>
Apply a sandwich product. The target will be sandwiched between
the rigid transform’s multivector and its reverse.
Auto Trait Implementations§
impl<N> Freeze for MultiTransform<N>where
N: Freeze,
impl<N> RefUnwindSafe for MultiTransform<N>where
N: RefUnwindSafe,
impl<N> Send for MultiTransform<N>where
N: Send,
impl<N> Sync for MultiTransform<N>where
N: Sync,
impl<N> Unpin for MultiTransform<N>where
N: Unpin,
impl<N> UnwindSafe for MultiTransform<N>where
N: UnwindSafe,
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