pub fn euclidian_distance_2_d(pt1_x: f64, pt1_y: f64, pt2_x: f64, pt2_y: f64) -> f64 {
    let temp_x = pt2_x - pt1_x;
    let temp_y = pt2_y - pt1_y;
    let distance = ((temp_x * temp_x) + (temp_y * temp_y)).sqrt();
    distance
}
/// Computes the Euclidian distance between the two points.
Computes the Euclidian distance between the two points.
Computes the Euclidian distance between the two points .
pub fn euclidian_distance_2_d(pt1_x: f64, pt1_y: f64, pt2_x: f64, pt2_y: f64) -> f64 {
    let temp_x = pt2_x - pt1_x;
    let temp_y = pt2_y - pt1_y;
    let distance = ((temp_x * temp_x) + (temp_y * temp_y)).sqrt();
    distance
}
pub fn euclidian_distance_2_d ( pt1_x : f64 , pt1_y : f64 , pt2_x : f64 , pt2_y : f64 ) -> f64 { let temp_x = pt2_x - pt1_x ; let temp_y = pt2_y - pt1_y ; let distance = ( ( temp_x * temp_x ) + ( temp_y * temp_y ) ) . sqrt ( ) ; distance }
Computes the Euclidian distance between the two points.
Computes the Euclidian distance between the two points .
pt1_x
f64
pt1_y
f64
pt2_x
f64
pt2_y
f64