[−][src]Trait rust_3d::IsNormalized2D
IsNormalized2D is a trait used for types which are positioned within the 2D space and normalized
Required methods
fn new<P>(p: P) -> Result<Self> where
P: Is2D,
P: Is2D,
Should construct a new object and only fail if it can't be normalized
Provided methods
fn norm_x() -> Self
Returns a new normalized object which only points in the positive x-Direction
fn norm_y() -> Self
Returns a new normalized object which only points in the positive y-Direction
fn norm_x_neg() -> Self
Returns a new normalized object which only points in the negative x-Direction
fn norm_y_neg() -> Self
Returns a new normalized object which only points in the negative y-Direction