rust_3d
pub fn sqr_dist_2d<P, Q>(p: &P, q: &Q) -> f64 where P: Is2D, Q: Is2D,
Returns the squared distance between two Is2D