Struct heron::rapier_plugin::rapier::parry::na::Rotation [−][src]
A rotation matrix.
This is also known as an element of a Special Orthogonal (SO) group.
The Rotation
type can either represent a 2D or 3D rotation, represented as a matrix.
For a rotation based on quaternions, see UnitQuaternion
instead.
Note that instead of using the Rotation
type in your code directly, you should use one
of its aliases: Rotation2
, or Rotation3
. Though
keep in mind that all the documentation of all the methods of these aliases will also appears on
this page.
Construction
- Identity
identity
- From a 2D rotation angle
new
… - From an existing 2D matrix or rotations
from_matrix
,rotation_between
,powf
… - From a 3D axis and/or angles
new
,from_euler_angles
,from_axis_angle
… - From a 3D eye position and target point
look_at
,look_at_lh
,rotation_between
… - From an existing 3D matrix or rotations
from_matrix
,rotation_between
,powf
…
Transformation and composition
Note that transforming vectors and points can be done by multiplication, e.g., rotation * point
.
Composing an rotation with another transformation can also be done by multiplication or division.
- 3D axis and angle extraction
angle
,euler_angles
,scaled_axis
,angle_to
… - 2D angle extraction
angle
,angle_to
… - Transformation of a vector or a point
transform_vector
,inverse_transform_point
… - Transposition and inversion
transpose
,inverse
… - Interpolation
slerp
…
Conversion
Implementations
impl<T, const D: usize> Rotation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn from_matrix_unchecked(
matrix: Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
) -> Rotation<T, D>
[src]
matrix: Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
) -> Rotation<T, D>
Creates a new rotation from the given square matrix.
The matrix squareness is checked but not its orthonormality.
Example
let mat = Matrix3::new(0.8660254, -0.5, 0.0, 0.5, 0.8660254, 0.0, 0.0, 0.0, 1.0); let rot = Rotation3::from_matrix_unchecked(mat); assert_eq!(*rot.matrix(), mat); let mat = Matrix2::new(0.8660254, -0.5, 0.5, 0.8660254); let rot = Rotation2::from_matrix_unchecked(mat); assert_eq!(*rot.matrix(), mat);
impl<T, const D: usize> Rotation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn matrix(&self) -> &Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
[src]
A reference to the underlying matrix representation of this rotation.
Example
let rot = Rotation3::from_axis_angle(&Vector3::z_axis(), f32::consts::FRAC_PI_6); let expected = Matrix3::new(0.8660254, -0.5, 0.0, 0.5, 0.8660254, 0.0, 0.0, 0.0, 1.0); assert_eq!(*rot.matrix(), expected); let rot = Rotation2::new(f32::consts::FRAC_PI_6); let expected = Matrix2::new(0.8660254, -0.5, 0.5, 0.8660254); assert_eq!(*rot.matrix(), expected);
pub unsafe fn matrix_mut(
&mut self
) -> &mut Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
[src]
&mut self
) -> &mut Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
Use .matrix_mut_unchecked()
instead.
A mutable reference to the underlying matrix representation of this rotation.
pub fn matrix_mut_unchecked(
&mut self
) -> &mut Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
[src]
&mut self
) -> &mut Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
A mutable reference to the underlying matrix representation of this rotation.
This is suffixed by “_unchecked” because this allows the user to replace the matrix by another one that is non-square, non-inversible, or non-orthonormal. If one of those properties is broken, subsequent method calls may be UB.
pub fn into_inner(self) -> Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
[src]
Unwraps the underlying matrix.
Example
let rot = Rotation3::from_axis_angle(&Vector3::z_axis(), f32::consts::FRAC_PI_6); let mat = rot.into_inner(); let expected = Matrix3::new(0.8660254, -0.5, 0.0, 0.5, 0.8660254, 0.0, 0.0, 0.0, 1.0); assert_eq!(mat, expected); let rot = Rotation2::new(f32::consts::FRAC_PI_6); let mat = rot.into_inner(); let expected = Matrix2::new(0.8660254, -0.5, 0.5, 0.8660254); assert_eq!(mat, expected);
pub fn unwrap(self) -> Matrix<T, Const<D>, Const<D>, ArrayStorage<T, D, D>>
[src]
use .into_inner()
instead
Unwraps the underlying matrix. Deprecated: Use Rotation::into_inner instead.
pub fn to_homogeneous(
&self
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer> where
T: Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
&self
) -> Matrix<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer> where
T: Zero + One,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
Converts this rotation into its equivalent homogeneous transformation matrix.
This is the same as self.into()
.
Example
let rot = Rotation3::from_axis_angle(&Vector3::z_axis(), f32::consts::FRAC_PI_6); let expected = Matrix4::new(0.8660254, -0.5, 0.0, 0.0, 0.5, 0.8660254, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0); assert_eq!(rot.to_homogeneous(), expected); let rot = Rotation2::new(f32::consts::FRAC_PI_6); let expected = Matrix3::new(0.8660254, -0.5, 0.0, 0.5, 0.8660254, 0.0, 0.0, 0.0, 1.0); assert_eq!(rot.to_homogeneous(), expected);
impl<T, const D: usize> Rotation<T, D> where
T: Scalar,
[src]
T: Scalar,
#[must_use = "Did you mean to use transpose_mut()?"]pub fn transpose(&self) -> Rotation<T, D>
[src]
Transposes self
.
Same as .inverse()
because the inverse of a rotation matrix is its transform.
Example
let rot = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); let tr_rot = rot.transpose(); assert_relative_eq!(rot * tr_rot, Rotation3::identity(), epsilon = 1.0e-6); assert_relative_eq!(tr_rot * rot, Rotation3::identity(), epsilon = 1.0e-6); let rot = Rotation2::new(1.2); let tr_rot = rot.transpose(); assert_relative_eq!(rot * tr_rot, Rotation2::identity(), epsilon = 1.0e-6); assert_relative_eq!(tr_rot * rot, Rotation2::identity(), epsilon = 1.0e-6);
#[must_use = "Did you mean to use inverse_mut()?"]pub fn inverse(&self) -> Rotation<T, D>
[src]
Inverts self
.
Same as .transpose()
because the inverse of a rotation matrix is its transform.
Example
let rot = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); let inv = rot.inverse(); assert_relative_eq!(rot * inv, Rotation3::identity(), epsilon = 1.0e-6); assert_relative_eq!(inv * rot, Rotation3::identity(), epsilon = 1.0e-6); let rot = Rotation2::new(1.2); let inv = rot.inverse(); assert_relative_eq!(rot * inv, Rotation2::identity(), epsilon = 1.0e-6); assert_relative_eq!(inv * rot, Rotation2::identity(), epsilon = 1.0e-6);
pub fn transpose_mut(&mut self)
[src]
Transposes self
in-place.
Same as .inverse_mut()
because the inverse of a rotation matrix is its transform.
Example
let rot = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); let mut tr_rot = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); tr_rot.transpose_mut(); assert_relative_eq!(rot * tr_rot, Rotation3::identity(), epsilon = 1.0e-6); assert_relative_eq!(tr_rot * rot, Rotation3::identity(), epsilon = 1.0e-6); let rot = Rotation2::new(1.2); let mut tr_rot = Rotation2::new(1.2); tr_rot.transpose_mut(); assert_relative_eq!(rot * tr_rot, Rotation2::identity(), epsilon = 1.0e-6); assert_relative_eq!(tr_rot * rot, Rotation2::identity(), epsilon = 1.0e-6);
pub fn inverse_mut(&mut self)
[src]
Inverts self
in-place.
Same as .transpose_mut()
because the inverse of a rotation matrix is its transform.
Example
let rot = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); let mut inv = Rotation3::new(Vector3::new(1.0, 2.0, 3.0)); inv.inverse_mut(); assert_relative_eq!(rot * inv, Rotation3::identity(), epsilon = 1.0e-6); assert_relative_eq!(inv * rot, Rotation3::identity(), epsilon = 1.0e-6); let rot = Rotation2::new(1.2); let mut inv = Rotation2::new(1.2); inv.inverse_mut(); assert_relative_eq!(rot * inv, Rotation2::identity(), epsilon = 1.0e-6); assert_relative_eq!(inv * rot, Rotation2::identity(), epsilon = 1.0e-6);
impl<T, const D: usize> Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn transform_point(&self, pt: &Point<T, D>) -> Point<T, D>
[src]
Rotate the given point.
This is the same as the multiplication self * pt
.
Example
let rot = Rotation3::new(Vector3::y() * f32::consts::FRAC_PI_2); let transformed_point = rot.transform_point(&Point3::new(1.0, 2.0, 3.0)); assert_relative_eq!(transformed_point, Point3::new(3.0, 2.0, -1.0), epsilon = 1.0e-6);
pub fn transform_vector(
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
[src]
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
Rotate the given vector.
This is the same as the multiplication self * v
.
Example
let rot = Rotation3::new(Vector3::y() * f32::consts::FRAC_PI_2); let transformed_vector = rot.transform_vector(&Vector3::new(1.0, 2.0, 3.0)); assert_relative_eq!(transformed_vector, Vector3::new(3.0, 2.0, -1.0), epsilon = 1.0e-6);
pub fn inverse_transform_point(&self, pt: &Point<T, D>) -> Point<T, D>
[src]
Rotate the given point by the inverse of this rotation. This may be cheaper than inverting the rotation and then transforming the given point.
Example
let rot = Rotation3::new(Vector3::y() * f32::consts::FRAC_PI_2); let transformed_point = rot.inverse_transform_point(&Point3::new(1.0, 2.0, 3.0)); assert_relative_eq!(transformed_point, Point3::new(-3.0, 2.0, 1.0), epsilon = 1.0e-6);
pub fn inverse_transform_vector(
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
[src]
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
Rotate the given vector by the inverse of this rotation. This may be cheaper than inverting the rotation and then transforming the given vector.
Example
let rot = Rotation3::new(Vector3::y() * f32::consts::FRAC_PI_2); let transformed_vector = rot.inverse_transform_vector(&Vector3::new(1.0, 2.0, 3.0)); assert_relative_eq!(transformed_vector, Vector3::new(-3.0, 2.0, 1.0), epsilon = 1.0e-6);
pub fn inverse_transform_unit_vector(
&self,
v: &Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
) -> Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
[src]
&self,
v: &Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
) -> Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
Rotate the given vector by the inverse of this rotation. This may be cheaper than inverting the rotation and then transforming the given vector.
Example
let rot = Rotation3::new(Vector3::z() * f32::consts::FRAC_PI_2); let transformed_vector = rot.inverse_transform_unit_vector(&Vector3::x_axis()); assert_relative_eq!(transformed_vector, -Vector3::y_axis(), epsilon = 1.0e-6);
impl<T, const D: usize> Rotation<T, D> where
T: Scalar + Zero + One,
[src]
T: Scalar + Zero + One,
pub fn identity() -> Rotation<T, D>
[src]
Creates a new square identity rotation of the given dimension
.
Example
let rot1 = Quaternion::identity(); let rot2 = Quaternion::new(1.0, 2.0, 3.0, 4.0); assert_eq!(rot1 * rot2, rot2); assert_eq!(rot2 * rot1, rot2);
impl<T, const D: usize> Rotation<T, D> where
T: Scalar,
[src]
T: Scalar,
pub fn cast<To>(self) -> Rotation<To, D> where
To: Scalar,
Rotation<To, D>: SupersetOf<Rotation<T, D>>,
[src]
To: Scalar,
Rotation<To, D>: SupersetOf<Rotation<T, D>>,
Cast the components of self
to another type.
Example
let rot = Rotation2::<f64>::identity(); let rot2 = rot.cast::<f32>(); assert_eq!(rot2, Rotation2::<f32>::identity());
impl<T> Rotation<T, 2_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn slerp(&self, other: &Rotation<T, 2_usize>, t: T) -> Rotation<T, 2_usize> where
<T as SimdValue>::Element: SimdRealField,
[src]
<T as SimdValue>::Element: SimdRealField,
Spherical linear interpolation between two rotation matrices.
Examples:
let rot1 = Rotation2::new(std::f32::consts::FRAC_PI_4); let rot2 = Rotation2::new(-std::f32::consts::PI); let rot = rot1.slerp(&rot2, 1.0 / 3.0); assert_relative_eq!(rot.angle(), std::f32::consts::FRAC_PI_2);
impl<T> Rotation<T, 3_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn slerp(&self, other: &Rotation<T, 3_usize>, t: T) -> Rotation<T, 3_usize> where
T: RealField,
[src]
T: RealField,
Spherical linear interpolation between two rotation matrices.
Panics if the angle between both rotations is 180 degrees (in which case the interpolation
is not well-defined). Use .try_slerp
instead to avoid the panic.
Examples:
let q1 = Rotation3::from_euler_angles(std::f32::consts::FRAC_PI_4, 0.0, 0.0); let q2 = Rotation3::from_euler_angles(-std::f32::consts::PI, 0.0, 0.0); let q = q1.slerp(&q2, 1.0 / 3.0); assert_eq!(q.euler_angles(), (std::f32::consts::FRAC_PI_2, 0.0, 0.0));
pub fn try_slerp(
&self,
other: &Rotation<T, 3_usize>,
t: T,
epsilon: T
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
[src]
&self,
other: &Rotation<T, 3_usize>,
t: T,
epsilon: T
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
Computes the spherical linear interpolation between two rotation matrices or returns None
if both rotations are approximately 180 degrees apart (in which case the interpolation is
not well-defined).
Arguments
self
: the first rotation to interpolate from.other
: the second rotation to interpolate toward.t
: the interpolation parameter. Should be between 0 and 1.epsilon
: the value below which the sinus of the angle separating both rotations must be to returnNone
.
impl<T> Rotation<T, 2_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn new(angle: T) -> Rotation<T, 2_usize>
[src]
Builds a 2 dimensional rotation matrix from an angle in radian.
Example
let rot = Rotation2::new(f32::consts::FRAC_PI_2); assert_relative_eq!(rot * Point2::new(3.0, 4.0), Point2::new(-4.0, 3.0));
pub fn from_scaled_axis<SB>(
axisangle: Matrix<T, Const<1_usize>, Const<1_usize>, SB>
) -> Rotation<T, 2_usize> where
SB: Storage<T, Const<1_usize>, Const<1_usize>>,
[src]
axisangle: Matrix<T, Const<1_usize>, Const<1_usize>, SB>
) -> Rotation<T, 2_usize> where
SB: Storage<T, Const<1_usize>, Const<1_usize>>,
Builds a 2 dimensional rotation matrix from an angle in radian wrapped in a 1-dimensional vector.
This is generally used in the context of generic programming. Using
the ::new(angle)
method instead is more common.
impl<T> Rotation<T, 2_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn from_basis_unchecked(
basis: &[Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 2_usize, 1_usize>>; 2]
) -> Rotation<T, 2_usize>
[src]
basis: &[Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 2_usize, 1_usize>>; 2]
) -> Rotation<T, 2_usize>
Builds a rotation from a basis assumed to be orthonormal.
In order to get a valid unit-quaternion, the input must be an orthonormal basis, i.e., all vectors are normalized, and the are all orthogonal to each other. These invariants are not checked by this method.
pub fn from_matrix(
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>
) -> Rotation<T, 2_usize> where
T: RealField,
[src]
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>
) -> Rotation<T, 2_usize> where
T: RealField,
Builds a rotation matrix by extracting the rotation part of the given transformation m
.
This is an iterative method. See .from_matrix_eps
to provide mover
convergence parameters and starting solution.
This implements “A Robust Method to Extract the Rotational Part of Deformations” by Müller et al.
pub fn from_matrix_eps(
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>,
eps: T,
max_iter: usize,
guess: Rotation<T, 2_usize>
) -> Rotation<T, 2_usize> where
T: RealField,
[src]
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>,
eps: T,
max_iter: usize,
guess: Rotation<T, 2_usize>
) -> Rotation<T, 2_usize> where
T: RealField,
Builds a rotation matrix by extracting the rotation part of the given transformation m
.
This implements “A Robust Method to Extract the Rotational Part of Deformations” by Müller et al.
Parameters
m
: the matrix from which the rotational part is to be extracted.eps
: the angular errors tolerated between the current rotation and the optimal one.max_iter
: the maximum number of iterations. Loops indefinitely until convergence if set to0
.guess
: an estimate of the solution. Convergence will be significantly faster if an initial solution close to the actual solution is provided. Can be set toRotation2::identity()
if no other guesses come to mind.
pub fn rotation_between<SB, SC>(
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 2_usize> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 2_usize> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
The rotation matrix required to align a
and b
but with its angle.
This is the rotation R
such that (R * a).angle(b) == 0 && (R * a).dot(b).is_positive()
.
Example
let a = Vector2::new(1.0, 2.0); let b = Vector2::new(2.0, 1.0); let rot = Rotation2::rotation_between(&a, &b); assert_relative_eq!(rot * a, b); assert_relative_eq!(rot.inverse() * b, a);
pub fn scaled_rotation_between<SB, SC>(
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>,
s: T
) -> Rotation<T, 2_usize> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>,
s: T
) -> Rotation<T, 2_usize> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
The smallest rotation needed to make a
and b
collinear and point toward the same
direction, raised to the power s
.
Example
let a = Vector2::new(1.0, 2.0); let b = Vector2::new(2.0, 1.0); let rot2 = Rotation2::scaled_rotation_between(&a, &b, 0.2); let rot5 = Rotation2::scaled_rotation_between(&a, &b, 0.5); assert_relative_eq!(rot2 * rot2 * rot2 * rot2 * rot2 * a, b, epsilon = 1.0e-6); assert_relative_eq!(rot5 * rot5 * a, b, epsilon = 1.0e-6);
pub fn rotation_to(&self, other: &Rotation<T, 2_usize>) -> Rotation<T, 2_usize>
[src]
The rotation matrix needed to make self
and other
coincide.
The result is such that: self.rotation_to(other) * self == other
.
Example
let rot1 = Rotation2::new(0.1); let rot2 = Rotation2::new(1.7); let rot_to = rot1.rotation_to(&rot2); assert_relative_eq!(rot_to * rot1, rot2); assert_relative_eq!(rot_to.inverse() * rot2, rot1);
pub fn renormalize(&mut self) where
T: RealField,
[src]
T: RealField,
Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated computations might cause the matrix from progressively not being orthonormal anymore.
pub fn powf(&self, n: T) -> Rotation<T, 2_usize>
[src]
Raise the quaternion to a given floating power, i.e., returns the rotation with the angle
of self
multiplied by n
.
Example
let rot = Rotation2::new(0.78); let pow = rot.powf(2.0); assert_relative_eq!(pow.angle(), 2.0 * 0.78);
impl<T> Rotation<T, 2_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn angle(&self) -> T
[src]
pub fn angle_to(&self, other: &Rotation<T, 2_usize>) -> T
[src]
The rotation angle needed to make self
and other
coincide.
Example
let rot1 = Rotation2::new(0.1); let rot2 = Rotation2::new(1.7); assert_relative_eq!(rot1.angle_to(&rot2), 1.6);
pub fn scaled_axis(
&self
) -> Matrix<T, Const<1_usize>, Const<1_usize>, ArrayStorage<T, 1_usize, 1_usize>>
[src]
&self
) -> Matrix<T, Const<1_usize>, Const<1_usize>, ArrayStorage<T, 1_usize, 1_usize>>
The rotation angle returned as a 1-dimensional vector.
This is generally used in the context of generic programming. Using
the .angle()
method instead is more common.
impl<T> Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn new<SB>(
axisangle: Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
axisangle: Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Builds a 3 dimensional rotation matrix from an axis and an angle.
Arguments
axisangle
- A vector representing the rotation. Its magnitude is the amount of rotation in radian. Its direction is the axis of rotation.
Example
let axisangle = Vector3::y() * f32::consts::FRAC_PI_2; // Point and vector being transformed in the tests. let pt = Point3::new(4.0, 5.0, 6.0); let vec = Vector3::new(4.0, 5.0, 6.0); let rot = Rotation3::new(axisangle); assert_relative_eq!(rot * pt, Point3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); assert_relative_eq!(rot * vec, Vector3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); // A zero vector yields an identity. assert_eq!(Rotation3::new(Vector3::<f32>::zeros()), Rotation3::identity());
pub fn from_scaled_axis<SB>(
axisangle: Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
axisangle: Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Builds a 3D rotation matrix from an axis scaled by the rotation angle.
This is the same as Self::new(axisangle)
.
Example
let axisangle = Vector3::y() * f32::consts::FRAC_PI_2; // Point and vector being transformed in the tests. let pt = Point3::new(4.0, 5.0, 6.0); let vec = Vector3::new(4.0, 5.0, 6.0); let rot = Rotation3::new(axisangle); assert_relative_eq!(rot * pt, Point3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); assert_relative_eq!(rot * vec, Vector3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); // A zero vector yields an identity. assert_eq!(Rotation3::from_scaled_axis(Vector3::<f32>::zeros()), Rotation3::identity());
pub fn from_axis_angle<SB>(
axis: &Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>>,
angle: T
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
axis: &Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>>,
angle: T
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Builds a 3D rotation matrix from an axis and a rotation angle.
Example
let axis = Vector3::y_axis(); let angle = f32::consts::FRAC_PI_2; // Point and vector being transformed in the tests. let pt = Point3::new(4.0, 5.0, 6.0); let vec = Vector3::new(4.0, 5.0, 6.0); let rot = Rotation3::from_axis_angle(&axis, angle); assert_eq!(rot.axis().unwrap(), axis); assert_eq!(rot.angle(), angle); assert_relative_eq!(rot * pt, Point3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); assert_relative_eq!(rot * vec, Vector3::new(6.0, 5.0, -4.0), epsilon = 1.0e-6); // A zero vector yields an identity. assert_eq!(Rotation3::from_scaled_axis(Vector3::<f32>::zeros()), Rotation3::identity());
pub fn from_euler_angles(roll: T, pitch: T, yaw: T) -> Rotation<T, 3_usize>
[src]
Creates a new rotation from Euler angles.
The primitive rotations are applied in order: 1 roll − 2 pitch − 3 yaw.
Example
let rot = Rotation3::from_euler_angles(0.1, 0.2, 0.3); let euler = rot.euler_angles(); assert_relative_eq!(euler.0, 0.1, epsilon = 1.0e-6); assert_relative_eq!(euler.1, 0.2, epsilon = 1.0e-6); assert_relative_eq!(euler.2, 0.3, epsilon = 1.0e-6);
impl<T> Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn face_towards<SB, SC>(
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Creates a rotation that corresponds to the local frame of an observer standing at the
origin and looking toward dir
.
It maps the z
axis to the direction dir
.
Arguments
- dir - The look direction, that is, direction the matrix
z
axis will be aligned with. - up - The vertical direction. The only requirement of this parameter is to not be
collinear to
dir
. Non-collinearity is not checked.
Example
let dir = Vector3::new(1.0, 2.0, 3.0); let up = Vector3::y(); let rot = Rotation3::face_towards(&dir, &up); assert_relative_eq!(rot * Vector3::z(), dir.normalize());
pub fn new_observer_frames<SB, SC>(
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
renamed to face_towards
Deprecated: Use [Rotation3::face_towards] instead.
pub fn look_at_rh<SB, SC>(
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Builds a right-handed look-at view matrix without translation.
It maps the view direction dir
to the negative z
axis.
This conforms to the common notion of right handed look-at matrix from the computer
graphics community.
Arguments
- dir - The direction toward which the camera looks.
- up - A vector approximately aligned with required the vertical axis. The only
requirement of this parameter is to not be collinear to
dir
.
Example
let dir = Vector3::new(1.0, 2.0, 3.0); let up = Vector3::y(); let rot = Rotation3::look_at_rh(&dir, &up); assert_relative_eq!(rot * dir.normalize(), -Vector3::z());
pub fn look_at_lh<SB, SC>(
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
dir: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
up: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Rotation<T, 3_usize> where
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
Builds a left-handed look-at view matrix without translation.
It maps the view direction dir
to the positive z
axis.
This conforms to the common notion of left handed look-at matrix from the computer
graphics community.
Arguments
- dir - The direction toward which the camera looks.
- up - A vector approximately aligned with required the vertical axis. The only
requirement of this parameter is to not be collinear to
dir
.
Example
let dir = Vector3::new(1.0, 2.0, 3.0); let up = Vector3::y(); let rot = Rotation3::look_at_lh(&dir, &up); assert_relative_eq!(rot * dir.normalize(), Vector3::z());
impl<T> Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn rotation_between<SB, SC>(
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
The rotation matrix required to align a
and b
but with its angle.
This is the rotation R
such that (R * a).angle(b) == 0 && (R * a).dot(b).is_positive()
.
Example
let a = Vector3::new(1.0, 2.0, 3.0); let b = Vector3::new(3.0, 1.0, 2.0); let rot = Rotation3::rotation_between(&a, &b).unwrap(); assert_relative_eq!(rot * a, b, epsilon = 1.0e-6); assert_relative_eq!(rot.inverse() * b, a, epsilon = 1.0e-6);
pub fn scaled_rotation_between<SB, SC>(
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>,
n: T
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
[src]
a: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SB>,
b: &Matrix<T, Const<{_: usize}>, Const<1_usize>, SC>,
n: T
) -> Option<Rotation<T, 3_usize>> where
T: RealField,
SB: Storage<T, Const<{_: usize}>, Const<1_usize>>,
SC: Storage<T, Const<{_: usize}>, Const<1_usize>>,
The smallest rotation needed to make a
and b
collinear and point toward the same
direction, raised to the power s
.
Example
let a = Vector3::new(1.0, 2.0, 3.0); let b = Vector3::new(3.0, 1.0, 2.0); let rot2 = Rotation3::scaled_rotation_between(&a, &b, 0.2).unwrap(); let rot5 = Rotation3::scaled_rotation_between(&a, &b, 0.5).unwrap(); assert_relative_eq!(rot2 * rot2 * rot2 * rot2 * rot2 * a, b, epsilon = 1.0e-6); assert_relative_eq!(rot5 * rot5 * a, b, epsilon = 1.0e-6);
pub fn rotation_to(&self, other: &Rotation<T, 3_usize>) -> Rotation<T, 3_usize>
[src]
The rotation matrix needed to make self
and other
coincide.
The result is such that: self.rotation_to(other) * self == other
.
Example
let rot1 = Rotation3::from_axis_angle(&Vector3::y_axis(), 1.0); let rot2 = Rotation3::from_axis_angle(&Vector3::x_axis(), 0.1); let rot_to = rot1.rotation_to(&rot2); assert_relative_eq!(rot_to * rot1, rot2, epsilon = 1.0e-6);
pub fn powf(&self, n: T) -> Rotation<T, 3_usize> where
T: RealField,
[src]
T: RealField,
Raise the quaternion to a given floating power, i.e., returns the rotation with the same
axis as self
and an angle equal to self.angle()
multiplied by n
.
Example
let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); let angle = 1.2; let rot = Rotation3::from_axis_angle(&axis, angle); let pow = rot.powf(2.0); assert_relative_eq!(pow.axis().unwrap(), axis, epsilon = 1.0e-6); assert_eq!(pow.angle(), 2.4);
pub fn from_basis_unchecked(
basis: &[Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>; 3]
) -> Rotation<T, 3_usize>
[src]
basis: &[Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>; 3]
) -> Rotation<T, 3_usize>
Builds a rotation from a basis assumed to be orthonormal.
In order to get a valid unit-quaternion, the input must be an orthonormal basis, i.e., all vectors are normalized, and the are all orthogonal to each other. These invariants are not checked by this method.
pub fn from_matrix(
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
) -> Rotation<T, 3_usize> where
T: RealField,
[src]
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
) -> Rotation<T, 3_usize> where
T: RealField,
Builds a rotation matrix by extracting the rotation part of the given transformation m
.
This is an iterative method. See .from_matrix_eps
to provide mover
convergence parameters and starting solution.
This implements “A Robust Method to Extract the Rotational Part of Deformations” by Müller et al.
pub fn from_matrix_eps(
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>,
eps: T,
max_iter: usize,
guess: Rotation<T, 3_usize>
) -> Rotation<T, 3_usize> where
T: RealField,
[src]
m: &Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>,
eps: T,
max_iter: usize,
guess: Rotation<T, 3_usize>
) -> Rotation<T, 3_usize> where
T: RealField,
Builds a rotation matrix by extracting the rotation part of the given transformation m
.
This implements “A Robust Method to Extract the Rotational Part of Deformations” by Müller et al.
Parameters
m
: the matrix from which the rotational part is to be extracted.eps
: the angular errors tolerated between the current rotation and the optimal one.max_iter
: the maximum number of iterations. Loops indefinitely until convergence if set to0
.guess
: a guess of the solution. Convergence will be significantly faster if an initial solution close to the actual solution is provided. Can be set toRotation3::identity()
if no other guesses come to mind.
pub fn renormalize(&mut self) where
T: RealField,
[src]
T: RealField,
Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated computations might cause the matrix from progressively not being orthonormal anymore.
impl<T> Rotation<T, 3_usize> where
T: SimdRealField,
[src]
T: SimdRealField,
pub fn angle(&self) -> T
[src]
The rotation angle in [0; pi].
Example
let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); let rot = Rotation3::from_axis_angle(&axis, 1.78); assert_relative_eq!(rot.angle(), 1.78);
pub fn axis(
&self
) -> Option<Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>>> where
T: RealField,
[src]
&self
) -> Option<Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>>> where
T: RealField,
The rotation axis. Returns None
if the rotation angle is zero or PI.
Example
let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); let angle = 1.2; let rot = Rotation3::from_axis_angle(&axis, angle); assert_relative_eq!(rot.axis().unwrap(), axis); // Case with a zero angle. let rot = Rotation3::from_axis_angle(&axis, 0.0); assert!(rot.axis().is_none());
pub fn scaled_axis(
&self
) -> Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>> where
T: RealField,
[src]
&self
) -> Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>> where
T: RealField,
The rotation axis multiplied by the rotation angle.
Example
let axisangle = Vector3::new(0.1, 0.2, 0.3); let rot = Rotation3::new(axisangle); assert_relative_eq!(rot.scaled_axis(), axisangle, epsilon = 1.0e-6);
pub fn axis_angle(
&self
) -> Option<(Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>>, T)> where
T: RealField,
[src]
&self
) -> Option<(Unit<Matrix<T, Const<{_: usize}>, Const<1_usize>, ArrayStorage<T, 3_usize, 1_usize>>>, T)> where
T: RealField,
The rotation axis and angle in ]0, pi] of this unit quaternion.
Returns None
if the angle is zero.
Example
let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); let angle = 1.2; let rot = Rotation3::from_axis_angle(&axis, angle); let axis_angle = rot.axis_angle().unwrap(); assert_relative_eq!(axis_angle.0, axis); assert_relative_eq!(axis_angle.1, angle); // Case with a zero angle. let rot = Rotation3::from_axis_angle(&axis, 0.0); assert!(rot.axis_angle().is_none());
pub fn angle_to(&self, other: &Rotation<T, 3_usize>) -> T where
<T as SimdValue>::Element: SimdRealField,
[src]
<T as SimdValue>::Element: SimdRealField,
The rotation angle needed to make self
and other
coincide.
Example
let rot1 = Rotation3::from_axis_angle(&Vector3::y_axis(), 1.0); let rot2 = Rotation3::from_axis_angle(&Vector3::x_axis(), 0.1); assert_relative_eq!(rot1.angle_to(&rot2), 1.0045657, epsilon = 1.0e-6);
pub fn to_euler_angles(&self) -> (T, T, T) where
T: RealField,
[src]
T: RealField,
This is renamed to use .euler_angles()
.
Creates Euler angles from a rotation.
The angles are produced in the form (roll, pitch, yaw).
pub fn euler_angles(&self) -> (T, T, T) where
T: RealField,
[src]
T: RealField,
Euler angles corresponding to this rotation from a rotation.
The angles are produced in the form (roll, pitch, yaw).
Example
let rot = Rotation3::from_euler_angles(0.1, 0.2, 0.3); let euler = rot.euler_angles(); assert_relative_eq!(euler.0, 0.1, epsilon = 1.0e-6); assert_relative_eq!(euler.1, 0.2, epsilon = 1.0e-6); assert_relative_eq!(euler.2, 0.3, epsilon = 1.0e-6);
Trait Implementations
impl<T, const D: usize> AbsDiffEq<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + AbsDiffEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + AbsDiffEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
type Epsilon = <T as AbsDiffEq<T>>::Epsilon
Used for specifying relative comparisons.
pub fn default_epsilon(
) -> <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
[src]
) -> <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
pub fn abs_diff_eq(
&self,
other: &Rotation<T, D>,
epsilon: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Rotation<T, D>,
epsilon: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
) -> bool
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
impl<T, const D: usize> AbstractRotation<T, D> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn identity() -> Rotation<T, D>
[src]
pub fn inverse(&self) -> Rotation<T, D>
[src]
pub fn inverse_mut(&mut self)
[src]
pub fn transform_vector(
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
[src]
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
pub fn transform_point(&self, p: &Point<T, D>) -> Point<T, D>
[src]
pub fn inverse_transform_vector(
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
[src]
&self,
v: &Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
) -> Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>
pub fn inverse_transform_unit_vector(
&self,
v: &Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
) -> Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
[src]
&self,
v: &Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
) -> Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
pub fn inverse_transform_point(&self, p: &Point<T, D>) -> Point<T, D>
[src]
impl<T, const D: usize> Clone for Rotation<T, D> where
T: Scalar,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Clone,
[src]
T: Scalar,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Clone,
impl<T, const D: usize> Copy for Rotation<T, D> where
T: Scalar + Copy,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Copy,
[src]
T: Scalar + Copy,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Copy,
impl<T, const D: usize> Debug for Rotation<T, D> where
T: Debug + Scalar,
[src]
T: Debug + Scalar,
impl<T, const D: usize> Display for Rotation<T, D> where
T: RealField + Display,
[src]
T: RealField + Display,
impl<'a, 'b, T, const D: usize> Div<&'b Isometry<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<&'b Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<&'b Isometry<T, Rotation<T, D>, D>>>::Output
impl<'b, T, const D: usize> Div<&'b Isometry<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<&'b Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<&'b Isometry<T, Rotation<T, D>, D>>>::Output
impl<'b, T> Div<&'b Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Div<&'b Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Div<&'b Rotation<T, 2_usize>>>::Output
impl<'a, 'b, T> Div<&'b Rotation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Div<&'b Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Div<&'b Rotation<T, 2_usize>>>::Output
impl<'b, T> Div<&'b Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Div<&'b Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Div<&'b Rotation<T, 3_usize>>>::Output
impl<'a, 'b, T> Div<&'b Rotation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Div<&'b Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Div<&'b Rotation<T, 3_usize>>>::Output
impl<'b, T, C, const D: usize> Div<&'b Rotation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <Transform<T, C, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Transform<T, C, D> as Div<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Div<&'b Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Rotation<T, D>
) -> <Rotation<T, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <Rotation<T, D> as Div<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Div<&'b Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Div<&'b Rotation<T, D>> for &'a Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Div<&'b Rotation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Transform<T, C, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Transform<T, C, D> as Div<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Div<&'b Rotation<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Rotation<T, D>
) -> <&'a Rotation<T, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <&'a Rotation<T, D> as Div<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Div<&'b Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Div<&'b Rotation<T, D>> for &'a Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Div<&'b Rotation<T, D>>>::Output
impl<'b, T, R1, C1, SA, const D2: usize> Div<&'b Rotation<T, D2>> for Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Div<&'b Rotation<T, D2>>>::Output
[src]
self,
right: &'b Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Div<&'b Rotation<T, D2>>>::Output
impl<'a, 'b, T, R1, C1, SA, const D2: usize> Div<&'b Rotation<T, D2>> for &'a Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Div<&'b Rotation<T, D2>>>::Output
[src]
self,
right: &'b Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Div<&'b Rotation<T, D2>>>::Output
impl<'b, T, const D: usize> Div<&'b Similarity<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<&'b Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<&'b Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, 'b, T, const D: usize> Div<&'b Similarity<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<&'b Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<&'b Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Div<&'b Transform<T, C, D>> for &'a Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Rotation<T, D> as Div<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Rotation<T, D> as Div<&'b Transform<T, C, D>>>::Output
impl<'b, T, C, const D: usize> Div<&'b Transform<T, C, D>> for Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Transform<T, C, D>
) -> <Rotation<T, D> as Div<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <Rotation<T, D> as Div<&'b Transform<T, C, D>>>::Output
impl<'a, 'b, T> Div<&'b Unit<Complex<T>>> for &'a Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Div<&'b Unit<Complex<T>>>>::Output
[src]
self,
rhs: &'b Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Div<&'b Unit<Complex<T>>>>::Output
impl<'b, T> Div<&'b Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Div<&'b Unit<Complex<T>>>>::Output
[src]
self,
rhs: &'b Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Div<&'b Unit<Complex<T>>>>::Output
impl<'b, T> Div<&'b Unit<Quaternion<T>>> for Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Div<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Div<&'b Unit<Quaternion<T>>>>::Output
impl<'a, 'b, T> Div<&'b Unit<Quaternion<T>>> for &'a Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'b Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Div<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Div<&'b Unit<Quaternion<T>>>>::Output
impl<'a, T, const D: usize> Div<Isometry<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<Isometry<T, Rotation<T, D>, D>>>::Output
impl<T, const D: usize> Div<Isometry<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<Isometry<T, Rotation<T, D>, D>>>::Output
impl<'a, T> Div<Rotation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Div<Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Div<Rotation<T, 2_usize>>>::Output
impl<T> Div<Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Div<Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Div<Rotation<T, 2_usize>>>::Output
impl<T> Div<Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Div<Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Div<Rotation<T, 3_usize>>>::Output
impl<'a, T> Div<Rotation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Div<Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Div<Rotation<T, 3_usize>>>::Output
impl<T, C, const D: usize> Div<Rotation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <Transform<T, C, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Transform<T, C, D> as Div<Rotation<T, D>>>::Output
impl<T, const D: usize> Div<Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Div<Rotation<T, D>> for &'a Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
impl<T, const D: usize> Div<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Rotation<T, D>
) -> <Rotation<T, D> as Div<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <Rotation<T, D> as Div<Rotation<T, D>>>::Output
impl<'a, T, C, const D: usize> Div<Rotation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <&'a Transform<T, C, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Transform<T, C, D> as Div<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Div<Rotation<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Rotation<T, D>
) -> <&'a Rotation<T, D> as Div<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <&'a Rotation<T, D> as Div<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Div<Rotation<T, D>> for &'a Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
impl<T, const D: usize> Div<Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Div<Rotation<T, D>>>::Output
impl<'a, T, R1, C1, SA, const D2: usize> Div<Rotation<T, D2>> for &'a Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Div<Rotation<T, D2>>>::Output
[src]
self,
right: Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Div<Rotation<T, D2>>>::Output
impl<T, R1, C1, SA, const D2: usize> Div<Rotation<T, D2>> for Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Div<Rotation<T, D2>>>::Output
[src]
self,
right: Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Div<Rotation<T, D2>>>::Output
impl<T, const D: usize> Div<Similarity<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Div<Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, T, const D: usize> Div<Similarity<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the /
operator.
pub fn div(
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Div<Similarity<T, Rotation<T, D>, D>>>::Output
impl<T, C, const D: usize> Div<Transform<T, C, D>> for Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Transform<T, C, D>
) -> <Rotation<T, D> as Div<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <Rotation<T, D> as Div<Transform<T, C, D>>>::Output
impl<'a, T, C, const D: usize> Div<Transform<T, C, D>> for &'a Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Transform<T, C, D>
) -> <&'a Rotation<T, D> as Div<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <&'a Rotation<T, D> as Div<Transform<T, C, D>>>::Output
impl<'a, T> Div<Unit<Complex<T>>> for &'a Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Div<Unit<Complex<T>>>>::Output
[src]
self,
rhs: Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Div<Unit<Complex<T>>>>::Output
impl<T> Div<Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Div<Unit<Complex<T>>>>::Output
[src]
self,
rhs: Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Div<Unit<Complex<T>>>>::Output
impl<T> Div<Unit<Quaternion<T>>> for Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Div<Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Div<Unit<Quaternion<T>>>>::Output
impl<'a, T> Div<Unit<Quaternion<T>>> for &'a Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Div<Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Div<Unit<Quaternion<T>>>>::Output
impl<'b, T> DivAssign<&'b Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Rotation<T, 2_usize>)
[src]
impl<'b, T> DivAssign<&'b Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Rotation<T, 3_usize>)
[src]
impl<'b, T, const R1: usize, const C1: usize> DivAssign<&'b Rotation<T, C1>> for Matrix<T, Const<R1>, Const<C1>, ArrayStorage<T, R1, C1>> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn div_assign(&mut self, right: &'b Rotation<T, C1>)
[src]
impl<'b, T, const D: usize> DivAssign<&'b Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn div_assign(&mut self, right: &'b Rotation<T, D>)
[src]
impl<'b, T, C, const D: usize> DivAssign<&'b Rotation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn div_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T, const D: usize> DivAssign<&'b Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T, const D: usize> DivAssign<&'b Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T> DivAssign<&'b Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: &'b Unit<Complex<T>>)
[src]
impl<T> DivAssign<Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Rotation<T, 2_usize>)
[src]
impl<T> DivAssign<Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Rotation<T, 3_usize>)
[src]
impl<T, const R1: usize, const C1: usize> DivAssign<Rotation<T, C1>> for Matrix<T, Const<R1>, Const<C1>, ArrayStorage<T, R1, C1>> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn div_assign(&mut self, right: Rotation<T, C1>)
[src]
impl<T, const D: usize> DivAssign<Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T, C, const D: usize> DivAssign<Rotation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn div_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T, const D: usize> DivAssign<Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T, const D: usize> DivAssign<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn div_assign(&mut self, right: Rotation<T, D>)
[src]
impl<T> DivAssign<Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn div_assign(&mut self, rhs: Unit<Complex<T>>)
[src]
impl<T, const D: usize> Eq for Rotation<T, D> where
T: Scalar + Eq,
[src]
T: Scalar + Eq,
impl<T, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 16]> for Rotation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 16]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 16]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
impl<T, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 2]> for Rotation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 2]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 2]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
impl<T, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 4]> for Rotation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 4]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 4]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
impl<T, const D: usize> From<[Rotation<<T as SimdValue>::Element, D>; 8]> for Rotation<T, D> where
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 8]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
[src]
T: Scalar + PrimitiveSimdValue + From<[<T as SimdValue>::Element; 8]>,
<T as SimdValue>::Element: Scalar,
<T as SimdValue>::Element: Copy,
impl<T> From<Rotation<T, 2_usize>> for Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>> where
T: RealField,
[src]
T: RealField,
pub fn from(
q: Rotation<T, 2_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>
[src]
q: Rotation<T, 2_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 2_usize, 2_usize>>
impl<T> From<Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
impl<T> From<Rotation<T, 2_usize>> for Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>> where
T: RealField,
[src]
T: RealField,
pub fn from(
q: Rotation<T, 2_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
[src]
q: Rotation<T, 2_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
impl<T> From<Rotation<T, 3_usize>> for Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>> where
T: RealField,
[src]
T: RealField,
pub fn from(
q: Rotation<T, 3_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
[src]
q: Rotation<T, 3_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 3_usize, 3_usize>>
impl<T> From<Rotation<T, 3_usize>> for Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 4_usize, 4_usize>> where
T: RealField,
[src]
T: RealField,
pub fn from(
q: Rotation<T, 3_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 4_usize, 4_usize>>
[src]
q: Rotation<T, 3_usize>
) -> Matrix<T, Const<{_: usize}>, Const<{_: usize}>, ArrayStorage<T, 4_usize, 4_usize>>
impl<T> From<Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn from(q: Rotation<T, 3_usize>) -> Unit<Quaternion<T>>
[src]
impl<T> From<Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
impl<T> From<Unit<Quaternion<T>>> for Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn from(q: Unit<Quaternion<T>>) -> Rotation<T, 3_usize>
[src]
impl<T, const D: usize> Hash for Rotation<T, D> where
T: Scalar + Hash,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Hash,
[src]
T: Scalar + Hash,
<DefaultAllocator as Allocator<T, Const<D>, Const<D>>>::Buffer: Hash,
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T, const D: usize> Index<(usize, usize)> for Rotation<T, D> where
T: Scalar,
[src]
T: Scalar,
type Output = T
The returned type after indexing.
pub fn index(&self, row_col: (usize, usize)) -> &T
[src]
impl<'b, T, const D: usize> Mul<&'b Isometry<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<&'b Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<&'b Isometry<T, Rotation<T, D>, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Isometry<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<&'b Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<&'b Isometry<T, Rotation<T, D>, D>>>::Output
impl<'b, T, R2, C2, SB, const D1: usize> Mul<&'b Matrix<T, R2, C2, SB>> for Rotation<T, D1> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
type Output = Matrix<T, Const<D1>, C2, <DefaultAllocator as Allocator<T, Const<D1>, C2>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Matrix<T, R2, C2, SB>
) -> <Rotation<T, D1> as Mul<&'b Matrix<T, R2, C2, SB>>>::Output
[src]
self,
right: &'b Matrix<T, R2, C2, SB>
) -> <Rotation<T, D1> as Mul<&'b Matrix<T, R2, C2, SB>>>::Output
impl<'a, 'b, T, R2, C2, SB, const D1: usize> Mul<&'b Matrix<T, R2, C2, SB>> for &'a Rotation<T, D1> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
type Output = Matrix<T, Const<D1>, C2, <DefaultAllocator as Allocator<T, Const<D1>, C2>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Matrix<T, R2, C2, SB>
) -> <&'a Rotation<T, D1> as Mul<&'b Matrix<T, R2, C2, SB>>>::Output
[src]
self,
right: &'b Matrix<T, R2, C2, SB>
) -> <&'a Rotation<T, D1> as Mul<&'b Matrix<T, R2, C2, SB>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Point<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Point<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Point<T, D>>>::Output
[src]
self,
right: &'b Point<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Point<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Point<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Point<T, D>
) -> <Rotation<T, D> as Mul<&'b Point<T, D>>>::Output
[src]
self,
right: &'b Point<T, D>
) -> <Rotation<T, D> as Mul<&'b Point<T, D>>>::Output
impl<'b, T> Mul<&'b Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<&'b Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<&'b Rotation<T, 2_usize>>>::Output
impl<'a, 'b, T> Mul<&'b Rotation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<&'b Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<&'b Rotation<T, 2_usize>>>::Output
impl<'a, 'b, T> Mul<&'b Rotation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<&'b Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<&'b Rotation<T, 3_usize>>>::Output
impl<'b, T> Mul<&'b Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<&'b Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: &'b Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<&'b Rotation<T, 3_usize>>>::Output
impl<'b, T, const D: usize> Mul<&'b Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <Rotation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <Rotation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Rotation<T, D>> for &'a Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, C, const D: usize> Mul<&'b Rotation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <Transform<T, C, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <Transform<T, C, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Rotation<T, D>> for &'a Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Rotation<T, D>> for Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <Translation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Mul<&'b Rotation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Transform<T, C, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Transform<T, C, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Rotation<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
right: &'b Rotation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Rotation<T, D>> for &'a Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
[src]
self,
rhs: &'b Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Mul<&'b Rotation<T, D>>>::Output
impl<'b, T, R1, C1, SA, const D2: usize> Mul<&'b Rotation<T, D2>> for Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Mul<&'b Rotation<T, D2>>>::Output
[src]
self,
right: &'b Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Mul<&'b Rotation<T, D2>>>::Output
impl<'a, 'b, T, R1, C1, SA, const D2: usize> Mul<&'b Rotation<T, D2>> for &'a Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Mul<&'b Rotation<T, D2>>>::Output
[src]
self,
right: &'b Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Mul<&'b Rotation<T, D2>>>::Output
impl<'b, T, const D: usize> Mul<&'b Similarity<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<&'b Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<&'b Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Similarity<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<&'b Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: &'b Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<&'b Similarity<T, Rotation<T, D>, D>>>::Output
impl<'b, T, C, const D: usize> Mul<&'b Transform<T, C, D>> for Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Transform<T, C, D>
) -> <Rotation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <Rotation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
impl<'a, 'b, T, C, const D: usize> Mul<&'b Transform<T, C, D>> for &'a Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Rotation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
[src]
self,
rhs: &'b Transform<T, C, D>
) -> <&'a Rotation<T, D> as Mul<&'b Transform<T, C, D>>>::Output
impl<'a, 'b, T, const D: usize> Mul<&'b Translation<T, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T, const D: usize> Mul<&'b Translation<T, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Translation<T, D>
) -> <Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
[src]
self,
right: &'b Translation<T, D>
) -> <Rotation<T, D> as Mul<&'b Translation<T, D>>>::Output
impl<'b, T> Mul<&'b Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
[src]
self,
rhs: &'b Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
impl<'a, 'b, T> Mul<&'b Unit<Complex<T>>> for &'a Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
[src]
self,
rhs: &'b Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Mul<&'b Unit<Complex<T>>>>::Output
impl<'a, 'b, T, S, const D: usize> Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <&'a Rotation<T, D> as Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
[src]
self,
right: &'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <&'a Rotation<T, D> as Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
impl<'b, T, S, const D: usize> Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: &'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <Rotation<T, D> as Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
[src]
self,
right: &'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <Rotation<T, D> as Mul<&'b Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
impl<'b, T> Mul<&'b Unit<Quaternion<T>>> for Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
impl<'a, 'b, T> Mul<&'b Unit<Quaternion<T>>> for &'a Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'b Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: &'b Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Mul<&'b Unit<Quaternion<T>>>>::Output
impl<T, const D: usize> Mul<Isometry<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<Isometry<T, Rotation<T, D>, D>>>::Output
impl<'a, T, const D: usize> Mul<Isometry<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<Isometry<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Isometry<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<Isometry<T, Rotation<T, D>, D>>>::Output
impl<'a, T, R2, C2, SB, const D1: usize> Mul<Matrix<T, R2, C2, SB>> for &'a Rotation<T, D1> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
type Output = Matrix<T, Const<D1>, C2, <DefaultAllocator as Allocator<T, Const<D1>, C2>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Matrix<T, R2, C2, SB>
) -> <&'a Rotation<T, D1> as Mul<Matrix<T, R2, C2, SB>>>::Output
[src]
self,
right: Matrix<T, R2, C2, SB>
) -> <&'a Rotation<T, D1> as Mul<Matrix<T, R2, C2, SB>>>::Output
impl<T, R2, C2, SB, const D1: usize> Mul<Matrix<T, R2, C2, SB>> for Rotation<T, D1> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R2: Dim,
C2: Dim,
SB: Storage<T, R2, C2>,
DefaultAllocator: Allocator<T, Const<D1>, C2>,
ShapeConstraint: AreMultipliable<Const<D1>, Const<D1>, R2, C2>,
type Output = Matrix<T, Const<D1>, C2, <DefaultAllocator as Allocator<T, Const<D1>, C2>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Matrix<T, R2, C2, SB>
) -> <Rotation<T, D1> as Mul<Matrix<T, R2, C2, SB>>>::Output
[src]
self,
right: Matrix<T, R2, C2, SB>
) -> <Rotation<T, D1> as Mul<Matrix<T, R2, C2, SB>>>::Output
impl<'a, T, const D: usize> Mul<Point<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Point<T, D>
) -> <&'a Rotation<T, D> as Mul<Point<T, D>>>::Output
[src]
self,
right: Point<T, D>
) -> <&'a Rotation<T, D> as Mul<Point<T, D>>>::Output
impl<T, const D: usize> Mul<Point<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Point<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Point<T, D>
) -> <Rotation<T, D> as Mul<Point<T, D>>>::Output
[src]
self,
right: Point<T, D>
) -> <Rotation<T, D> as Mul<Point<T, D>>>::Output
impl<'a, T> Mul<Rotation<T, 2_usize>> for &'a Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: Rotation<T, 2_usize>
) -> <&'a Unit<Complex<T>> as Mul<Rotation<T, 2_usize>>>::Output
impl<T> Mul<Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<Rotation<T, 2_usize>>>::Output
[src]
self,
rhs: Rotation<T, 2_usize>
) -> <Unit<Complex<T>> as Mul<Rotation<T, 2_usize>>>::Output
impl<T> Mul<Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: Rotation<T, 3_usize>
) -> <Unit<Quaternion<T>> as Mul<Rotation<T, 3_usize>>>::Output
impl<'a, T> Mul<Rotation<T, 3_usize>> for &'a Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<Rotation<T, 3_usize>>>::Output
[src]
self,
rhs: Rotation<T, 3_usize>
) -> <&'a Unit<Quaternion<T>> as Mul<Rotation<T, 3_usize>>>::Output
impl<T, const D: usize> Mul<Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Isometry<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, C, const D: usize> Mul<Rotation<T, D>> for &'a Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <&'a Transform<T, C, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Transform<T, C, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Rotation<T, D>> for &'a Isometry<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Isometry<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
impl<T, C, const D: usize> Mul<Rotation<T, D>> for Transform<T, C, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <Transform<T, C, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Transform<T, C, D> as Mul<Rotation<T, D>>>::Output
impl<T, const D: usize> Mul<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <Rotation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <Rotation<T, D> as Mul<Rotation<T, D>>>::Output
impl<T, const D: usize> Mul<Rotation<T, D>> for Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <Translation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <Translation<T, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Rotation<T, D>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
type Output = Rotation<T, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <&'a Rotation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <&'a Rotation<T, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Rotation<T, D>> for &'a Translation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
right: Rotation<T, D>
) -> <&'a Translation<T, D> as Mul<Rotation<T, D>>>::Output
impl<T, const D: usize> Mul<Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <Similarity<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, const D: usize> Mul<Rotation<T, D>> for &'a Similarity<T, Rotation<T, D>, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
[src]
self,
rhs: Rotation<T, D>
) -> <&'a Similarity<T, Rotation<T, D>, D> as Mul<Rotation<T, D>>>::Output
impl<'a, T, R1, C1, SA, const D2: usize> Mul<Rotation<T, D2>> for &'a Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Mul<Rotation<T, D2>>>::Output
[src]
self,
right: Rotation<T, D2>
) -> <&'a Matrix<T, R1, C1, SA> as Mul<Rotation<T, D2>>>::Output
impl<T, R1, C1, SA, const D2: usize> Mul<Rotation<T, D2>> for Matrix<T, R1, C1, SA> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
R1: Dim,
C1: Dim,
SA: Storage<T, R1, C1>,
DefaultAllocator: Allocator<T, R1, Const<D2>>,
ShapeConstraint: AreMultipliable<R1, C1, Const<D2>, Const<D2>>,
type Output = Matrix<T, R1, Const<D2>, <DefaultAllocator as Allocator<T, R1, Const<D2>>>::Buffer>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Mul<Rotation<T, D2>>>::Output
[src]
self,
right: Rotation<T, D2>
) -> <Matrix<T, R1, C1, SA> as Mul<Rotation<T, D2>>>::Output
impl<T, const D: usize> Mul<Similarity<T, Rotation<T, D>, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <Rotation<T, D> as Mul<Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, T, const D: usize> Mul<Similarity<T, Rotation<T, D>, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Similarity<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<Similarity<T, Rotation<T, D>, D>>>::Output
[src]
self,
right: Similarity<T, Rotation<T, D>, D>
) -> <&'a Rotation<T, D> as Mul<Similarity<T, Rotation<T, D>, D>>>::Output
impl<'a, T, C, const D: usize> Mul<Transform<T, C, D>> for &'a Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Transform<T, C, D>
) -> <&'a Rotation<T, D> as Mul<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <&'a Rotation<T, D> as Mul<Transform<T, C, D>>>::Output
impl<T, C, const D: usize> Mul<Transform<T, C, D>> for Rotation<T, D> where
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategoryMul<TAffine>,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
type Output = Transform<T, <C as TCategoryMul<TAffine>>::Representative, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Transform<T, C, D>
) -> <Rotation<T, D> as Mul<Transform<T, C, D>>>::Output
[src]
self,
rhs: Transform<T, C, D>
) -> <Rotation<T, D> as Mul<Transform<T, C, D>>>::Output
impl<'a, T, const D: usize> Mul<Translation<T, D>> for &'a Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <&'a Rotation<T, D> as Mul<Translation<T, D>>>::Output
impl<T, const D: usize> Mul<Translation<T, D>> for Rotation<T, D> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Isometry<T, Rotation<T, D>, D>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Translation<T, D>
) -> <Rotation<T, D> as Mul<Translation<T, D>>>::Output
[src]
self,
right: Translation<T, D>
) -> <Rotation<T, D> as Mul<Translation<T, D>>>::Output
impl<T> Mul<Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
[src]
self,
rhs: Unit<Complex<T>>
) -> <Rotation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
impl<'a, T> Mul<Unit<Complex<T>>> for &'a Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Complex<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
[src]
self,
rhs: Unit<Complex<T>>
) -> <&'a Rotation<T, 2_usize> as Mul<Unit<Complex<T>>>>::Output
impl<'a, T, S, const D: usize> Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>> for &'a Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <&'a Rotation<T, D> as Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
[src]
self,
right: Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <&'a Rotation<T, D> as Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
impl<T, S, const D: usize> Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
S: Storage<T, Const<D>, Const<1_usize>>,
ShapeConstraint: AreMultipliable<Const<D>, Const<D>, Const<D>, Const<1_usize>>,
type Output = Unit<Matrix<T, Const<D>, Const<1_usize>, ArrayStorage<T, D, 1_usize>>>
The resulting type after applying the *
operator.
pub fn mul(
self,
right: Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <Rotation<T, D> as Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
[src]
self,
right: Unit<Matrix<T, Const<D>, Const<1_usize>, S>>
) -> <Rotation<T, D> as Mul<Unit<Matrix<T, Const<D>, Const<1_usize>, S>>>>::Output
impl<T> Mul<Unit<Quaternion<T>>> for Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: Unit<Quaternion<T>>
) -> <Rotation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
impl<'a, T> Mul<Unit<Quaternion<T>>> for &'a Rotation<T, 3_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
type Output = Unit<Quaternion<T>>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
[src]
self,
rhs: Unit<Quaternion<T>>
) -> <&'a Rotation<T, 3_usize> as Mul<Unit<Quaternion<T>>>>::Output
impl<'b, T> MulAssign<&'b Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Rotation<T, 2_usize>)
[src]
impl<'b, T> MulAssign<&'b Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Rotation<T, 3_usize>)
[src]
impl<'b, T, const R1: usize, const C1: usize> MulAssign<&'b Rotation<T, C1>> for Matrix<T, Const<R1>, Const<C1>, ArrayStorage<T, R1, C1>> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn mul_assign(&mut self, right: &'b Rotation<T, C1>)
[src]
impl<'b, T, const D: usize> MulAssign<&'b Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T, const D: usize> MulAssign<&'b Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T, const D: usize> MulAssign<&'b Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn mul_assign(&mut self, right: &'b Rotation<T, D>)
[src]
impl<'b, T, C, const D: usize> MulAssign<&'b Rotation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn mul_assign(&mut self, rhs: &'b Rotation<T, D>)
[src]
impl<'b, T> MulAssign<&'b Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: &'b Unit<Complex<T>>)
[src]
impl<T> MulAssign<Rotation<T, 2_usize>> for Unit<Complex<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Rotation<T, 2_usize>)
[src]
impl<T> MulAssign<Rotation<T, 3_usize>> for Unit<Quaternion<T>> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Rotation<T, 3_usize>)
[src]
impl<T, const R1: usize, const C1: usize> MulAssign<Rotation<T, C1>> for Matrix<T, Const<R1>, Const<C1>, ArrayStorage<T, R1, C1>> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn mul_assign(&mut self, right: Rotation<T, C1>)
[src]
impl<T, C, const D: usize> MulAssign<Rotation<T, D>> for Transform<T, C, D> where
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
[src]
C: TCategory,
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
DefaultAllocator: Allocator<T, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
pub fn mul_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T, const D: usize> MulAssign<Rotation<T, D>> for Similarity<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T, const D: usize> MulAssign<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn mul_assign(&mut self, right: Rotation<T, D>)
[src]
impl<T, const D: usize> MulAssign<Rotation<T, D>> for Isometry<T, Rotation<T, D>, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T> + SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Rotation<T, D>)
[src]
impl<T> MulAssign<Unit<Complex<T>>> for Rotation<T, 2_usize> where
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
[src]
T: SimdRealField,
<T as SimdValue>::Element: SimdRealField,
pub fn mul_assign(&mut self, rhs: Unit<Complex<T>>)
[src]
impl<T, const D: usize> One for Rotation<T, D> where
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
[src]
T: Scalar + Zero + One + ClosedAdd<T> + ClosedMul<T>,
pub fn one() -> Rotation<T, D>
[src]
pub fn set_one(&mut self)
[src]
pub fn is_one(&self) -> bool where
Self: PartialEq<Self>,
[src]
Self: PartialEq<Self>,
impl<T, const D: usize> PartialEq<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + PartialEq<T>,
[src]
T: Scalar + PartialEq<T>,
pub fn eq(&self, right: &Rotation<T, D>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T, const D: usize> RelativeEq<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + RelativeEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + RelativeEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
pub fn default_max_relative(
) -> <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
[src]
) -> <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
pub fn relative_eq(
&self,
other: &Rotation<T, D>,
epsilon: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon,
max_relative: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
) -> bool
[src]
&self,
other: &Rotation<T, D>,
epsilon: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon,
max_relative: <Rotation<T, D> as AbsDiffEq<Rotation<T, D>>>::Epsilon
) -> bool
pub fn relative_ne(
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
&self,
other: &Rhs,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
impl<T, const D: usize> SimdValue for Rotation<T, D> where
T: Scalar + SimdValue,
<T as SimdValue>::Element: Scalar,
[src]
T: Scalar + SimdValue,
<T as SimdValue>::Element: Scalar,
type Element = Rotation<<T as SimdValue>::Element, D>
The type of the elements of each lane of this SIMD value.
type SimdBool = <T as SimdValue>::SimdBool
Type of the result of comparing two SIMD values like self
.
pub fn lanes() -> usize
[src]
pub fn splat(val: <Rotation<T, D> as SimdValue>::Element) -> Rotation<T, D>
[src]
pub fn extract(&self, i: usize) -> <Rotation<T, D> as SimdValue>::Element
[src]
pub unsafe fn extract_unchecked(
&self,
i: usize
) -> <Rotation<T, D> as SimdValue>::Element
[src]
&self,
i: usize
) -> <Rotation<T, D> as SimdValue>::Element
pub fn replace(&mut self, i: usize, val: <Rotation<T, D> as SimdValue>::Element)
[src]
pub unsafe fn replace_unchecked(
&mut self,
i: usize,
val: <Rotation<T, D> as SimdValue>::Element
)
[src]
&mut self,
i: usize,
val: <Rotation<T, D> as SimdValue>::Element
)
pub fn select(
self,
cond: <Rotation<T, D> as SimdValue>::SimdBool,
other: Rotation<T, D>
) -> Rotation<T, D>
[src]
self,
cond: <Rotation<T, D> as SimdValue>::SimdBool,
other: Rotation<T, D>
) -> Rotation<T, D>
pub fn map_lanes(self, f: impl Fn(Self::Element) -> Self::Element) -> Self where
Self: Clone,
Self: Clone,
pub fn zip_map_lanes(
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
self,
b: Self,
f: impl Fn(Self::Element, Self::Element) -> Self::Element
) -> Self where
Self: Clone,
impl<T1, T2, R, const D: usize> SubsetOf<Isometry<T2, R, D>> for Rotation<T1, D> where
R: AbstractRotation<T2, D> + SupersetOf<Rotation<T1, D>>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
R: AbstractRotation<T2, D> + SupersetOf<Rotation<T1, D>>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Isometry<T2, R, D>
[src]
pub fn is_in_subset(iso: &Isometry<T2, R, D>) -> bool
[src]
pub fn from_superset_unchecked(iso: &Isometry<T2, R, D>) -> Rotation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, const D: usize> SubsetOf<Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>> for Rotation<T1, D> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
Const<D>: DimMin<Const<D>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
<Const<D> as DimMin<Const<D>>>::Output == Const<D>,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
Const<D>: DimMin<Const<D>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
<Const<D> as DimMin<Const<D>>>::Output == Const<D>,
pub fn to_superset(
&self
) -> Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
[src]
&self
) -> Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
pub fn is_in_subset(
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> bool
[src]
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> bool
pub fn from_superset_unchecked(
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> Rotation<T1, D>
[src]
m: &Matrix<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <DefaultAllocator as Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>>::Buffer>
) -> Rotation<T1, D>
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Rotation<T2, 2_usize>> for Unit<Complex<T1>> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Rotation<T2, 2_usize>
[src]
pub fn is_in_subset(rot: &Rotation<T2, 2_usize>) -> bool
[src]
pub fn from_superset_unchecked(rot: &Rotation<T2, 2_usize>) -> Unit<Complex<T1>>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Rotation<T2, 3_usize>> for Unit<Quaternion<T1>> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Rotation<T2, 3_usize>
[src]
pub fn is_in_subset(rot: &Rotation<T2, 3_usize>) -> bool
[src]
pub fn from_superset_unchecked(
rot: &Rotation<T2, 3_usize>
) -> Unit<Quaternion<T1>>
[src]
rot: &Rotation<T2, 3_usize>
) -> Unit<Quaternion<T1>>
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, const D: usize> SubsetOf<Rotation<T2, D>> for Rotation<T1, D> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Rotation<T2, D>
[src]
pub fn is_in_subset(rot: &Rotation<T2, D>) -> bool
[src]
pub fn from_superset_unchecked(rot: &Rotation<T2, D>) -> Rotation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, R, const D: usize> SubsetOf<Similarity<T2, R, D>> for Rotation<T1, D> where
R: AbstractRotation<T2, D> + SupersetOf<Rotation<T1, D>>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
R: AbstractRotation<T2, D> + SupersetOf<Rotation<T1, D>>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Similarity<T2, R, D>
[src]
pub fn is_in_subset(sim: &Similarity<T2, R, D>) -> bool
[src]
pub fn from_superset_unchecked(sim: &Similarity<T2, R, D>) -> Rotation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2, C, const D: usize> SubsetOf<Transform<T2, C, D>> for Rotation<T1, D> where
C: SuperTCategoryOf<TAffine>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
Const<D>: DimMin<Const<D>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
<Const<D> as DimMin<Const<D>>>::Output == Const<D>,
[src]
C: SuperTCategoryOf<TAffine>,
T2: RealField + SupersetOf<T1>,
T1: RealField,
Const<D>: DimNameAdd<Const<1_usize>>,
Const<D>: DimMin<Const<D>>,
DefaultAllocator: Allocator<T1, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
DefaultAllocator: Allocator<T2, <Const<D> as DimNameAdd<Const<1_usize>>>::Output, <Const<D> as DimNameAdd<Const<1_usize>>>::Output>,
<Const<D> as DimMin<Const<D>>>::Output == Const<D>,
pub fn to_superset(&self) -> Transform<T2, C, D>
[src]
pub fn is_in_subset(t: &Transform<T2, C, D>) -> bool
[src]
pub fn from_superset_unchecked(t: &Transform<T2, C, D>) -> Rotation<T1, D>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Unit<Complex<T2>>> for Rotation<T1, 2_usize> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Unit<Complex<T2>>
[src]
pub fn is_in_subset(q: &Unit<Complex<T2>>) -> bool
[src]
pub fn from_superset_unchecked(q: &Unit<Complex<T2>>) -> Rotation<T1, 2_usize>
[src]
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Unit<DualQuaternion<T2>>> for Rotation<T1, 3_usize> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Unit<DualQuaternion<T2>>
[src]
pub fn is_in_subset(dq: &Unit<DualQuaternion<T2>>) -> bool
[src]
pub fn from_superset_unchecked(
dq: &Unit<DualQuaternion<T2>>
) -> Rotation<T1, 3_usize>
[src]
dq: &Unit<DualQuaternion<T2>>
) -> Rotation<T1, 3_usize>
pub fn from_superset(element: &T) -> Option<Self>
impl<T1, T2> SubsetOf<Unit<Quaternion<T2>>> for Rotation<T1, 3_usize> where
T2: RealField + SupersetOf<T1>,
T1: RealField,
[src]
T2: RealField + SupersetOf<T1>,
T1: RealField,
pub fn to_superset(&self) -> Unit<Quaternion<T2>>
[src]
pub fn is_in_subset(q: &Unit<Quaternion<T2>>) -> bool
[src]
pub fn from_superset_unchecked(
q: &Unit<Quaternion<T2>>
) -> Rotation<T1, 3_usize>
[src]
q: &Unit<Quaternion<T2>>
) -> Rotation<T1, 3_usize>
pub fn from_superset(element: &T) -> Option<Self>
impl<T, const D: usize> UlpsEq<Rotation<T, D>> for Rotation<T, D> where
T: Scalar + UlpsEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
[src]
T: Scalar + UlpsEq<T>,
<T as AbsDiffEq<T>>::Epsilon: Copy,
Auto Trait Implementations
impl<T, const D: usize> RefUnwindSafe for Rotation<T, D> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const D: usize> Send for Rotation<T, D> where
T: Send,
T: Send,
impl<T, const D: usize> Sync for Rotation<T, D> where
T: Sync,
T: Sync,
impl<T, const D: usize> Unpin for Rotation<T, D> where
T: Unpin,
T: Unpin,
impl<T, const D: usize> UnwindSafe for Rotation<T, D> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
T: Hash + ?Sized,
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
B: BuildHasher,
H: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,
impl<T, Right> ClosedDiv<Right> for T where
T: Div<Right, Output = T> + DivAssign<Right>,
T: Div<Right, Output = T> + DivAssign<Right>,
impl<T, Right> ClosedMul<Right> for T where
T: Mul<Right, Output = T> + MulAssign<Right>,
T: Mul<Right, Output = T> + MulAssign<Right>,
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Downcast<T> for T
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> DynEq for T where
T: Any + Eq,
T: Any + Eq,
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool
impl<T> DynHash for T where
T: DynEq + Hash,
T: DynEq + Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> One for T where
T: One,
T: One,
pub fn one() -> T
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Debug + Any,
[src]
T: Copy + PartialEq<T> + Debug + Any,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<T> Upcast<T> for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,