Skip to main content

calc_sq_distance

Function calc_sq_distance 

Source
pub fn calc_sq_distance(x1: f64, y1: f64, x2: f64, y2: f64) -> f64
Expand description

Squared Euclidean distance between two points.