public double distance(Point2D p)
public static double distance(double x1, double y1, double x2, double y2)
  public double distance(Point2D p)  {    return distance(getX(), p.getX(), getY(), p.getY());  }