Trait nalgebra::FloatPoint [] [src]

pub trait FloatPoint<N: BaseFloat>: NumPoint<N> + Sized where Self::Vector: Norm<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

Computes the square distance between two points.

Computes the distance between two points.

Implementors