public boolean equals(Object obj) {
		if (!(obj instanceof GRectangle)) return false;
		GRectangle r = (GRectangle) obj;
		if ((float) xc != (float) r.xc) return false;
		if ((float) yc != (float) r.yc) return false;
		if ((float) myWidth != (float) r.myWidth) return false;
		if ((float) myHeight != (float) r.myHeight) return false;
		return true;
	}