Trait nalgebra::FloatPnt [] [src]

pub trait FloatPnt<N: BaseFloat>: NumPnt<N> + Sized where Self::Vec: Norm<N> {
    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