[−][src]Struct cgmath::Decomposed
A generic transformation consisting of a rotation, displacement vector and scale amount.
Fields
scale: V::Scalarrot: Rdisp: VTrait Implementations
impl<P: EuclideanSpace, R: Rotation<P>> Transform<P> for Decomposed<P::Diff, R> where
P::Scalar: BaseFloat,
P::Diff: VectorSpace, [src]
P::Scalar: BaseFloat,
P::Diff: VectorSpace,
fn one() -> Decomposed<P::Diff, R>[src]
fn look_at(eye: P, center: P, up: P::Diff) -> Decomposed<P::Diff, R>[src]
fn transform_vector(&self, vec: P::Diff) -> P::Diff[src]
fn inverse_transform_vector(&self, vec: P::Diff) -> Option<P::Diff>[src]
fn transform_point(&self, point: P) -> P[src]
fn concat(&self, other: &Decomposed<P::Diff, R>) -> Decomposed<P::Diff, R>[src]
fn inverse_transform(&self) -> Option<Decomposed<P::Diff, R>>[src]
fn concat_self(&mut self, other: &Self)[src]
Combine this transform with another, in-place.
impl<S: BaseFloat, R: Rotation2<S>> Transform2<S> for Decomposed<Vector2<S>, R>[src]
impl<S: BaseFloat, R: Rotation3<S>> Transform3<S> for Decomposed<Vector3<S>, R>[src]
impl<V: Copy + VectorSpace, R: Copy> Copy for Decomposed<V, R> where
V::Scalar: Copy, [src]
V::Scalar: Copy,
impl<V: Clone + VectorSpace, R: Clone> Clone for Decomposed<V, R> where
V::Scalar: Clone, [src]
V::Scalar: Clone,
fn clone(&self) -> Decomposed<V, R>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<S: BaseFloat, R: Rotation2<S>> From<Decomposed<Vector2<S>, R>> for Matrix3<S>[src]
fn from(dec: Decomposed<Vector2<S>, R>) -> Matrix3<S>[src]
impl<S: BaseFloat, R: Rotation3<S>> From<Decomposed<Vector3<S>, R>> for Matrix4<S>[src]
fn from(dec: Decomposed<Vector3<S>, R>) -> Matrix4<S>[src]
impl<V: Debug + VectorSpace, R: Debug> Debug for Decomposed<V, R> where
V::Scalar: Debug, [src]
V::Scalar: Debug,
impl<S: VectorSpace, R, E: BaseFloat> ApproxEq for Decomposed<S, R> where
S: ApproxEq<Epsilon = E>,
S::Scalar: ApproxEq<Epsilon = E>,
R: ApproxEq<Epsilon = E>, [src]
S: ApproxEq<Epsilon = E>,
S::Scalar: ApproxEq<Epsilon = E>,
R: ApproxEq<Epsilon = E>,
type Epsilon = E
Used for specifying relative comparisons.
fn default_epsilon() -> E[src]
fn default_max_relative() -> E[src]
fn default_max_ulps() -> u32[src]
fn relative_eq(&self, other: &Self, epsilon: E, max_relative: E) -> bool[src]
fn ulps_eq(&self, other: &Self, epsilon: E, max_ulps: u32) -> bool[src]
fn relative_ne(
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool[src]
&self,
other: &Self,
epsilon: Self::Epsilon,
max_relative: Self::Epsilon
) -> bool
The inverse of ApproxEq::relative_eq.
fn ulps_ne(&self, other: &Self, epsilon: Self::Epsilon, max_ulps: u32) -> bool[src]
The inverse of ApproxEq::ulps_eq.
Auto Trait Implementations
impl<V, R> Unpin for Decomposed<V, R> where
R: Unpin,
V: Unpin,
<V as VectorSpace>::Scalar: Unpin,
R: Unpin,
V: Unpin,
<V as VectorSpace>::Scalar: Unpin,
impl<V, R> Sync for Decomposed<V, R> where
R: Sync,
V: Sync,
<V as VectorSpace>::Scalar: Sync,
R: Sync,
V: Sync,
<V as VectorSpace>::Scalar: Sync,
impl<V, R> Send for Decomposed<V, R> where
R: Send,
V: Send,
<V as VectorSpace>::Scalar: Send,
R: Send,
V: Send,
<V as VectorSpace>::Scalar: Send,
impl<V, R> UnwindSafe for Decomposed<V, R> where
R: UnwindSafe,
V: UnwindSafe,
<V as VectorSpace>::Scalar: UnwindSafe,
R: UnwindSafe,
V: UnwindSafe,
<V as VectorSpace>::Scalar: UnwindSafe,
impl<V, R> RefUnwindSafe for Decomposed<V, R> where
R: RefUnwindSafe,
V: RefUnwindSafe,
<V as VectorSpace>::Scalar: RefUnwindSafe,
R: RefUnwindSafe,
V: RefUnwindSafe,
<V as VectorSpace>::Scalar: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,