Trait rin::math::FloatPnt[][src]

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

Trait of vector with components implementing the RealField trait.

Required methods

pub fn origin() -> Self[src]

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

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

Loading content...

Implementors

impl<N> FloatPnt for Point<N, U1> where
    N: BaseNum + RealField
[src]

impl<N> FloatPnt for Point<N, U2> where
    N: BaseNum + RealField
[src]

impl<N> FloatPnt for Point<N, U3> where
    N: BaseNum + RealField
[src]

impl<N> FloatPnt for Point<N, U4> where
    N: BaseNum + RealField
[src]

impl<N> FloatPnt for Point<N, U5> where
    N: BaseNum + RealField
[src]

impl<N> FloatPnt for Point<N, U6> where
    N: BaseNum + RealField
[src]

Loading content...