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<Vec2<N>> for Vec1<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vec3<N>> for Vec2<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vec4<N>> for Vec3<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vec5<N>> for Vec4<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Vec6<N>> for Vec5<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Pnt2<N>> for Pnt1<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Pnt3<N>> for Pnt2<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Pnt4<N>> for Pnt3<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Pnt5<N>> for Pnt4<N>
impl<N: Copy + Div<N, Output=N> + One + Zero> FromHomogeneous<Pnt6<N>> for Pnt5<N>
impl<N: BaseNum + Copy> FromHomogeneous<Mat2<N>> for Mat1<N>
impl<N: BaseNum + Copy> FromHomogeneous<Mat3<N>> for Mat2<N>
impl<N: BaseNum + Copy> FromHomogeneous<Mat4<N>> for Mat3<N>
impl<N: BaseNum + Copy> FromHomogeneous<Mat5<N>> for Mat4<N>
impl<N: BaseNum + Copy> FromHomogeneous<Mat6<N>> for Mat5<N>