public boolean equals(Object obj) {
		if (!(obj instanceof GDimension)) return false;
		GDimension dim = (GDimension) obj;
		return ((float) myWidth == (float) dim.myWidth) && ((float) myHeight == (float) dim.myHeight);
	}