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
impl<N> FloatPnt<N> for Pnt1<N> where N: BaseFloat + ApproxEq<N>
impl<N> FloatPnt<N> for Pnt2<N> where N: BaseFloat + ApproxEq<N>
impl<N> FloatPnt<N> for Pnt3<N> where N: BaseFloat + ApproxEq<N>
impl<N> FloatPnt<N> for Pnt4<N> where N: BaseFloat + ApproxEq<N>
impl<N> FloatPnt<N> for Pnt5<N> where N: BaseFloat + ApproxEq<N>
impl<N> FloatPnt<N> for Pnt6<N> where N: BaseFloat + ApproxEq<N>