public double distance(Coord coord){
  return Math.sqrt(distanceSquare(coord));
}

public double distance ( Coord coord ) { return Math . sqrt ( distanceSquare ( coord ) ) ; }
return the euclidian distance between two coords
