double tx = (x - getCenterX()) / rx; double ty = (y - getCenterY()) / ry; return tx * tx + ty * ty <= 1.0;
double tx = (x - (getX() + rx)) / rx; double ty = (y - (getY() + ry)) / ry; return tx * tx + ty * ty < 1.0;
  public boolean contains(double x, double y)  {		double rx = getWidth() / 2;		double ry = getHeight() / 2;		double tx = (x - getCenterX()) / rx;		double ty = (y - getCenterY()) / ry;		return tx * tx + ty * ty <= 1.0;	}