Function nalgebra::distance_squared[][src]

pub fn distance_squared<P: EuclideanSpace>(p1: &P, p2: &P) -> P::RealField

The squared distance between two points.

See also: