Struct nalgebra::base::dimension::U2 [−][src]
pub struct U2;
Expand description
A type level dimension.
Trait Implementations
impl<N: SimdRealField> AbstractRotation<N, U2> for UnitComplex<N> where
N::Element: SimdRealField,
impl<N: SimdRealField> AbstractRotation<N, U2> for UnitComplex<N> where
N::Element: SimdRealField,
Change self
to its inverse.
Apply the rotation to the given vector.
Apply the rotation to the given point.
Apply the inverse rotation to the given vector.
Apply the inverse rotation to the given point.
fn inverse_transform_unit_vector(
&self,
v: &Unit<VectorN<N, D>>
) -> Unit<VectorN<N, D>> where
DefaultAllocator: Allocator<N, D>,
fn inverse_transform_unit_vector(
&self,
v: &Unit<VectorN<N, D>>
) -> Unit<VectorN<N, D>> where
DefaultAllocator: Allocator<N, D>,
Apply the inverse rotation to the given unit vector.
Gets the compile-time value of Self
. Returns None
if it is not known, i.e., if Self = Dynamic
. Read more
Builds an instance of Self
from a run-time value. Panics if Self
is a type-level
integer and dim != Self::try_to_usize().unwrap()
. Read more
Gets the run-time value of self
. For type-level integers, this is the same as
Self::try_to_usize().unwrap()
. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.