Struct glucose::Rotor2 [−][src]
Fields
scalar: S
bivector: Bivector2<S>
Implementations
impl<S> Rotor2<S>
[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,
S: RefUnwindSafe,
impl<S> Send for Rotor2<S> where
S: Send,
S: Send,
impl<S> Sync for Rotor2<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Rotor2<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Rotor2<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Configure for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,