Type Definition nalgebra::base::Matrix3
[−]
[src]
type Matrix3<N> = MatrixN<N, U3>;
A stack-allocated, column-major, 3x3 square matrix.
Methods
impl<N: Real> Matrix3<N>
[src]
pub fn new_rotation(angle: N) -> Self
[src]
Builds a 2 dimensional homogeneous rotation matrix from an angle in radian.
Trait Implementations
impl<N1: Real, N2: Real + SupersetOf<N1>> SubsetOf<Matrix3<N2>> for UnitComplex<N1>
[src]
fn to_superset(&self) -> Matrix3<N2>
[src]
The inclusion map: converts self
to the equivalent element of its superset.
fn is_in_subset(m: &Matrix3<N2>) -> bool
[src]
Checks if element
is actually part of the subset Self
(and can be converted to it).
unsafe fn from_superset_unchecked(m: &Matrix3<N2>) -> Self
[src]
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
fn from_superset(element: &T) -> Option<Self>
[src]
The inverse inclusion map: attempts to construct self
from the equivalent element of its superset. Read more