Type Definition nalgebra::base::Matrix3

source ·
pub 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§

source§

impl<T: RealField> Matrix3<T>

source

pub fn new_rotation(angle: T) -> Self

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

source

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

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§

source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<DMat3> for Matrix3<f64>

source§

fn from(e: DMat3) -> Matrix3<f64>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl From<Mat3> for Matrix3<f32>

source§

fn from(e: Mat3) -> Matrix3<f32>

Converts to this type from the input type.
source§

impl<T: RealField> From<Rotation<T, 2>> for Matrix3<T>

source§

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

Converts to this type from the input type.
source§

impl<T: RealField> From<Rotation<T, 3>> for Matrix3<T>

source§

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

Converts to this type from the input type.
source§

impl<T: SimdRealField> From<Unit<Complex<T>>> for Matrix3<T>where T::Element: SimdRealField,

source§

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

Converts to this type from the input type.
source§

impl<T: SimdRealField> From<Unit<Quaternion<T>>> for Matrix3<T>where T::Element: SimdRealField,

source§

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

Converts to this type from the input type.