pub fn compute_distance(p0: &(usize, isize, isize), p1: &(usize, isize, isize)) -> f64 {
    let dx = p0.1 - p1.1;
    let dy = p0.2 - p1.2;
    ((dx * dx + dy * dy) as f64).sqrt()
}
/// Computes the distance between two locations
Computes the distance between two locations
Computes the distance between two locations
pub fn compute_distance(p0: &(usize, isize, isize), p1: &(usize, isize, isize)) -> f64 {
    let dx = p0.1 - p1.1;
    let dy = p0.2 - p1.2;
    ((dx * dx + dy * dy) as f64).sqrt()
}
pub fn compute_distance ( p0 : & ( usize , isize , isize ) , p1 : & ( usize , isize , isize ) ) -> f64 { let dx = p0 . 1 - p1 . 1 ; let dy = p0 . 2 - p1 . 2 ; ( ( dx * dx + dy * dy ) as f64 ) . sqrt ( ) }
Computes the distance between two locations
Computes the distance between two locations
p0
&(usize, isize, isize)
p1
&(usize, isize, isize)
p0
&(usize, isize, isize)
p1
&(usize, isize, isize)