Struct glucose::Rotor2[][src]

pub struct Rotor2<S> {
    pub scalar: S,
    pub bivector: Bivector2<S>,
}

Fields

scalar: Sbivector: Bivector2<S>

Implementations

impl<S> Rotor2<S>[src]

pub const fn new(scalar: S, bivector: Bivector2<S>) -> Self[src]

pub fn layout() -> Layout[src]

impl<S: Scalar> Rotor2<S>[src]

pub fn identity() -> Self[src]

pub fn reverse(&mut self)[src]

pub fn reversed(&self) -> Self[src]

pub fn dot(&self, rhs: Self) -> S[src]

impl<S: Scalar + MulAdd<Output = S>> Rotor2<S>[src]

pub fn rotate_by(&mut self, other: Self)[src]

pub fn rotated_by(self, other: Self) -> Self[src]

impl<S: Scalar + Two> Rotor2<S>[src]

pub fn rotate_vec(self, vec: &mut Vector<S, 2>)[src]

pub fn into_matrix(self) -> Matrix<S, 2, 2>[src]

impl<S: Scalar + Float> Rotor2<S>[src]

pub fn from_rotation_between(from: Vector<S, 2>, rhs: Vector<S, 2>) -> Self[src]

pub fn magnitude_squared(&self) -> S[src]

pub fn magnitude(&self) -> S[src]

pub fn normalize(&mut self)[src]

pub fn normalized(&self) -> Self[src]

impl<S: Scalar + Two + Trig> Rotor2<S>[src]

pub fn from_angle(angle: S) -> Self[src]

Trait Implementations

impl<S: Clone> Clone for Rotor2<S>[src]

impl<S: Copy> Copy for Rotor2<S>[src]

impl<S: Debug> Debug for Rotor2<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Rotor2<S> where
    S: RefUnwindSafe

impl<S> Send for Rotor2<S> where
    S: Send

impl<S> Sync for Rotor2<S> where
    S: Sync

impl<S> Unpin for Rotor2<S> where
    S: Unpin

impl<S> UnwindSafe for Rotor2<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Configure for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.