rust_3d
pub fn sqr_dist_nd<P, U>(p1: &P, p2: &U) -> Result<f64> where P: IsND, U: IsND,
Returns the squared distance between two IsND in case their number of dimensions match