Struct nalgebra::geometry::Translation [−][src]
#[repr(C)]pub struct Translation<N: Scalar, D: DimName> where
DefaultAllocator: Allocator<N, D>, { pub vector: VectorN<N, D>, }
Expand description
A translation.
Fields
vector: VectorN<N, D>
The translation coordinates, i.e., how much is added to a point’s coordinates when it is translated.
Implementations
👎 Deprecated: Use ::from
instead.
Use ::from
instead.
Creates a new translation from the given vector.
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) -> MatrixN<N, DimNameSum<D, U1>> where
N: Zero + One,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>>,
pub fn to_homogeneous(&self) -> MatrixN<N, DimNameSum<D, U1>> where
N: Zero + One,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>>,
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);
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<N: Scalar + ClosedAdd, D: DimName> Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + ClosedAdd, D: DimName> Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
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<N: Scalar + ClosedSub, D: DimName> Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + ClosedSub, D: DimName> Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
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));
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: Scalar>(self) -> Translation<To, D> where
Translation<To, D>: SupersetOf<Self>,
DefaultAllocator: Allocator<To, D>,
pub fn cast<To: Scalar>(self) -> Translation<To, D> where
Translation<To, D>: SupersetOf<Self>,
DefaultAllocator: Allocator<To, 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));
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<N: Scalar + AbsDiffEq, D: DimName> AbsDiffEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
impl<N: Scalar + AbsDiffEq, D: DimName> AbsDiffEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
The default tolerance to use when testing values that are close together. Read more
A test for equality that uses the absolute difference to compute the approximate equality of two numbers. Read more
The inverse of AbsDiffEq::abs_diff_eq
.
impl<N: Scalar, D: DimName> Clone for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
Owned<N, D>: Clone,
impl<N: Scalar, D: DimName> Clone for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
Owned<N, D>: Clone,
impl<N: Debug + Scalar, D: Debug + DimName> Debug for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Debug + Scalar, D: Debug + DimName> Debug for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + Display, D: DimName> Display for Translation<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<usize, D>,
impl<N: Scalar + Display, D: DimName> Display for Translation<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<usize, D>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimName> Div<&'b Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, 'b, N, D: DimName> Div<&'b Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'b, N, D: DimName> Div<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> Div<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<&'b Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'a, 'b, N: SimdRealField> Div<&'b Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, 'b, N: SimdRealField> Div<&'b Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'b, N: SimdRealField> Div<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<'b, N: SimdRealField> Div<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimName> Div<Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, N, D: DimName> Div<Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<N, D: DimName> Div<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> Div<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Div<Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'a, N: SimdRealField> Div<Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<'a, N: SimdRealField> Div<Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<N: SimdRealField> Div<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<N: SimdRealField> Div<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the /
operator.
Performs the /
operation. Read more
impl<'b, N, D: DimName> DivAssign<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> DivAssign<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
Performs the /=
operation. Read more
impl<'b, N, D: DimNameAdd<U1>, C: TCategory> DivAssign<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategory> DivAssign<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
Performs the /=
operation. Read more
impl<'b, N: SimdRealField> DivAssign<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
impl<'b, N: SimdRealField> DivAssign<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
Performs the /=
operation. Read more
impl<N, D: DimName> DivAssign<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> DivAssign<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedSub,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
Performs the /=
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategory> DivAssign<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
impl<N, D: DimNameAdd<U1>, C: TCategory> DivAssign<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
Performs the /=
operation. Read more
impl<N: SimdRealField> DivAssign<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
impl<N: SimdRealField> DivAssign<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
Performs the /=
operation. Read more
impl<N: Scalar, D: DimName> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar, D: DimName> From<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + Zero + One, D: DimName> From<Translation<N, D>> for MatrixN<N, DimNameSum<D, U1>> where
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, D> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>>,
impl<N: Scalar + Zero + One, D: DimName> From<Translation<N, D>> for MatrixN<N, DimNameSum<D, U1>> where
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N, D> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>>,
Performs the conversion.
impl<N: SimdRealField, D: DimName, R: AbstractRotation<N, D>> From<Translation<N, D>> for Isometry<N, D, R> where
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R: AbstractRotation<N, D>> From<Translation<N, D>> for Isometry<N, D, R> where
DefaultAllocator: Allocator<N, D>,
Performs the conversion.
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Isometry<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Isometry<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Isometry<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Isometry<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N, D: DimName> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, 'b, N, D: DimName> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> Mul<&'b Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> Mul<&'b Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'b, N: SimdRealField, D: DimName> Mul<&'b Rotation<N, D>> for Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'b, N: SimdRealField, D: DimName> Mul<&'b Rotation<N, D>> for Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, 'b, N: SimdRealField, D: DimName> Mul<&'b Rotation<N, D>> for &'a Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, 'b, N: SimdRealField, D: DimName> Mul<&'b Rotation<N, D>> for &'a Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Similarity<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Similarity<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Similarity<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Similarity<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, 'b, N, D: DimName> Mul<&'b Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, 'b, N, D: DimName> Mul<&'b Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N, D: DimName> Mul<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> Mul<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for &'a Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for &'a Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName> Mul<&'b Translation<N, D>> for Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'b, N: SimdRealField, D: DimName> Mul<&'b Translation<N, D>> for Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, 'b, N: SimdRealField, D: DimName> Mul<&'b Translation<N, D>> for &'a Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, 'b, N: SimdRealField, D: DimName> Mul<&'b Translation<N, D>> for &'a Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for &'a Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, 'b, N: SimdRealField, D: DimName, R> Mul<&'b Translation<N, D>> for &'a Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'a, 'b, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<&'b Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U2>> for UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U2>> for UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U2>> for &'a UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U2>> for &'a UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for &'a UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, 'b, N: SimdRealField> Mul<&'b Translation<N, U3>> for &'a UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
impl<'b, N: SimdRealField> Mul<&'b Unit<Complex<N>>> for Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'b, N: SimdRealField> Mul<&'b Unit<Complex<N>>> for Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, 'b, N: SimdRealField> Mul<&'b Unit<Complex<N>>> for &'a Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'a, 'b, N: SimdRealField> Mul<&'b Unit<Complex<N>>> for &'a Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N: SimdRealField> Mul<&'b Unit<Quaternion<N>>> for Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'b, N: SimdRealField> Mul<&'b Unit<Quaternion<N>>> for Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, 'b, N: SimdRealField> Mul<&'b Unit<Quaternion<N>>> for &'a Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, 'b, N: SimdRealField> Mul<&'b Unit<Quaternion<N>>> for &'a Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField, D: DimName, R> Mul<Isometry<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> Mul<Isometry<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Isometry<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Isometry<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N, D: DimName> Mul<Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, N, D: DimName> Mul<Point<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> Mul<Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> Mul<Point<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<N: SimdRealField, D: DimName> Mul<Rotation<N, D>> for Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<N: SimdRealField, D: DimName> Mul<Rotation<N, D>> for Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, N: SimdRealField, D: DimName> Mul<Rotation<N, D>> for &'a Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, N: SimdRealField, D: DimName> Mul<Rotation<N, D>> for &'a Translation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<N: SimdRealField, D: DimName, R> Mul<Similarity<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> Mul<Similarity<N, D, R>> for Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, N: SimdRealField, D: DimName, R> Mul<Similarity<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Similarity<N, D, R>> for &'a Translation<N, D> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Transform<N, D, C>> for Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Transform<N, D, C>> for &'a Translation<N, D> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, DimNameSum<D, U1>>,
impl<'a, N, D: DimName> Mul<Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<'a, N, D: DimName> Mul<Translation<N, D>> for &'a Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N, D: DimName> Mul<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> Mul<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1> + SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D, Representative = D> + SameNumberOfColumns<U1, U1>,
type Output = Translation<N, D>
type Output = Translation<N, D>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for &'a Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for &'a Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName> Mul<Translation<N, D>> for Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<N: SimdRealField, D: DimName> Mul<Translation<N, D>> for Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, N: SimdRealField, D: DimName> Mul<Translation<N, D>> for &'a Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<'a, N: SimdRealField, D: DimName> Mul<Translation<N, D>> for &'a Rotation<N, D> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D, U1>,
impl<N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for &'a Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'a, N: SimdRealField, D: DimName, R> Mul<Translation<N, D>> for &'a Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
type Output = Similarity<N, D, R>
type Output = Similarity<N, D, R>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
impl<'a, N, D: DimNameAdd<U1>, C: TCategoryMul<TAffine>> Mul<Translation<N, D>> for &'a Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1> + Allocator<N, DimNameSum<D, U1>, U1>,
type Output = Transform<N, D, C::Representative>
type Output = Transform<N, D, C::Representative>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField> Mul<Translation<N, U2>> for UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<N: SimdRealField> Mul<Translation<N, U2>> for UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
impl<'a, N: SimdRealField> Mul<Translation<N, U2>> for &'a UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'a, N: SimdRealField> Mul<Translation<N, U2>> for &'a UnitComplex<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
impl<'a, N: SimdRealField> Mul<Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<'a, N: SimdRealField> Mul<Translation<N, U3>> for &'a UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField> Mul<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
impl<N: SimdRealField> Mul<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U3>,
type Output = UnitDualQuaternion<N>
type Output = UnitDualQuaternion<N>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField> Mul<Translation<N, U3>> for UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<N: SimdRealField> Mul<Translation<N, U3>> for UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
impl<'a, N: SimdRealField> Mul<Translation<N, U3>> for &'a UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, N: SimdRealField> Mul<Translation<N, U3>> for &'a UnitQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
impl<N: SimdRealField> Mul<Unit<Complex<N>>> for Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<N: SimdRealField> Mul<Unit<Complex<N>>> for Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, N: SimdRealField> Mul<Unit<Complex<N>>> for &'a Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
impl<'a, N: SimdRealField> Mul<Unit<Complex<N>>> for &'a Translation<N, U2> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U2, U1>,
type Output = Isometry<N, U2, UnitComplex<N>>
type Output = Isometry<N, U2, UnitComplex<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<N: SimdRealField> Mul<Unit<Quaternion<N>>> for Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<N: SimdRealField> Mul<Unit<Quaternion<N>>> for Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'a, N: SimdRealField> Mul<Unit<Quaternion<N>>> for &'a Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
impl<'a, N: SimdRealField> Mul<Unit<Quaternion<N>>> for &'a Translation<N, U3> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1> + Allocator<N, U3, U1>,
type Output = Isometry<N, U3, UnitQuaternion<N>>
type Output = Isometry<N, U3, UnitQuaternion<N>>
The resulting type after applying the *
operator.
Performs the *
operation. Read more
impl<'b, N, D: DimName> MulAssign<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
impl<'b, N, D: DimName> MulAssign<&'b Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
Performs the *=
operation. Read more
impl<'b, N: SimdRealField, D: DimName, R> MulAssign<&'b Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> MulAssign<&'b Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
Performs the *=
operation. Read more
impl<'b, N: SimdRealField, D: DimName, R> MulAssign<&'b Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<'b, N: SimdRealField, D: DimName, R> MulAssign<&'b Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
Performs the *=
operation. Read more
impl<'b, N, D: DimNameAdd<U1>, C: TCategory> MulAssign<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
impl<'b, N, D: DimNameAdd<U1>, C: TCategory> MulAssign<&'b Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
Performs the *=
operation. Read more
impl<'b, N: SimdRealField> MulAssign<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
impl<'b, N: SimdRealField> MulAssign<&'b Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
Performs the *=
operation. Read more
impl<N, D: DimName> MulAssign<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
impl<N, D: DimName> MulAssign<Translation<N, D>> for Translation<N, D> where
N: Scalar + ClosedAdd,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D> + SameNumberOfColumns<U1, U1>,
Performs the *=
operation. Read more
impl<N: SimdRealField, D: DimName, R> MulAssign<Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> MulAssign<Translation<N, D>> for Isometry<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
Performs the *=
operation. Read more
impl<N: SimdRealField, D: DimName, R> MulAssign<Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
impl<N: SimdRealField, D: DimName, R> MulAssign<Translation<N, D>> for Similarity<N, D, R> where
N::Element: SimdRealField,
R: AbstractRotation<N, D>,
DefaultAllocator: Allocator<N, D>,
Performs the *=
operation. Read more
impl<N, D: DimNameAdd<U1>, C: TCategory> MulAssign<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
impl<N, D: DimNameAdd<U1>, C: TCategory> MulAssign<Translation<N, D>> for Transform<N, D, C> where
N: Scalar + Zero + One + ClosedAdd + ClosedMul + RealField,
DefaultAllocator: Allocator<N, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N, D, U1>,
Performs the *=
operation. Read more
impl<N: SimdRealField> MulAssign<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
impl<N: SimdRealField> MulAssign<Translation<N, U3>> for UnitDualQuaternion<N> where
N::Element: SimdRealField,
DefaultAllocator: Allocator<N, U4, U1>,
Performs the *=
operation. Read more
impl<N: Scalar + Zero + ClosedAdd, D: DimName> One for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + Zero + ClosedAdd, D: DimName> One for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + PartialEq, D: DimName> PartialEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + PartialEq, D: DimName> PartialEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
impl<N: Scalar + RelativeEq, D: DimName> RelativeEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
impl<N: Scalar + RelativeEq, D: DimName> RelativeEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
The default relative tolerance for testing values that are far-apart. Read more
A test for equality that uses a relative comparison if the values are far apart.
The inverse of RelativeEq::relative_eq
.
type Element = Translation<N::Element, D>
type Element = Translation<N::Element, D>
The type of the elements of each lane of this SIMD value.
Extracts the i-th lane of self
without bound-checking.
Replaces the i-th lane of self
by val
. Read more
Replaces the i-th lane of self
by val
without bound-checking.
Merges self
and other
depending on the lanes of cond
. Read more
Applies a function to each lane of self
. Read more
impl<N1, N2, D: DimName, R> SubsetOf<Isometry<N2, D, R>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
impl<N1, N2, D: DimName, R> SubsetOf<Isometry<N2, D, R>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
The inclusion map: converts self
to the equivalent element of its superset.
Checks if element
is actually part of the subset Self
(and can be converted to it).
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D> + Allocator<N1, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N2, DimNameSum<D, U1>, DimNameSum<D, U1>>,
impl<N1, N2, D> SubsetOf<Matrix<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D> + Allocator<N1, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N2, DimNameSum<D, U1>, DimNameSum<D, U1>>,
The inclusion map: converts self
to the equivalent element of its superset.
Checks if element
is actually part of the subset Self
(and can be converted to it).
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
impl<N1, N2, D: DimName, R> SubsetOf<Similarity<N2, D, R>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
impl<N1, N2, D: DimName, R> SubsetOf<Similarity<N2, D, R>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
R: AbstractRotation<N2, D>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
The inclusion map: converts self
to the equivalent element of its superset.
Checks if element
is actually part of the subset Self
(and can be converted to it).
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D> + Allocator<N1, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N2, DimNameSum<D, U1>, DimNameSum<D, U1>>,
impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Translation<N1, D> where
N1: RealField,
N2: RealField + SupersetOf<N1>,
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D> + Allocator<N1, DimNameSum<D, U1>, DimNameSum<D, U1>> + Allocator<N2, DimNameSum<D, U1>, DimNameSum<D, U1>>,
The inclusion map: converts self
to the equivalent element of its superset.
Checks if element
is actually part of the subset Self
(and can be converted to it).
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
impl<N1, N2, D: DimName> SubsetOf<Translation<N2, D>> for Translation<N1, D> where
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
impl<N1, N2, D: DimName> SubsetOf<Translation<N2, D>> for Translation<N1, D> where
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D> + Allocator<N2, D>,
The inclusion map: converts self
to the equivalent element of its superset.
Checks if element
is actually part of the subset Self
(and can be converted to it).
Use with care! Same as self.to_superset
but without any property checks. Always succeeds.
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
impl<N: Scalar + UlpsEq, D: DimName> UlpsEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
impl<N: Scalar + UlpsEq, D: DimName> UlpsEq<Translation<N, D>> for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
N::Epsilon: Copy,
The default ULPs to tolerate when testing values that are far-apart. Read more
A test for equality that uses units in the last place (ULP) if the values are far apart.
impl<N: Scalar + Copy, D: DimName> Copy for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
Owned<N, D>: Copy,
impl<N: Scalar + Eq, D: DimName> Eq for Translation<N, D> where
DefaultAllocator: Allocator<N, D>,
Auto Trait Implementations
impl<N, D> !RefUnwindSafe for Translation<N, D>
impl<N, D> !Send for Translation<N, D>
impl<N, D> !Sync for Translation<N, D>
impl<N, D> !Unpin for Translation<N, D>
impl<N, D> !UnwindSafe for Translation<N, D>
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.