[][src]Trait rust_3d::traits::IsNormalized3D

pub trait IsNormalized3D: Sized + Is3D {
    fn new<P>(p: P) -> Result<Self>
    where
        P: Is3D
;
fn norm_x() -> Self;
fn norm_y() -> Self;
fn norm_z() -> Self; }

IsNormalized3D is a trait used for types which are positioned within the 3D space and normalized

Required methods

fn new<P>(p: P) -> Result<Self> where
    P: Is3D

fn norm_x() -> Self

Should return a new normalized object which only points in the x-Direction

fn norm_y() -> Self

Should return a new normalized object which only points in the y-Direction

fn norm_z() -> Self

Should return a new normalized object which only points in the z-Direction

Loading content...

Implementors

impl IsNormalized3D for Norm3D[src]

Loading content...