nalgebra
pub fn distance_squared<P: EuclideanSpace>(p1: &P, p2: &P) -> P::RealField
The squared distance between two points.