pub type Translation3<T> = Translation<T, 3>;
Expand description
A 3-dimensional translation.
Aliased Type§
struct Translation3<T> {
pub vector: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>,
}
Fields§
§vector: Matrix<T, Const<3>, Const<1>, ArrayStorage<T, 3, 1>>
The translation coordinates, i.e., how much is added to a point’s coordinates when it is translated.
Trait Implementations§
Source§impl<'a, 'b, T: SimdRealField> Div<&'a Unit<DualQuaternion<T>>> for &'b Translation3<T>where
T::Element: SimdRealField,
impl<'a, 'b, T: SimdRealField> Div<&'a Unit<DualQuaternion<T>>> for &'b Translation3<T>where
T::Element: SimdRealField,
Source§impl<'b, T: SimdRealField> Div<&'b Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
impl<'b, T: SimdRealField> Div<&'b Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
Source§impl<'a, T: SimdRealField> Div<Unit<DualQuaternion<T>>> for &'a Translation3<T>where
T::Element: SimdRealField,
impl<'a, T: SimdRealField> Div<Unit<DualQuaternion<T>>> for &'a Translation3<T>where
T::Element: SimdRealField,
Source§impl<T: SimdRealField> Div<Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
impl<T: SimdRealField> Div<Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
Source§impl<'a, 'b, T: SimdRealField> Mul<&'a Unit<DualQuaternion<T>>> for &'b Translation3<T>where
T::Element: SimdRealField,
impl<'a, 'b, T: SimdRealField> Mul<&'a Unit<DualQuaternion<T>>> for &'b Translation3<T>where
T::Element: SimdRealField,
Source§impl<'b, T: SimdRealField> Mul<&'b Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
impl<'b, T: SimdRealField> Mul<&'b Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
Source§impl<'a, T: SimdRealField> Mul<Unit<DualQuaternion<T>>> for &'a Translation3<T>where
T::Element: SimdRealField,
impl<'a, T: SimdRealField> Mul<Unit<DualQuaternion<T>>> for &'a Translation3<T>where
T::Element: SimdRealField,
Source§impl<T: SimdRealField> Mul<Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
impl<T: SimdRealField> Mul<Unit<DualQuaternion<T>>> for Translation3<T>where
T::Element: SimdRealField,
Source§impl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Translation3<T1>
impl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Translation3<T1>
Source§fn to_superset(&self) -> UnitDualQuaternion<T2>
fn to_superset(&self) -> UnitDualQuaternion<T2>
The inclusion map: converts
self
to the equivalent element of its superset.Source§fn is_in_subset(dq: &UnitDualQuaternion<T2>) -> bool
fn is_in_subset(dq: &UnitDualQuaternion<T2>) -> bool
Checks if
element
is actually part of the subset Self
(and can be converted to it).Source§fn from_superset_unchecked(dq: &UnitDualQuaternion<T2>) -> Self
fn from_superset_unchecked(dq: &UnitDualQuaternion<T2>) -> Self
Use with care! Same as
self.to_superset
but without any property checks. Always succeeds.