Trait nalgebra::FloatPnt [] [src]

pub trait FloatPnt<N: BaseFloat, V: Norm<N>>: NumPnt<N, V> + Sized {
    fn sqdist(&self, other: &Self) -> N { ... }
    fn dist(&self, other: &Self) -> N { ... }
}

Trait of points with components implementing the BaseFloat trait.

Provided Methods

fn sqdist(&self, other: &Self) -> N

Computes the square distance between two points.

fn dist(&self, other: &Self) -> N

Computes the distance between two points.

Implementors