Struct ggez::graphics::na::Translation
[−]
[src]
#[repr(C)]pub struct Translation<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>, { pub vector: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>, }
A translation.
Fields
vector: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
The translation coordinates, i.e., how much is added to a point's coordinates when it is translated.
Methods
impl<N, D> Translation<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
fn from_vector(
vector: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Translation<N, D>
[src]
vector: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Translation<N, D>
Creates a new translation from the given vector.
fn inverse(&self) -> Translation<N, D> where
N: ClosedNeg,
[src]
N: ClosedNeg,
Inverts self
.
fn to_homogeneous(
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer> where
D: DimNameAdd<U1>,
N: Zero + One,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
&self
) -> Matrix<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output, <DefaultAllocator as Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>>::Buffer> where
D: DimNameAdd<U1>,
N: Zero + One,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
Converts this translation into its equivalent homogeneous transformation matrix.
fn inverse_mut(&mut self) where
N: ClosedNeg,
[src]
N: ClosedNeg,
Inverts self
in-place.
impl<N, D> Translation<N, D> where
D: DimName,
N: Scalar + Zero,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + Zero,
DefaultAllocator: Allocator<N, D, U1>,
fn identity() -> Translation<N, D>
[src]
Creates a new square identity rotation of the given dimension
.
impl<N> Translation<N, U1> where
N: Scalar,
DefaultAllocator: Allocator<N, U1, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U1, U1>,
fn new(x: N) -> Translation<N, U1>
[src]
Initializes this matrix from its components.
impl<N> Translation<N, U2> where
N: Scalar,
DefaultAllocator: Allocator<N, U2, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U2, U1>,
fn new(x: N, y: N) -> Translation<N, U2>
[src]
Initializes this matrix from its components.
impl<N> Translation<N, U3> where
N: Scalar,
DefaultAllocator: Allocator<N, U3, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U3, U1>,
fn new(x: N, y: N, z: N) -> Translation<N, U3>
[src]
Initializes this matrix from its components.
impl<N> Translation<N, U4> where
N: Scalar,
DefaultAllocator: Allocator<N, U4, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U4, U1>,
fn new(x: N, y: N, z: N, w: N) -> Translation<N, U4>
[src]
Initializes this matrix from its components.
impl<N> Translation<N, U5> where
N: Scalar,
DefaultAllocator: Allocator<N, U5, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U5, U1>,
fn new(x: N, y: N, z: N, w: N, a: N) -> Translation<N, U5>
[src]
Initializes this matrix from its components.
impl<N> Translation<N, U6> where
N: Scalar,
DefaultAllocator: Allocator<N, U6, U1>,
[src]
N: Scalar,
DefaultAllocator: Allocator<N, U6, U1>,
fn new(x: N, y: N, z: N, w: N, a: N, b: N) -> Translation<N, U6>
[src]
Initializes this matrix from its components.
Trait Implementations
impl<N, D> Rand for Translation<N, D> where
D: DimName,
N: Scalar + Rand,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + Rand,
DefaultAllocator: Allocator<N, D, U1>,
fn rand<G>(rng: &mut G) -> Translation<N, D> where
G: Rng,
[src]
G: Rng,
impl<N, D> Copy for Translation<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
[src]
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Copy,
impl<N, D> Clone for Translation<N, D> where
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Clone,
[src]
D: DimName,
N: Scalar,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Clone,
fn clone(&self) -> Translation<N, D>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<N, D> AbstractMonoid<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N1, N2, D, R> SubsetOf<Isometry<N2, D, R>> for Translation<N1, D> where
D: DimName,
N1: Real,
N2: Real + SupersetOf<N1>,
R: Rotation<Point<N2, D>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: Real,
N2: Real + SupersetOf<N1>,
R: Rotation<Point<N2, D>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Isometry<N2, D, R>
[src]
fn is_in_subset(iso: &Isometry<N2, D, R>) -> bool
[src]
unsafe fn from_superset_unchecked(
iso: &Isometry<N2, D, R>
) -> Translation<N1, D>
[src]
iso: &Isometry<N2, D, R>
) -> Translation<N1, D>
impl<N1, N2, D, R> SubsetOf<Similarity<N2, D, R>> for Translation<N1, D> where
D: DimName,
N1: Real,
N2: Real + SupersetOf<N1>,
R: Rotation<Point<N2, D>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: Real,
N2: Real + SupersetOf<N1>,
R: Rotation<Point<N2, D>>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Similarity<N2, D, R>
[src]
fn is_in_subset(sim: &Similarity<N2, D, R>) -> bool
[src]
unsafe fn from_superset_unchecked(
sim: &Similarity<N2, D, R>
) -> Translation<N1, D>
[src]
sim: &Similarity<N2, D, R>
) -> Translation<N1, D>
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
D: DimNameAdd<U1>,
N1: Real,
N2: Real + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
D: DimNameAdd<U1>,
N1: Real,
N2: Real + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
fn to_superset(
&self
) -> 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>
[src]
&self
) -> 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>
fn is_in_subset(
m: &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>
) -> bool
[src]
m: &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>
) -> bool
unsafe fn from_superset_unchecked(
m: &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>
) -> Translation<N1, D>
[src]
m: &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>
) -> Translation<N1, D>
impl<N1, N2, D, C> SubsetOf<Transform<N2, D, C>> for Translation<N1, D> where
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
N1: Real,
N2: Real + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
[src]
C: SuperTCategoryOf<TAffine>,
D: DimNameAdd<U1>,
N1: Real,
N2: Real + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
DefaultAllocator: Allocator<N1, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N2, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
fn to_superset(&self) -> Transform<N2, D, C>
[src]
fn is_in_subset(t: &Transform<N2, D, C>) -> bool
[src]
unsafe fn from_superset_unchecked(t: &Transform<N2, D, C>) -> Translation<N1, D>
[src]
impl<N1, N2, D> SubsetOf<Translation<N2, D>> for Translation<N1, D> where
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
[src]
D: DimName,
N1: Scalar,
N2: Scalar + SupersetOf<N1>,
DefaultAllocator: Allocator<N1, D, U1>,
DefaultAllocator: Allocator<N2, D, U1>,
fn to_superset(&self) -> Translation<N2, D>
[src]
fn is_in_subset(rot: &Translation<N2, D>) -> bool
[src]
unsafe fn from_superset_unchecked(
rot: &Translation<N2, D>
) -> Translation<N1, D>
[src]
rot: &Translation<N2, D>
) -> Translation<N1, D>
impl<N, D> Inverse<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
fn inverse(&self) -> Translation<N, D>
[src]
fn inverse_mut(&mut self)
[src]
impl<N, D> ProjectiveTransformation<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
fn inverse_transform_point(&self, pt: &Point<N, D>) -> Point<N, D>
[src]
fn inverse_transform_vector(
&self,
v: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
[src]
&self,
v: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
impl<N, D> Translation<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
Subgroups of the n-dimensional translation group T(n)
.
fn to_vector(
&self
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
[src]
&self
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
fn from_vector(
v: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Option<Translation<N, D>>
[src]
v: Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Option<Translation<N, D>>
fn powf(&self, n: N) -> Option<Translation<N, D>>
[src]
fn translation_between(
a: &Point<N, D>,
b: &Point<N, D>
) -> Option<Translation<N, D>>
[src]
a: &Point<N, D>,
b: &Point<N, D>
) -> Option<Translation<N, D>>
impl<N, D> Isometry<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> AffineTransformation<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
type Rotation = Id<Multiplicative>
type NonUniformScaling = Id<Multiplicative>
type Translation = Translation<N, D>
fn decompose(
&self
) -> (Translation<N, D>, Id<Multiplicative>, Id<Multiplicative>, Id<Multiplicative>)
[src]
&self
) -> (Translation<N, D>, Id<Multiplicative>, Id<Multiplicative>, Id<Multiplicative>)
fn append_translation(
&self,
t: &<Translation<N, D> as AffineTransformation<Point<N, D>>>::Translation
) -> Translation<N, D>
[src]
&self,
t: &<Translation<N, D> as AffineTransformation<Point<N, D>>>::Translation
) -> Translation<N, D>
fn prepend_translation(
&self,
t: &<Translation<N, D> as AffineTransformation<Point<N, D>>>::Translation
) -> Translation<N, D>
[src]
&self,
t: &<Translation<N, D> as AffineTransformation<Point<N, D>>>::Translation
) -> Translation<N, D>
fn append_rotation(
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::Rotation
) -> Translation<N, D>
[src]
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::Rotation
) -> Translation<N, D>
fn prepend_rotation(
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::Rotation
) -> Translation<N, D>
[src]
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::Rotation
) -> Translation<N, D>
fn append_scaling(
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::NonUniformScaling
) -> Translation<N, D>
[src]
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::NonUniformScaling
) -> Translation<N, D>
fn prepend_scaling(
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::NonUniformScaling
) -> Translation<N, D>
[src]
&self,
&<Translation<N, D> as AffineTransformation<Point<N, D>>>::NonUniformScaling
) -> Translation<N, D>
impl<N, D> Transformation<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
fn transform_point(&self, pt: &Point<N, D>) -> Point<N, D>
[src]
fn transform_vector(
&self,
v: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
[src]
&self,
v: &Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
) -> Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>
impl<'a, 'b, N, D> Div<&'b Translation<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn div(
self,
right: &'b Translation<N, D>
) -> <&'a Translation<N, D> as Div<&'b Translation<N, D>>>::Output
[src]
self,
right: &'b Translation<N, D>
) -> <&'a Translation<N, D> as Div<&'b Translation<N, D>>>::Output
impl<'a, N, D, C> Div<Transform<N, D, C>> for &'a Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn div(
self,
rhs: Transform<N, D, C>
) -> <&'a Translation<N, D> as Div<Transform<N, D, C>>>::Output
[src]
self,
rhs: Transform<N, D, C>
) -> <&'a Translation<N, D> as Div<Transform<N, D, C>>>::Output
impl<'a, 'b, N, D, C> Div<&'b Transform<N, D, C>> for &'a Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn div(
self,
rhs: &'b Transform<N, D, C>
) -> <&'a Translation<N, D> as Div<&'b Transform<N, D, C>>>::Output
[src]
self,
rhs: &'b Transform<N, D, C>
) -> <&'a Translation<N, D> as Div<&'b Transform<N, D, C>>>::Output
impl<'a, N, D> Div<Translation<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn div(
self,
right: Translation<N, D>
) -> <&'a Translation<N, D> as Div<Translation<N, D>>>::Output
[src]
self,
right: Translation<N, D>
) -> <&'a Translation<N, D> as Div<Translation<N, D>>>::Output
impl<'b, N, D> Div<&'b Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn div(
self,
right: &'b Translation<N, D>
) -> <Translation<N, D> as Div<&'b Translation<N, D>>>::Output
[src]
self,
right: &'b Translation<N, D>
) -> <Translation<N, D> as Div<&'b Translation<N, D>>>::Output
impl<N, D, C> Div<Transform<N, D, C>> for Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn div(
self,
rhs: Transform<N, D, C>
) -> <Translation<N, D> as Div<Transform<N, D, C>>>::Output
[src]
self,
rhs: Transform<N, D, C>
) -> <Translation<N, D> as Div<Transform<N, D, C>>>::Output
impl<N, D> Div<Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn div(
self,
right: Translation<N, D>
) -> <Translation<N, D> as Div<Translation<N, D>>>::Output
[src]
self,
right: Translation<N, D>
) -> <Translation<N, D> as Div<Translation<N, D>>>::Output
impl<'b, N, D, C> Div<&'b Transform<N, D, C>> for Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn div(
self,
rhs: &'b Transform<N, D, C>
) -> <Translation<N, D> as Div<&'b Transform<N, D, C>>>::Output
[src]
self,
rhs: &'b Transform<N, D, C>
) -> <Translation<N, D> as Div<&'b Transform<N, D, C>>>::Output
impl<N, D> AbstractSemigroup<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> AbstractLoop<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<'b, N, D> DivAssign<&'b Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
fn div_assign(&mut self, right: &'b Translation<N, D>)
[src]
impl<N, D> DivAssign<Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
D: DimName,
N: Scalar + ClosedSub<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
fn div_assign(&mut self, right: Translation<N, D>)
[src]
impl<N, D> ApproxEq for Translation<N, D> where
D: DimName,
N: Scalar + ApproxEq,
DefaultAllocator: Allocator<N, D, U1>,
<N as ApproxEq>::Epsilon: Copy,
[src]
D: DimName,
N: Scalar + ApproxEq,
DefaultAllocator: Allocator<N, D, U1>,
<N as ApproxEq>::Epsilon: Copy,
type Epsilon = <N as ApproxEq>::Epsilon
fn default_epsilon() -> <Translation<N, D> as ApproxEq>::Epsilon
[src]
fn default_max_relative() -> <Translation<N, D> as ApproxEq>::Epsilon
[src]
fn default_max_ulps() -> u32
[src]
fn relative_eq(
&self,
other: &Translation<N, D>,
epsilon: <Translation<N, D> as ApproxEq>::Epsilon,
max_relative: <Translation<N, D> as ApproxEq>::Epsilon
) -> bool
[src]
&self,
other: &Translation<N, D>,
epsilon: <Translation<N, D> as ApproxEq>::Epsilon,
max_relative: <Translation<N, D> as ApproxEq>::Epsilon
) -> bool
fn ulps_eq(
&self,
other: &Translation<N, D>,
epsilon: <Translation<N, D> as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
[src]
&self,
other: &Translation<N, D>,
epsilon: <Translation<N, D> as ApproxEq>::Epsilon,
max_ulps: u32
) -> bool
impl<N, D> Hash for Translation<N, D> where
D: DimName + Hash,
N: Scalar + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
[src]
D: DimName + Hash,
N: Scalar + Hash,
DefaultAllocator: Allocator<N, D, U1>,
<DefaultAllocator as Allocator<N, D, U1>>::Buffer: Hash,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<N, D> Similarity<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
type Scaling = Id<Multiplicative>
fn translation(&self) -> Translation<N, D>
[src]
fn rotation(&self) -> Id<Multiplicative>
[src]
fn scaling(&self) -> Id<Multiplicative>
[src]
impl<N, D> PartialEq<Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + PartialEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + PartialEq<N>,
DefaultAllocator: Allocator<N, D, U1>,
fn eq(&self, right: &Translation<N, D>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<N, D> Debug for Translation<N, D> where
D: DimName + Debug,
N: Scalar + Debug,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName + Debug,
N: Scalar + Debug,
DefaultAllocator: Allocator<N, D, U1>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<N, D> DirectIsometry<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> AbstractQuasigroup<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> AbstractGroup<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> One for Translation<N, D> where
D: DimName,
N: Scalar + Zero + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + Zero + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
fn one() -> Translation<N, D>
[src]
impl<N, D> Identity<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
fn identity() -> Translation<N, D>
[src]
impl<N, D> Eq for Translation<N, D> where
D: DimName,
N: Scalar + Eq,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Scalar + Eq,
DefaultAllocator: Allocator<N, D, U1>,
impl<N, D> MulAssign<Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
fn mul_assign(&mut self, right: Translation<N, D>)
[src]
impl<'b, N, D> MulAssign<&'b Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
fn mul_assign(&mut self, right: &'b Translation<N, D>)
[src]
impl<N, D> AbstractMagma<Multiplicative> for Translation<N, D> where
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
DefaultAllocator: Allocator<N, D, U1>,
fn operate(&self, rhs: &Translation<N, D>) -> Translation<N, D>
[src]
impl<'a, N, D> Mul<Translation<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn mul(
self,
right: Translation<N, D>
) -> <&'a Translation<N, D> as Mul<Translation<N, D>>>::Output
[src]
self,
right: Translation<N, D>
) -> <&'a Translation<N, D> as Mul<Translation<N, D>>>::Output
impl<'a, N, D, R> Mul<Similarity<N, D, R>> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Similarity<N, D, R>
fn mul(
self,
right: Similarity<N, D, R>
) -> <&'a Translation<N, D> as Mul<Similarity<N, D, R>>>::Output
[src]
self,
right: Similarity<N, D, R>
) -> <&'a Translation<N, D> as Mul<Similarity<N, D, R>>>::Output
impl<'a, N, D, R> Mul<Isometry<N, D, R>> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(
self,
right: Isometry<N, D, R>
) -> <&'a Translation<N, D> as Mul<Isometry<N, D, R>>>::Output
[src]
self,
right: Isometry<N, D, R>
) -> <&'a Translation<N, D> as Mul<Isometry<N, D, R>>>::Output
impl<N, D, R> Mul<Isometry<N, D, R>> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(
self,
right: Isometry<N, D, R>
) -> <Translation<N, D> as Mul<Isometry<N, D, R>>>::Output
[src]
self,
right: Isometry<N, D, R>
) -> <Translation<N, D> as Mul<Isometry<N, D, R>>>::Output
impl<'a, 'b, N, D, C> Mul<&'b Transform<N, D, C>> for &'a Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn mul(
self,
rhs: &'b Transform<N, D, C>
) -> <&'a Translation<N, D> as Mul<&'b Transform<N, D, C>>>::Output
[src]
self,
rhs: &'b Transform<N, D, C>
) -> <&'a Translation<N, D> as Mul<&'b Transform<N, D, C>>>::Output
impl<'a, N, D> Mul<Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Point<N, D>
fn mul(
self,
right: Point<N, D>
) -> <&'a Translation<N, D> as Mul<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <&'a Translation<N, D> as Mul<Point<N, D>>>::Output
impl<'a, N, D, R> Mul<R> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(self, right: R) -> <&'a Translation<N, D> as Mul<R>>::Output
[src]
impl<N, D> Mul<Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn mul(
self,
right: Translation<N, D>
) -> <Translation<N, D> as Mul<Translation<N, D>>>::Output
[src]
self,
right: Translation<N, D>
) -> <Translation<N, D> as Mul<Translation<N, D>>>::Output
impl<'a, N, D, C> Mul<Transform<N, D, C>> for &'a Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn mul(
self,
rhs: Transform<N, D, C>
) -> <&'a Translation<N, D> as Mul<Transform<N, D, C>>>::Output
[src]
self,
rhs: Transform<N, D, C>
) -> <&'a Translation<N, D> as Mul<Transform<N, D, C>>>::Output
impl<'a, 'b, N, D> Mul<&'b Point<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Point<N, D>
fn mul(
self,
right: &'b Point<N, D>
) -> <&'a Translation<N, D> as Mul<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <&'a Translation<N, D> as Mul<&'b Point<N, D>>>::Output
impl<N, D, R> Mul<R> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(self, right: R) -> <Translation<N, D> as Mul<R>>::Output
[src]
impl<N, D, R> Mul<Similarity<N, D, R>> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Similarity<N, D, R>
fn mul(
self,
right: Similarity<N, D, R>
) -> <Translation<N, D> as Mul<Similarity<N, D, R>>>::Output
[src]
self,
right: Similarity<N, D, R>
) -> <Translation<N, D> as Mul<Similarity<N, D, R>>>::Output
impl<N, D, C> Mul<Transform<N, D, C>> for Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn mul(
self,
rhs: Transform<N, D, C>
) -> <Translation<N, D> as Mul<Transform<N, D, C>>>::Output
[src]
self,
rhs: Transform<N, D, C>
) -> <Translation<N, D> as Mul<Transform<N, D, C>>>::Output
impl<'a, 'b, N, D> Mul<&'b Translation<N, D>> for &'a Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn mul(
self,
right: &'b Translation<N, D>
) -> <&'a Translation<N, D> as Mul<&'b Translation<N, D>>>::Output
[src]
self,
right: &'b Translation<N, D>
) -> <&'a Translation<N, D> as Mul<&'b Translation<N, D>>>::Output
impl<'b, N, D, R> Mul<&'b Isometry<N, D, R>> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(
self,
right: &'b Isometry<N, D, R>
) -> <Translation<N, D> as Mul<&'b Isometry<N, D, R>>>::Output
[src]
self,
right: &'b Isometry<N, D, R>
) -> <Translation<N, D> as Mul<&'b Isometry<N, D, R>>>::Output
impl<'b, N, D> Mul<&'b Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Point<N, D>
fn mul(
self,
right: &'b Point<N, D>
) -> <Translation<N, D> as Mul<&'b Point<N, D>>>::Output
[src]
self,
right: &'b Point<N, D>
) -> <Translation<N, D> as Mul<&'b Point<N, D>>>::Output
impl<'a, 'b, N, D, R> Mul<&'b Similarity<N, D, R>> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Similarity<N, D, R>
fn mul(
self,
right: &'b Similarity<N, D, R>
) -> <&'a Translation<N, D> as Mul<&'b Similarity<N, D, R>>>::Output
[src]
self,
right: &'b Similarity<N, D, R>
) -> <&'a Translation<N, D> as Mul<&'b Similarity<N, D, R>>>::Output
impl<N, D> Mul<Point<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Point<N, D>
fn mul(
self,
right: Point<N, D>
) -> <Translation<N, D> as Mul<Point<N, D>>>::Output
[src]
self,
right: Point<N, D>
) -> <Translation<N, D> as Mul<Point<N, D>>>::Output
impl<'b, N, D> Mul<&'b Translation<N, D>> for Translation<N, D> where
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
[src]
D: DimName,
N: Scalar + ClosedAdd<N>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: SameShapeAllocator<N, D, U1, D, U1>,
ShapeConstraint: SameNumberOfRows<D, D>,
ShapeConstraint: SameNumberOfColumns<U1, U1>,
<ShapeConstraint as SameNumberOfRows<D, D>>::Representative == D,
type Output = Translation<N, D>
fn mul(
self,
right: &'b Translation<N, D>
) -> <Translation<N, D> as Mul<&'b Translation<N, D>>>::Output
[src]
self,
right: &'b Translation<N, D>
) -> <Translation<N, D> as Mul<&'b Translation<N, D>>>::Output
impl<'b, N, D, R> Mul<&'b R> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(self, right: &'b R) -> <Translation<N, D> as Mul<&'b R>>::Output
[src]
impl<'a, 'b, N, D, R> Mul<&'b Isometry<N, D, R>> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(
self,
right: &'b Isometry<N, D, R>
) -> <&'a Translation<N, D> as Mul<&'b Isometry<N, D, R>>>::Output
[src]
self,
right: &'b Isometry<N, D, R>
) -> <&'a Translation<N, D> as Mul<&'b Isometry<N, D, R>>>::Output
impl<'b, N, D, R> Mul<&'b Similarity<N, D, R>> for Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Similarity<N, D, R>
fn mul(
self,
right: &'b Similarity<N, D, R>
) -> <Translation<N, D> as Mul<&'b Similarity<N, D, R>>>::Output
[src]
self,
right: &'b Similarity<N, D, R>
) -> <Translation<N, D> as Mul<&'b Similarity<N, D, R>>>::Output
impl<'b, N, D, C> Mul<&'b Transform<N, D, C>> for Translation<N, D> where
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
[src]
C: TCategoryMul<TAffine>,
D: DimNameAdd<U1>,
N: Scalar + Zero + One + ClosedAdd<N> + ClosedMul<N> + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<N, <D as DimNameAdd<U1>>::Output, <D as DimNameAdd<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimNameAdd<U1>>::Output>,
type Output = Transform<N, D, <C as TCategoryMul<TAffine>>::Representative>
fn mul(
self,
rhs: &'b Transform<N, D, C>
) -> <Translation<N, D> as Mul<&'b Transform<N, D, C>>>::Output
[src]
self,
rhs: &'b Transform<N, D, C>
) -> <Translation<N, D> as Mul<&'b Transform<N, D, C>>>::Output
impl<'a, 'b, N, D, R> Mul<&'b R> for &'a Translation<N, D> where
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: DimName,
N: Real,
R: Rotation<Point<N, D>>,
DefaultAllocator: Allocator<N, D, U1>,
type Output = Isometry<N, D, R>
fn mul(self, right: &'b R) -> <&'a Translation<N, D> as Mul<&'b R>>::Output
[src]
impl<N, D> Display for Translation<N, D> where
D: DimName,
N: Display + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<usize, D, U1>,
[src]
D: DimName,
N: Display + Real,
DefaultAllocator: Allocator<N, D, U1>,
DefaultAllocator: Allocator<usize, D, U1>,