public static double calcProjectedEuclideanDistance(Coord coord,Coord other){
  double xDiff=other.getX() - coord.getX();
  double yDiff=other.getY() - coord.getY();
  return Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
}

public static double calcProjectedEuclideanDistance ( Coord coord , Coord other ) { double xDiff = other . getX ( ) - coord . getX ( ) ; double yDiff = other . getY ( ) - coord . getY ( ) ; return Math . sqrt ( ( xDiff * xDiff ) + ( yDiff * yDiff ) ) ; }
method to deal with distance calculation when only the x and y - components of the coordinates are used . the elevation ( z component ) is ignored , whether it is available or not . ( xy - plane )
