Type Definition nalgebra::base::Matrix3[][src]

type Matrix3<T> = Matrix<T, U3, U3, ArrayStorage<T, 3, 3>>;
Expand description

A stack-allocated, column-major, 3x3 square matrix.

Because this is an alias, not all its methods are listed here. See the Matrix type too.

Implementations

impl<T: RealField> Matrix3<T>[src]

pub fn new_rotation(angle: T) -> Self[src]

Builds a 2 dimensional homogeneous rotation matrix from an angle in radian.

pub fn new_nonuniform_scaling_wrt_point(
    scaling: &Vector2<T>,
    pt: &Point2<T>
) -> Self
[src]

Creates a new homogeneous matrix that applies a scaling factor for each dimension with respect to point.

Can be used to implement “zoom_to” functionality.

Trait Implementations

impl<T: RealField> From<Rotation<T, 2_usize>> for Matrix3<T>[src]

fn from(q: Rotation2<T>) -> Self[src]

Performs the conversion.

impl<T: RealField> From<Rotation<T, 3_usize>> for Matrix3<T>[src]

fn from(q: Rotation3<T>) -> Self[src]

Performs the conversion.

impl<T: SimdRealField> From<Unit<Complex<T>>> for Matrix3<T> where
    T::Element: SimdRealField
[src]

fn from(q: UnitComplex<T>) -> Matrix3<T>[src]

Performs the conversion.

impl<T: SimdRealField> From<Unit<Quaternion<T>>> for Matrix3<T> where
    T::Element: SimdRealField
[src]

fn from(q: UnitQuaternion<T>) -> Self[src]

Performs the conversion.