Struct nalgebra::Rot4 [] [src]

pub struct Rot4<N> {
    // some fields omitted
}
[]

Four dimensional rotation matrix.

Methods

impl<N> Rot4<N>

fn submat<'r>(&'r self) -> &'r Mat4<N>

Trait Implementations

impl<N: BaseFloat> AbsoluteRotate<Vec4<N>> for Rot4<N>

fn absolute_rotate(&self, v: &Vec4<N>) -> Vec4<N>

impl<N: BaseFloat + Clone> Rotation<Vec4<N>> for Rot4<N>

fn rotation(&self) -> Vec4<N>

fn inv_rotation(&self) -> Vec4<N>

fn append_rotation_mut(&mut self, _: &Vec4<N>)

fn append_rotation(&self, _: &Vec4<N>) -> Rot4<N>

fn prepend_rotation_mut(&mut self, _: &Vec4<N>)

fn prepend_rotation(&self, _: &Vec4<N>) -> Rot4<N>

fn set_rotation(&mut self, _: Vec4<N>)

impl<N: BaseNum> Rotate<Vec4<N>> for Rot4<N>

fn rotate(&self, v: &Vec4<N>) -> Vec4<N>

fn inv_rotate(&self, v: &Vec4<N>) -> Vec4<N>

impl<N: BaseNum> Rotate<Pnt4<N>> for Rot4<N>

fn rotate(&self, p: &Pnt4<N>) -> Pnt4<N>

fn inv_rotate(&self, p: &Pnt4<N>) -> Pnt4<N>

impl<N: BaseNum> Transform<Vec4<N>> for Rot4<N>

fn transform(&self, v: &Vec4<N>) -> Vec4<N>

fn inv_transform(&self, v: &Vec4<N>) -> Vec4<N>

impl<N: BaseNum> Transform<Pnt4<N>> for Rot4<N>

fn transform(&self, p: &Pnt4<N>) -> Pnt4<N>

fn inv_transform(&self, p: &Pnt4<N>) -> Pnt4<N>

impl<N> Dim for Rot4<N>

fn dim(_: Option<Rot4<N>>) -> usize

impl<N: BaseNum> Mul<Rot4<N>> for Rot4<N>

type Output = Rot4<N>

fn mul(self, right: Rot4<N>) -> Rot4<N>

impl<N: BaseNum> Mul<Vec4<N>> for Rot4<N>

type Output = Vec4<N>

fn mul(self, right: Vec4<N>) -> Vec4<N>

impl<N: BaseNum> Mul<Pnt4<N>> for Rot4<N>

type Output = Pnt4<N>

fn mul(self, right: Pnt4<N>) -> Pnt4<N>

impl<N: BaseNum> One for Rot4<N>

fn one() -> Rot4<N>

impl<N: BaseNum> Eye for Rot4<N>

fn new_identity(dim: usize) -> Rot4<N>

impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vec4<N>, Vec4<N>> for Rot4<N>

type Output = Rot4<N>

fn to_rot_mat(&self) -> Rot4<N>

impl<N: Copy + Zero> Col<Vec4<N>> for Rot4<N>

fn ncols(&self) -> usize

fn col(&self, i: usize) -> Vec4<N>

fn set_col(&mut self, i: usize, col: Vec4<N>)

impl<N: Copy + Zero> Row<Vec4<N>> for Rot4<N>

fn nrows(&self) -> usize

fn row(&self, i: usize) -> Vec4<N>

fn set_row(&mut self, i: usize, row: Vec4<N>)

impl<N> Index<(usize, usize)> for Rot4<N>

type Output = N

fn index(&self, i: (usize, usize)) -> &N

impl<N: Absolute<N>> Absolute<Mat4<N>> for Rot4<N>

fn abs(m: &Rot4<N>) -> Mat4<N>

impl<N: BaseNum> ToHomogeneous<Mat5<N>> for Rot4<N>

fn to_homogeneous(&self) -> Mat5<N>

impl<N: Copy> Inv for Rot4<N>

fn inv_mut(&mut self) -> bool

fn inv(&self) -> Option<Rot4<N>>

impl<N: Copy> Transpose for Rot4<N>

fn transpose(&self) -> Rot4<N>

fn transpose_mut(&mut self)

impl<N: ApproxEq<N>> ApproxEq<N> for Rot4<N>

fn approx_epsilon(_: Option<Rot4<N>>) -> N

fn approx_ulps(_: Option<Rot4<N>>) -> u32

fn approx_eq(&self, other: &Rot4<N>) -> bool

fn approx_eq_eps(&self, other: &Rot4<N>, epsilon: &N) -> bool

fn approx_eq_ulps(&self, other: &Rot4<N>, ulps: u32) -> bool

impl<N: Copy + Zero> Diag<Vec4<N>> for Rot4<N>

fn from_diag(diag: &Vec4<N>) -> Rot4<N>

fn diag(&self) -> Vec4<N>

Derived Implementations

impl<N: Copy> Copy for Rot4<N>

impl<N: Hash> Hash for Rot4<N>

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<N: Debug> Debug for Rot4<N>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<N: Clone> Clone for Rot4<N>

fn clone(&self) -> Rot4<N>

fn clone_from(&mut self, source: &Self)

impl<N: Decodable> Decodable for Rot4<N>

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Rot4<N>, __D::Error>

impl<N: Encodable> Encodable for Rot4<N>

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl<N: PartialEq> PartialEq for Rot4<N>

fn eq(&self, __arg_0: &Rot4<N>) -> bool

fn ne(&self, __arg_0: &Rot4<N>) -> bool

impl<N: Eq> Eq for Rot4<N>