Trait nalgebra::FloatPoint 
                   
                       [−]
                   
               [src]
pub trait FloatPoint<N: BaseFloat>: NumPoint<N> + Sized where Self::Vector: Norm<NormType=N> {
    fn distance_squared(&self, other: &Self) -> N { ... }
    fn distance(&self, other: &Self) -> N { ... }
}Trait of points with components implementing the BaseFloat trait.
Provided Methods
fn distance_squared(&self, other: &Self) -> N
Computes the square distance between two points.
fn distance(&self, other: &Self) -> N
Computes the distance between two points.
Implementors
impl<N> FloatPoint<N> for Point1<N> where N: BaseFloat + ApproxEq<N>impl<N> FloatPoint<N> for Point2<N> where N: BaseFloat + ApproxEq<N>impl<N> FloatPoint<N> for Point3<N> where N: BaseFloat + ApproxEq<N>impl<N> FloatPoint<N> for Point4<N> where N: BaseFloat + ApproxEq<N>impl<N> FloatPoint<N> for Point5<N> where N: BaseFloat + ApproxEq<N>impl<N> FloatPoint<N> for Point6<N> where N: BaseFloat + ApproxEq<N>