Struct heron::rapier_plugin::rapier::parry::na::geometry::Translation [−][src]
#[repr(C)]pub struct Translation<T, const D: usize> { pub vector: Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>, }
A translation.
Fields
vector: Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
The translation coordinates, i.e., how much is added to a point’s coordinates when it is translated.
Implementations
impl<T, const D: usize> Translation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn from_vector(
vector: Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Translation<T, D>
[src]
vector: Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Translation<T, D>
Use ::from
instead.
Creates a new translation from the given vector.
#[must_use = "Did you mean to use inverse_mut()?"]pub fn inverse(&self) -> Translation<T, D> where
T: ClosedNeg,
[src]
T: ClosedNeg,
Inverts self
.
Example
let t = Translation3::new(1.0, 2.0, 3.0); assert_eq!(t * t.inverse(), Translation3::identity()); assert_eq!(t.inverse() * t, Translation3::identity()); // Work in all dimensions. let t = Translation2::new(1.0, 2.0); assert_eq!(t * t.inverse(), Translation2::identity()); assert_eq!(t.inverse() * t, Translation2::identity());
pub fn to_homogeneous(
&self
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer> where
T: Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
&self
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer> where
T: Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
Converts this translation into its equivalent homogeneous transformation matrix.
Example
let t = Translation3::new(10.0, 20.0, 30.0); let expected = Matrix4::new(1.0, 0.0, 0.0, 10.0, 0.0, 1.0, 0.0, 20.0, 0.0, 0.0, 1.0, 30.0, 0.0, 0.0, 0.0, 1.0); assert_eq!(t.to_homogeneous(), expected); let t = Translation2::new(10.0, 20.0); let expected = Matrix3::new(1.0, 0.0, 10.0, 0.0, 1.0, 20.0, 0.0, 0.0, 1.0); assert_eq!(t.to_homogeneous(), expected);
pub fn inverse_mut(&mut self) where
T: ClosedNeg,
[src]
T: ClosedNeg,
Inverts self
in-place.
Example
let t = Translation3::new(1.0, 2.0, 3.0); let mut inv_t = Translation3::new(1.0, 2.0, 3.0); inv_t.inverse_mut(); assert_eq!(t * inv_t, Translation3::identity()); assert_eq!(inv_t * t, Translation3::identity()); // Work in all dimensions. let t = Translation2::new(1.0, 2.0); let mut inv_t = Translation2::new(1.0, 2.0); inv_t.inverse_mut(); assert_eq!(t * inv_t, Translation2::identity()); assert_eq!(inv_t * t, Translation2::identity());
impl<T, const D: usize> Translation<T, D> where
T: Scalar + ClosedAdd<T>,
[src]
T: Scalar + ClosedAdd<T>,
pub fn transform_point(&self, pt: &Point<T, D>) -> Point<T, D>
[src]
Translate the given point.
This is the same as the multiplication self * pt
.
Example
let t = Translation3::new(1.0, 2.0, 3.0); let transformed_point = t.transform_point(&Point3::new(4.0, 5.0, 6.0)); assert_eq!(transformed_point, Point3::new(5.0, 7.0, 9.0));
impl<T, const D: usize> Translation<T, D> where
T: Scalar + ClosedSub<T>,
[src]
T: Scalar + ClosedSub<T>,
pub fn inverse_transform_point(&self, pt: &Point<T, D>) -> Point<T, D>
[src]
Translate the given point by the inverse of this translation.
Example
let t = Translation3::new(1.0, 2.0, 3.0); let transformed_point = t.inverse_transform_point(&Point3::new(4.0, 5.0, 6.0)); assert_eq!(transformed_point, Point3::new(3.0, 3.0, 3.0));
impl<T, const D: usize> Translation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn identity() -> Translation<T, D> where
T: Zero,
[src]
T: Zero,
Creates a new identity translation.
Example
let t = Translation2::identity(); let p = Point2::new(1.0, 2.0); assert_eq!(t * p, p); // Works in all dimensions. let t = Translation3::identity(); let p = Point3::new(1.0, 2.0, 3.0); assert_eq!(t * p, p);
pub fn cast<To>(self) -> Translation<To, D> where
To: Scalar,
Translation<To, D>: SupersetOf<Translation<T, D>>,
[src]
To: Scalar,
Translation<To, D>: SupersetOf<Translation<T, D>>,
Cast the components of self
to another type.
Example
let tra = Translation2::new(1.0f64, 2.0); let tra2 = tra.cast::<f32>(); assert_eq!(tra2, Translation2::new(1.0f32, 2.0));
impl<T> Translation<T, 1_usize>
[src]
pub const fn new(x: T) -> Translation<T, 1_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation1::new(1.0); assert!(t.vector.x == 1.0);
impl<T> Translation<T, 2_usize>
[src]
pub const fn new(x: T, y: T) -> Translation<T, 2_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation2::new(1.0, 2.0); assert!(t.vector.x == 1.0 && t.vector.y == 2.0);
impl<T> Translation<T, 3_usize>
[src]
pub const fn new(x: T, y: T, z: T) -> Translation<T, 3_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation3::new(1.0, 2.0, 3.0); assert!(t.vector.x == 1.0 && t.vector.y == 2.0 && t.vector.z == 3.0);
impl<T> Translation<T, 4_usize>
[src]
pub const fn new(x: T, y: T, z: T, w: T) -> Translation<T, 4_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation4::new(1.0, 2.0, 3.0, 4.0); assert!(t.vector.x == 1.0 && t.vector.y == 2.0 && t.vector.z == 3.0 && t.vector.w == 4.0);
impl<T> Translation<T, 5_usize>
[src]
pub const fn new(x: T, y: T, z: T, w: T, a: T) -> Translation<T, 5_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation5::new(1.0, 2.0, 3.0, 4.0, 5.0); assert!(t.vector.x == 1.0 && t.vector.y == 2.0 && t.vector.z == 3.0 && t.vector.w == 4.0 && t.vector.a == 5.0);
impl<T> Translation<T, 6_usize>
[src]
pub const fn new(x: T, y: T, z: T, w: T, a: T, b: T) -> Translation<T, 6_usize>
[src]
Initializes this translation from its components.
Example
let t = Translation6::new(1.0, 2.0, 3.0, 4.0, 5.0, 6.0); assert!(t.vector.x == 1.0 && t.vector.y == 2.0 && t.vector.z == 3.0 && t.vector.w == 4.0 && t.vector.a == 5.0 && t.vector.b == 6.0);
Trait Implementations
impl<T, const D: usize> AbsDiffEq<Translation<T, D>> for Translation<T, D> where
T: Scalar + AbsDiffEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + AbsDiffEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
type Epsilon = <T as AbsDiffEq<T>>::Epsilon
Used for specifying relative comparisons.
pub fn default_epsilon(
) -> <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
[src]
) -> <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
pub fn abs_diff_eq(
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
) -> bool
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
impl<T, const D: usize> Clone for Translation<T, D> where
T: Scalar,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Clone,
[src]
T: Scalar,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Clone,
pub fn clone(&self) -> Translation<T, D>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T, const D: usize> Copy for Translation<T, D> where
T: Scalar + Copy,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Copy,
[src]
T: Scalar + Copy,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Copy,
impl<T, const D: usize> Debug for Translation<T, D> where
T: Debug,
[src]
T: Debug,
impl<T> Deref for Translation<T, 1_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = X<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 1_usize> as Deref>::Target
[src]
impl<T> Deref for Translation<T, 5_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = XYZWA<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 5_usize> as Deref>::Target
[src]
impl<T> Deref for Translation<T, 2_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = XY<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 2_usize> as Deref>::Target
[src]
impl<T> Deref for Translation<T, 3_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = XYZ<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 3_usize> as Deref>::Target
[src]
impl<T> Deref for Translation<T, 6_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = XYZWAB<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 6_usize> as Deref>::Target
[src]
impl<T> Deref for Translation<T, 4_usize> where
T: Scalar,
[src]
T: Scalar,
type Target = XYZW<T>
The resulting type after dereferencing.
pub fn deref(&self) -> &<Translation<T, 4_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 2_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 2_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 4_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 4_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 3_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 3_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 1_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 1_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 6_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 6_usize> as Deref>::Target
[src]
impl<T> DerefMut for Translation<T, 5_usize> where
T: Scalar,
[src]
T: Scalar,
pub fn deref_mut(&mut self) -> &mut <Translation<T, 5_usize> as Deref>::Target
[src]
impl<T, const D: usize> Display for Translation<T, D> where
T: Scalar + Display,
[src]
T: Scalar + Display,
impl<'a, 'b, T> Div<&'a Unit<DualQuaternion<T>>> for &'b Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'a Unit<DualQuaternion<T>>
) -> <&'b Translation<T, 3_usize> as Div<&'a Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: &'a Unit<DualQuaternion<T>>
) -> <&'b Translation<T, 3_usize> as Div<&'a Unit<DualQuaternion<T>>>>::Output
impl<'a, 'b, T, C, const D: usize> Div<&'b Transform<T, C, D>> for &'a Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Translation<T, D> as Div<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Translation<T, D> as Div<&'b Transform<T, C, D>>>::Output
impl<'b, T, C, const D: usize> Div<&'b Transform<T, C, D>> for Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Transform<T, C, D>
) -> <Translation<T, D> as Div<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <Translation<T, D> as Div<&'b Transform<T, C, D>>>::Output
impl<'a, 'b, T> Div<&'b Translation<T, 3_usize>> for &'a Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Div<&'b Translation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Div<&'b Translation<T, 3_usize>>>::Output
impl<'b, T> Div<&'b Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Div<&'b Translation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Div<&'b Translation<T, 3_usize>>>::Output
impl<'b, T, const D: usize> Div<&'b Translation<T, D>> for Translation<T, D> where
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Translation<T, D>
) -> <Translation<T, D> as Div<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Translation<T, D> as Div<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Div<&'b Translation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Translation<T, D>
) -> <&'a Transform<T, C, D> as Div<&'b Translation<T, D>>>::Output
[src]
self,
rhs: &'b Translation<T, D>
) -> <&'a Transform<T, C, D> as Div<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Div<&'b Translation<T, D>> for &'a Translation<T, D> where
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Translation<T, D>
) -> <&'a Translation<T, D> as Div<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Translation<T, D> as Div<&'b Translation<T, D>>>::Output
impl<'b, T, C, const D: usize> Div<&'b Translation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Translation<T, D>
) -> <Transform<T, C, D> as Div<&'b Translation<T, D>>>::Output
[src]
self,
rhs: &'b Translation<T, D>
) -> <Transform<T, C, D> as Div<&'b Translation<T, D>>>::Output
impl<'b, T> Div<&'b Unit<DualQuaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Div<&'b Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Div<&'b Unit<DualQuaternion<T>>>>::Output
impl<T, C, const D: usize> Div<Transform<T, C, D>> for Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Transform<T, C, D>
) -> <Translation<T, D> as Div<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <Translation<T, D> as Div<Transform<T, C, D>>>::Output
impl<'a, T, C, const D: usize> Div<Transform<T, C, D>> for &'a Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Transform<T, C, D>
) -> <&'a Translation<T, D> as Div<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <&'a Translation<T, D> as Div<Transform<T, C, D>>>::Output
impl<T> Div<Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Div<Translation<T, 3_usize>>>::Output
[src]
self,
rhs: Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Div<Translation<T, 3_usize>>>::Output
impl<'a, T> Div<Translation<T, 3_usize>> for &'a Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Div<Translation<T, 3_usize>>>::Output
[src]
self,
rhs: Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Div<Translation<T, 3_usize>>>::Output
impl<'a, T, const D: usize> Div<Translation<T, D>> for &'a Translation<T, D> where
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Translation<T, D>
) -> <&'a Translation<T, D> as Div<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Translation<T, D> as Div<Translation<T, D>>>::Output
impl<'a, T, C, const D: usize> Div<Translation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Translation<T, D>
) -> <&'a Transform<T, C, D> as Div<Translation<T, D>>>::Output
[src]
self,
rhs: Translation<T, D>
) -> <&'a Transform<T, C, D> as Div<Translation<T, D>>>::Output
impl<T, C, const D: usize> Div<Translation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Translation<T, D>
) -> <Transform<T, C, D> as Div<Translation<T, D>>>::Output
[src]
self,
rhs: Translation<T, D>
) -> <Transform<T, C, D> as Div<Translation<T, D>>>::Output
impl<T, const D: usize> Div<Translation<T, D>> for Translation<T, D> where
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedSub<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Translation<T, D>
) -> <Translation<T, D> as Div<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Translation<T, D> as Div<Translation<T, D>>>::Output
impl<'a, T> Div<Unit<DualQuaternion<T>>> for &'a Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<DualQuaternion<T>>
) -> <&'a Translation<T, 3_usize> as Div<Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: Unit<DualQuaternion<T>>
) -> <&'a Translation<T, 3_usize> as Div<Unit<DualQuaternion<T>>>>::Output
impl<T> Div<Unit<DualQuaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Div<Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Div<Unit<DualQuaternion<T>>>>::Output
impl<'b, T> DivAssign<&'b Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Translation<T, 3_usize>)
[src]
impl<'b, T, C, const D: usize> DivAssign<&'b Translation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn div_assign(&mut self, rhs: &'b Translation<T, D>)
[src]
impl<'b, T, const D: usize> DivAssign<&'b Translation<T, D>> for Translation<T, D> where
T: Scalar + ClosedSub<T>,
[src]
T: Scalar + ClosedSub<T>,
pub fn div_assign(&mut self, right: &'b Translation<T, D>)
[src]
impl<T> DivAssign<Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Translation<T, 3_usize>)
[src]
impl<T, C, const D: usize> DivAssign<Translation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn div_assign(&mut self, rhs: Translation<T, D>)
[src]
impl<T, const D: usize> DivAssign<Translation<T, D>> for Translation<T, D> where
T: Scalar + ClosedSub<T>,
[src]
T: Scalar + ClosedSub<T>,
pub fn div_assign(&mut self, right: Translation<T, D>)
[src]
impl<T, const D: usize> Eq for Translation<T, D> where
T: Scalar + Eq,
[src]
T: Scalar + Eq,
impl<T, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 16]> for Translation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 16]>,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 16]>,
<T as SimdValue>::Element: Scalar,
pub fn from(
arr: [Translation<<T as SimdValue>::Element, D>; 16]
) -> Translation<T, D>
[src]
arr: [Translation<<T as SimdValue>::Element, D>; 16]
) -> Translation<T, D>
impl<T, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 2]> for Translation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 2]>,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 2]>,
<T as SimdValue>::Element: Scalar,
pub fn from(
arr: [Translation<<T as SimdValue>::Element, D>; 2]
) -> Translation<T, D>
[src]
arr: [Translation<<T as SimdValue>::Element, D>; 2]
) -> Translation<T, D>
impl<T, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 4]> for Translation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 4]>,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 4]>,
<T as SimdValue>::Element: Scalar,
pub fn from(
arr: [Translation<<T as SimdValue>::Element, D>; 4]
) -> Translation<T, D>
[src]
arr: [Translation<<T as SimdValue>::Element, D>; 4]
) -> Translation<T, D>
impl<T, const D: usize> From<[Translation<<T as SimdValue>::Element, D>; 8]> for Translation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 8]>,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 8]>,
<T as SimdValue>::Element: Scalar,
pub fn from(
arr: [Translation<<T as SimdValue>::Element, D>; 8]
) -> Translation<T, D>
[src]
arr: [Translation<<T as SimdValue>::Element, D>; 8]
) -> Translation<T, D>
impl<T, const D: usize> From<Matrix<T, Const<D>, Const<1_usize>, <DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer>> for Translation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn from(
vector: Matrix<T, Const<D>, Const<1_usize>, <DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer>
) -> Translation<T, D>
[src]
vector: Matrix<T, Const<D>, Const<1_usize>, <DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer>
) -> Translation<T, D>
impl<T, R, const D: usize> From<Translation<T, D>> for Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
pub fn from(tra: Translation<T, D>) -> Isometry<T, R, D>
[src]
impl<T, const D: usize> From<Translation<T, D>> for Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer> where
T: Scalar + Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T, Const<D>, Const<1_usize>>,
pub fn from(
t: Translation<T, D>
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
[src]
t: Translation<T, D>
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
impl<T, const D: usize> Hash for Translation<T, D> where
T: Scalar + Hash,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Hash,
[src]
T: Scalar + Hash,
<DefaultAllocator as Allocator<T, Const<D>, Const<1_usize>>>::Buffer: Hash,
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoBevy<Vec3> for Translation<f32, 3_usize>
[src]
impl IntoRapier<Translation<f32, 3_usize>> for Vec3
[src]
pub fn into_rapier(self) -> Translation<f32, 3_usize>
[src]
impl<'a, 'b, T> Mul<&'a Unit<DualQuaternion<T>>> for &'b Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'a Unit<DualQuaternion<T>>
) -> <&'b Translation<T, 3_usize> as Mul<&'a Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: &'a Unit<DualQuaternion<T>>
) -> <&'b Translation<T, 3_usize> as Mul<&'a Unit<DualQuaternion<T>>>>::Output
impl<'a, 'b, T, R, const D: usize> Mul<&'b Isometry<T, R, D>> for &'a Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Isometry<T, R, D>
) -> <&'a Translation<T, D> as Mul<&'b Isometry<T, R, D>>>::Output
[src]
self,
right: &'b Isometry<T, R, D>
) -> <&'a Translation<T, D> as Mul<&'b Isometry<T, R, D>>>::Output
impl<'b, T, R, const D: usize> Mul<&'b Isometry<T, R, D>> for Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Isometry<T, R, D>
) -> <Translation<T, D> as Mul<&'b Isometry<T, R, D>>>::Output
[src]
self,
right: &'b Isometry<T, R, D>
) -> <Translation<T, D> as Mul<&'b Isometry<T, R, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Point<T, D>> for Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Point<T, D>
) -> <Translation<T, D> as Mul<&'b Point<T, D>>>::Output
[src]
self,
right: &'b Point<T, D>
) -> <Translation<T, D> as Mul<&'b Point<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Point<T, D>> for &'a Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Point<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Point<T, D>>>::Output
[src]
self,
right: &'b Point<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Point<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Rotation<T, D>> for &'a Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Rotation<T, D>> for Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, R, const D: usize> Mul<&'b Similarity<T, R, D>> for Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Similarity<T, R, D>
) -> <Translation<T, D> as Mul<&'b Similarity<T, R, D>>>::Output
[src]
self,
right: &'b Similarity<T, R, D>
) -> <Translation<T, D> as Mul<&'b Similarity<T, R, D>>>::Output
impl<'a, 'b, T, R, const D: usize> Mul<&'b Similarity<T, R, D>> for &'a Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Similarity<T, R, D>
) -> <&'a Translation<T, D> as Mul<&'b Similarity<T, R, D>>>::Output
[src]
self,
right: &'b Similarity<T, R, D>
) -> <&'a Translation<T, D> as Mul<&'b Similarity<T, R, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Mul<&'b Transform<T, C, D>> for &'a Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Translation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Translation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
impl<'b, T, C, const D: usize> Mul<&'b Transform<T, C, D>> for Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Transform<T, C, D>
) -> <Translation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <Translation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
impl<'b, T> Mul<&'b Translation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<&'b Translation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<&'b Translation<T, 2_usize>>>::Output
impl<'a, 'b, T> Mul<&'b Translation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<&'b Translation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<&'b Translation<T, 2_usize>>>::Output
impl<'b, T> Mul<&'b Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
impl<'a, 'b, T> Mul<&'b Translation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
[src]
self,
right: &'b Translation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
impl<'a, 'b, T> Mul<&'b Translation<T, 3_usize>> for &'a Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
impl<'b, T> Mul<&'b Translation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
[src]
self,
right: &'b Translation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<&'b Translation<T, 3_usize>>>::Output
impl<'a, 'b, T, R, const D: usize> Mul<&'b Translation<T, D>> for &'a Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <&'a Isometry<T, R, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Isometry<T, R, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Translation<T, D>> for Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <Translation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Translation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Translation<T, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Translation<T, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, R, const D: usize> Mul<&'b Translation<T, D>> for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <Similarity<T, R, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Similarity<T, R, D> as Mul<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, R, const D: usize> Mul<&'b Translation<T, D>> for &'a Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <&'a Similarity<T, R, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Similarity<T, R, D> as Mul<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Translation<T, D>> for &'a Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, C, const D: usize> Mul<&'b Translation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, D>
) -> <Transform<T, C, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
rhs: &'b Translation<T, D>
) -> <Transform<T, C, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, R, const D: usize> Mul<&'b Translation<T, D>> for Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <Isometry<T, R, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Isometry<T, R, D> as Mul<&'b Translation<T, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Mul<&'b Translation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Translation<T, D>
) -> <&'a Transform<T, C, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
rhs: &'b Translation<T, D>
) -> <&'a Transform<T, C, D> as Mul<&'b Translation<T, D>>>::Output
impl<'a, 'b, T> Mul<&'b Unit<Complex<T>>> for &'a Translation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Complex<T>>
) -> <&'a Translation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
[src]
self,
right: &'b Unit<Complex<T>>
) -> <&'a Translation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
impl<'b, T> Mul<&'b Unit<Complex<T>>> for Translation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Complex<T>>
) -> <Translation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
[src]
self,
right: &'b Unit<Complex<T>>
) -> <Translation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
impl<'b, T> Mul<&'b Unit<DualQuaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Mul<&'b Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Mul<&'b Unit<DualQuaternion<T>>>>::Output
impl<'b, T> Mul<&'b Unit<Quaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Quaternion<T>>
) -> <Translation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
right: &'b Unit<Quaternion<T>>
) -> <Translation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
impl<'a, 'b, T> Mul<&'b Unit<Quaternion<T>>> for &'a Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Quaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
right: &'b Unit<Quaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
impl<T, R, const D: usize> Mul<Isometry<T, R, D>> for Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Isometry<T, R, D>
) -> <Translation<T, D> as Mul<Isometry<T, R, D>>>::Output
[src]
self,
right: Isometry<T, R, D>
) -> <Translation<T, D> as Mul<Isometry<T, R, D>>>::Output
impl<'a, T, R, const D: usize> Mul<Isometry<T, R, D>> for &'a Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Isometry<T, R, D>
) -> <&'a Translation<T, D> as Mul<Isometry<T, R, D>>>::Output
[src]
self,
right: Isometry<T, R, D>
) -> <&'a Translation<T, D> as Mul<Isometry<T, R, D>>>::Output
impl<T, const D: usize> Mul<Point<T, D>> for Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Point<T, D>
) -> <Translation<T, D> as Mul<Point<T, D>>>::Output
[src]
self,
right: Point<T, D>
) -> <Translation<T, D> as Mul<Point<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Point<T, D>> for &'a Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Point<T, D>
) -> <&'a Translation<T, D> as Mul<Point<T, D>>>::Output
[src]
self,
right: Point<T, D>
) -> <&'a Translation<T, D> as Mul<Point<T, D>>>::Output
impl<T, const D: usize> Mul<Rotation<T, D>> for Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <Translation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <Translation<T, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Rotation<T, D>> for &'a Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<Rotation<T, D>>>::Output
impl<T, R, const D: usize> Mul<Similarity<T, R, D>> for Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Similarity<T, R, D>
) -> <Translation<T, D> as Mul<Similarity<T, R, D>>>::Output
[src]
self,
right: Similarity<T, R, D>
) -> <Translation<T, D> as Mul<Similarity<T, R, D>>>::Output
impl<'a, T, R, const D: usize> Mul<Similarity<T, R, D>> for &'a Translation<T, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Similarity<T, R, D>
) -> <&'a Translation<T, D> as Mul<Similarity<T, R, D>>>::Output
[src]
self,
right: Similarity<T, R, D>
) -> <&'a Translation<T, D> as Mul<Similarity<T, R, D>>>::Output
impl<T, C, const D: usize> Mul<Transform<T, C, D>> for Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Transform<T, C, D>
) -> <Translation<T, D> as Mul<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <Translation<T, D> as Mul<Transform<T, C, D>>>::Output
impl<'a, T, C, const D: usize> Mul<Transform<T, C, D>> for &'a Translation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Transform<T, C, D>
) -> <&'a Translation<T, D> as Mul<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <&'a Translation<T, D> as Mul<Transform<T, C, D>>>::Output
impl<T> Mul<Translation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<Translation<T, 2_usize>>>::Output
[src]
self,
rhs: Translation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<Translation<T, 2_usize>>>::Output
impl<'a, T> Mul<Translation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<Translation<T, 2_usize>>>::Output
[src]
self,
rhs: Translation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<Translation<T, 2_usize>>>::Output
impl<T> Mul<Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
[src]
self,
rhs: Translation<T, 3_usize>
) -> <Unit<DualQuaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
impl<T> Mul<Translation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
[src]
self,
right: Translation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
impl<'a, T> Mul<Translation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
[src]
self,
right: Translation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
impl<'a, T> Mul<Translation<T, 3_usize>> for &'a Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
[src]
self,
rhs: Translation<T, 3_usize>
) -> <&'a Unit<DualQuaternion<T>> as Mul<Translation<T, 3_usize>>>::Output
impl<'a, T, C, const D: usize> Mul<Translation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, D>
) -> <&'a Transform<T, C, D> as Mul<Translation<T, D>>>::Output
[src]
self,
rhs: Translation<T, D>
) -> <&'a Transform<T, C, D> as Mul<Translation<T, D>>>::Output
impl<T, C, const D: usize> Mul<Translation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Translation<T, D>
) -> <Transform<T, C, D> as Mul<Translation<T, D>>>::Output
[src]
self,
rhs: Translation<T, D>
) -> <Transform<T, C, D> as Mul<Translation<T, D>>>::Output
impl<'a, T, R, const D: usize> Mul<Translation<T, D>> for &'a Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <&'a Isometry<T, R, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Isometry<T, R, D> as Mul<Translation<T, D>>>::Output
impl<'a, T, R, const D: usize> Mul<Translation<T, D>> for &'a Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <&'a Similarity<T, R, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Similarity<T, R, D> as Mul<Translation<T, D>>>::Output
impl<T, const D: usize> Mul<Translation<T, D>> for Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <Translation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Translation<T, D> as Mul<Translation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Translation<T, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<Translation<T, D>>>::Output
impl<T, const D: usize> Mul<Translation<T, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <Rotation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Rotation<T, D> as Mul<Translation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Translation<T, D>> for &'a Translation<T, D> where
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
[src]
T: ClosedAdd<T> + Scalar,
ShapeConstraint: SameNumberOfRows<Const<D>, Const<D>>,
ShapeConstraint: SameNumberOfColumns<Const<1_usize>, Const<1_usize>>,
<ShapeConstraint as SameNumberOfRows<Const<D>, Const<D>>>::Representative == Const<D>,
<ShapeConstraint as SameNumberOfColumns<Const<1_usize>, Const<1_usize>>>::Representative == Const<1_usize>,
type Output = Translation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <&'a Translation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Translation<T, D> as Mul<Translation<T, D>>>::Output
impl<T, R, const D: usize> Mul<Translation<T, D>> for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <Similarity<T, R, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Similarity<T, R, D> as Mul<Translation<T, D>>>::Output
impl<T, R, const D: usize> Mul<Translation<T, D>> for Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, R, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <Isometry<T, R, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Isometry<T, R, D> as Mul<Translation<T, D>>>::Output
impl<T> Mul<Unit<Complex<T>>> for Translation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Complex<T>>
) -> <Translation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
[src]
self,
right: Unit<Complex<T>>
) -> <Translation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
impl<'a, T> Mul<Unit<Complex<T>>> for &'a Translation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Complex<T>>, 2_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Complex<T>>
) -> <&'a Translation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
[src]
self,
right: Unit<Complex<T>>
) -> <&'a Translation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
impl<T> Mul<Unit<DualQuaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Mul<Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: Unit<DualQuaternion<T>>
) -> <Translation<T, 3_usize> as Mul<Unit<DualQuaternion<T>>>>::Output
impl<'a, T> Mul<Unit<DualQuaternion<T>>> for &'a Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<DualQuaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<DualQuaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<Unit<DualQuaternion<T>>>>::Output
[src]
self,
rhs: Unit<DualQuaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<Unit<DualQuaternion<T>>>>::Output
impl<T> Mul<Unit<Quaternion<T>>> for Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Quaternion<T>>
) -> <Translation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
[src]
self,
right: Unit<Quaternion<T>>
) -> <Translation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
impl<'a, T> Mul<Unit<Quaternion<T>>> for &'a Translation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Unit<Quaternion<T>>, 3_usize>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Quaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
[src]
self,
right: Unit<Quaternion<T>>
) -> <&'a Translation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
impl<'b, T> MulAssign<&'b Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Translation<T, 3_usize>)
[src]
impl<'b, T, C, const D: usize> MulAssign<&'b Translation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn mul_assign(&mut self, rhs: &'b Translation<T, D>)
[src]
impl<'b, T, R, const D: usize> MulAssign<&'b Translation<T, D>> for Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Translation<T, D>)
[src]
impl<'b, T, const D: usize> MulAssign<&'b Translation<T, D>> for Translation<T, D> where
T: Scalar + ClosedAdd<T>,
[src]
T: Scalar + ClosedAdd<T>,
pub fn mul_assign(&mut self, right: &'b Translation<T, D>)
[src]
impl<'b, T, R, const D: usize> MulAssign<&'b Translation<T, D>> for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Translation<T, D>)
[src]
impl<T> MulAssign<Translation<T, 3_usize>> for Unit<DualQuaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Translation<T, 3_usize>)
[src]
impl<T, R, const D: usize> MulAssign<Translation<T, D>> for Isometry<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Translation<T, D>)
[src]
impl<T, R, const D: usize> MulAssign<Translation<T, D>> for Similarity<T, R, D> where
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
R: AbstractRotation<T, D>,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Translation<T, D>)
[src]
impl<T, const D: usize> MulAssign<Translation<T, D>> for Translation<T, D> where
T: Scalar + ClosedAdd<T>,
[src]
T: Scalar + ClosedAdd<T>,
pub fn mul_assign(&mut self, right: Translation<T, D>)
[src]
impl<T, C, const D: usize> MulAssign<Translation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn mul_assign(&mut self, rhs: Translation<T, D>)
[src]
impl<T, const D: usize> One for Translation<T, D> where
T: Scalar + Zero + ClosedAdd<T>,
[src]
T: Scalar + Zero + ClosedAdd<T>,
pub fn one() -> Translation<T, D>
[src]
pub fn set_one(&mut self)
[src]
pub fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
impl<T, const D: usize> PartialEq<Translation<T, D>> for Translation<T, D> where
T: Scalar + PartialEq<T>,
[src]
T: Scalar + PartialEq<T>,
pub fn eq(&self, right: &Translation<T, D>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T, const D: usize> RelativeEq<Translation<T, D>> for Translation<T, D> where
T: Scalar + RelativeEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + RelativeEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
pub fn default_max_relative(
) -> <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
[src]
) -> <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
pub fn relative_eq(
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon,
max_relative: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon,
max_relative: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon
) -> bool
pub fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<T, const D: usize> SimdValue for Translation<T, D> where
T: Scalar + SimdValue,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + SimdValue,
<T as SimdValue>::Element: Scalar,
type Element = Translation<<T as SimdValue>::Element, D>
The type of the elements of each lane of this SIMD value.
type SimdBool = <T as SimdValue>::SimdBool
Type of the result of comparing two SIMD values like self
.
pub fn lanes() -> usize
[src]
pub fn splat(
val: <Translation<T, D> as SimdValue>::Element
) -> Translation<T, D>
[src]
val: <Translation<T, D> as SimdValue>::Element
) -> Translation<T, D>
pub fn extract(&self, i: usize) -> <Translation<T, D> as SimdValue>::Element
[src]
pub unsafe fn extract_unchecked(
&self,
i: usize
) -> <Translation<T, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Translation<T, D> as SimdValue>::Element
pub fn replace(
&mut self,
i: usize,
val: <Translation<T, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Translation<T, D> as SimdValue>::Element
)
pub unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Translation<T, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Translation<T, D> as SimdValue>::Element
)
pub fn select(
self,
cond: <Translation<T, D> as SimdValue>::SimdBool,
other: Translation<T, D>
) -> Translation<T, D>
[src]
self,
cond: <Translation<T, D> as SimdValue>::SimdBool,
other: Translation<T, D>
) -> Translation<T, D>
pub fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self where
Self: Clone,
Self: Clone,
pub fn zip_map_lanes(
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
impl<T1, T2, R, const D: usize> SubsetOf<Isometry<T2, R, D>> for Translation<T1, D> where
R: AbstractRotation<T2, D>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
R: AbstractRotation<T2, D>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Isometry<T2, R, D>
[src]
pub fn is_in_subset(iso: &Isometry<T2, R, D>) -> bool
[src]
pub fn from_superset_unchecked(iso: &Isometry<T2, R, D>) -> Translation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, const D: usize> SubsetOf<Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>> for Translation<T1, D> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn to_superset(
&self
) -> Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
[src]
&self
) -> Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
pub fn is_in_subset(
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> bool
pub fn from_superset_unchecked(
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> Translation<T1, D>
[src]
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> Translation<T1, D>
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, R, const D: usize> SubsetOf<Similarity<T2, R, D>> for Translation<T1, D> where
R: AbstractRotation<T2, D>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
R: AbstractRotation<T2, D>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Similarity<T2, R, D>
[src]
pub fn is_in_subset(sim: &Similarity<T2, R, D>) -> bool
[src]
pub fn from_superset_unchecked(sim: &Similarity<T2, R, D>) -> Translation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, C, const D: usize> SubsetOf<Transform<T2, C, D>> for Translation<T1, D> where
C: SuperTCategoryOf<TAffine>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: SuperTCategoryOf<TAffine>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn to_superset(&self) -> Transform<T2, C, D>
[src]
pub fn is_in_subset(t: &Transform<T2, C, D>) -> bool
[src]
pub fn from_superset_unchecked(t: &Transform<T2, C, D>) -> Translation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, const D: usize> SubsetOf<Translation<T2, D>> for Translation<T1, D> where
T2: Scalar + SupersetOf<T1>,
T1: Scalar,
[src]
T2: Scalar + SupersetOf<T1>,
T1: Scalar,
pub fn to_superset(&self) -> Translation<T2, D>
[src]
pub fn is_in_subset(rot: &Translation<T2, D>) -> bool
[src]
pub fn from_superset_unchecked(rot: &Translation<T2, D>) -> Translation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Translation<T1, 3_usize> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Unit<DualQuaternion<T2>>
[src]
pub fn is_in_subset(dq: &Unit<DualQuaternion<T2>>) -> bool
[src]
pub fn from_superset_unchecked(
dq: &Unit<DualQuaternion<T2>>
) -> Translation<T1, 3_usize>
[src]
dq: &Unit<DualQuaternion<T2>>
) -> Translation<T1, 3_usize>
pub fn from_superset(element: &T) -> Option<Self>
impl<T, const D: usize> UlpsEq<Translation<T, D>> for Translation<T, D> where
T: Scalar + UlpsEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + UlpsEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
pub fn default_max_ulps() -> u32
[src]
pub fn ulps_eq(
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon,
max_ulps: u32
) -> bool
[src]
&self,
other: &Translation<T, D>,
epsilon: <Translation<T, D> as AbsDiffEq<Translation<T, D>>>::Epsilon,
max_ulps: u32
) -> bool
pub fn ulps_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_ulps: u32
) -> bool
Auto Trait Implementations
impl<T, const D: usize> RefUnwindSafe for Translation<T, D> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const D: usize> Send for Translation<T, D> where
T: Send,
T: Send,
impl<T, const D: usize> Sync for Translation<T, D> where
T: Sync,
T: Sync,
impl<T, const D: usize> Unpin for Translation<T, D> where
T: Unpin,
T: Unpin,
impl<T, const D: usize> UnwindSafe for Translation<T, D> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
T: Hash + ?Sized,
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
B: BuildHasher,
H: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Downcast<T> for T
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> DynEq for T where
T: Any + Eq,
T: Any + Eq,
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool
impl<T> DynHash for T where
T: DynEq + Hash,
T: DynEq + Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> One for T where
T: One,
T: One,
pub fn one() -> T
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Debug + Any,
[src]
T: Copy + PartialEq<T> + Debug + Any,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<T> Upcast<T> for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,