Trait nalgebra::FromHomogeneous
[−]
[src]
pub trait FromHomogeneous<U> { fn from(&U) -> Self; }
Traits of objects which can be build from an homogeneous coordinate form.
Required Methods
fn from(&U) -> Self
Builds an object from its homogeneous coordinate form.
Note that this this is not required that from
is the inverse of to_homogeneous
.
Typically, from
will remove some informations unrecoverable by to_homogeneous
.
Implementors
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vector2<N>> for Vector1<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vector3<N>> for Vector2<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vector4<N>> for Vector3<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vector5<N>> for Vector4<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vector6<N>> for Vector5<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Point2<N>> for Point1<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Point3<N>> for Point2<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Point4<N>> for Point3<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Point5<N>> for Point4<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Point6<N>> for Point5<N>
impl<N: BaseNum + Copy> FromHomogeneous<Matrix2<N>> for Matrix1<N>
impl<N: BaseNum + Copy> FromHomogeneous<Matrix3<N>> for Matrix2<N>
impl<N: BaseNum + Copy> FromHomogeneous<Matrix4<N>> for Matrix3<N>
impl<N: BaseNum + Copy> FromHomogeneous<Matrix5<N>> for Matrix4<N>
impl<N: BaseNum + Copy> FromHomogeneous<Matrix6<N>> for Matrix5<N>