Trait na::FloatPnt[][src]

pub trait FloatPnt: NumPnt + Neg<Output = Self> where
    Self::Field: RealField + Neg<Output = Self::Field>,
    Self::Coordinates: Neg<Output = Self::Coordinates>, 
{ fn origin() -> Self;
fn distance(&self, b: &Self) -> Self::Field;
fn distance_squared(&self, b: &Self) -> Self::Field; }

Trait of vector with components implementing the RealField trait.

Required methods

fn origin() -> Self[src]

fn distance(&self, b: &Self) -> Self::Field[src]

fn distance_squared(&self, b: &Self) -> Self::Field[src]

Loading content...

Implementors

impl<N: BaseNum + RealField> FloatPnt for Point1<N>[src]

impl<N: BaseNum + RealField> FloatPnt for Point2<N>[src]

impl<N: BaseNum + RealField> FloatPnt for Point3<N>[src]

impl<N: BaseNum + RealField> FloatPnt for Point4<N>[src]

impl<N: BaseNum + RealField> FloatPnt for Point5<N>[src]

impl<N: BaseNum + RealField> FloatPnt for Point6<N>[src]

Loading content...