Type Definition nalgebra::geometry::Translation3
source · pub type Translation3<T> = Translation<T, 3>;
Expand description
A 3-dimensional translation.
Trait Implementations
sourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
/
operator.sourcefn div(self, rhs: &'a UnitDualQuaternion<T>) -> Self::Output
fn div(self, rhs: &'a UnitDualQuaternion<T>) -> Self::Output
Performs the
/
operation. Read moresourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
/
operator.sourcefn div(self, rhs: &'b UnitDualQuaternion<T>) -> Self::Output
fn div(self, rhs: &'b UnitDualQuaternion<T>) -> Self::Output
Performs the
/
operation. Read moresourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
/
operator.sourcefn div(self, rhs: UnitDualQuaternion<T>) -> Self::Output
fn div(self, rhs: UnitDualQuaternion<T>) -> Self::Output
Performs the
/
operation. Read moresourceimpl<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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
/
operator.sourcefn div(self, rhs: UnitDualQuaternion<T>) -> Self::Output
fn div(self, rhs: UnitDualQuaternion<T>) -> Self::Output
Performs the
/
operation. Read moresourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<DVec3> for Translation3<f64>
impl From<DVec3> for Translation3<f64>
sourcefn from(e: DVec3) -> Translation3<f64>
fn from(e: DVec3) -> Translation3<f64>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3> for Translation3<f32>
impl From<Vec3> for Translation3<f32>
sourcefn from(e: Vec3) -> Translation3<f32>
fn from(e: Vec3) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl From<Vec3A> for Translation3<f32>
impl From<Vec3A> for Translation3<f32>
sourcefn from(e: Vec3A) -> Translation3<f32>
fn from(e: Vec3A) -> Translation3<f32>
Converts to this type from the input type.
sourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
*
operator.sourcefn mul(self, rhs: &'a UnitDualQuaternion<T>) -> Self::Output
fn mul(self, rhs: &'a UnitDualQuaternion<T>) -> Self::Output
Performs the
*
operation. Read moresourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
*
operator.sourcefn mul(self, rhs: &'b UnitDualQuaternion<T>) -> Self::Output
fn mul(self, rhs: &'b UnitDualQuaternion<T>) -> Self::Output
Performs the
*
operation. Read moresourceimpl<'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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
*
operator.sourcefn mul(self, rhs: UnitDualQuaternion<T>) -> Self::Output
fn mul(self, rhs: UnitDualQuaternion<T>) -> Self::Output
Performs the
*
operation. Read moresourceimpl<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,
type Output = Unit<DualQuaternion<T>>
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the
*
operator.sourcefn mul(self, rhs: UnitDualQuaternion<T>) -> Self::Output
fn mul(self, rhs: UnitDualQuaternion<T>) -> Self::Output
Performs the
*
operation. Read moresourceimpl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Translation3<T1>where
T1: RealField,
T2: RealField + SupersetOf<T1>,
impl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Translation3<T1>where
T1: RealField,
T2: RealField + SupersetOf<T1>,
sourcefn to_superset(&self) -> UnitDualQuaternion<T2>
fn to_superset(&self) -> UnitDualQuaternion<T2>
The inclusion map: converts
self
to the equivalent element of its superset.sourcefn 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).sourcefn 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.sourcefn from_superset(element: &T) -> Option<Self>
fn from_superset(element: &T) -> Option<Self>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more