Function rin::math::distance[][src]

pub fn distance<N, D>(
    p1: &Point<N, D>,
    p2: &Point<N, D>
) -> <N as SimdComplexField>::SimdRealField where
    N: SimdComplexField,
    D: DimName,
    DefaultAllocator: Allocator<N, D, U1>, 

The distance between two points.

See also: