code: public void ensureMinMax() {
  		double t;
  		if (this.maxx < this.minx) {
  			t = this.minx;
  			this.minx = this.maxx;
  			this.maxx = t;
  		}
  		if (this.maxy < this.miny) {
  			t = this.miny;
  			this.miny = this.maxy;
  			this.maxy = t;
  		}
  		if (this.maxz < this.minz) {
  			t = this.minz;
  			this.minz = this.maxz;
  			this.maxz = t;
  		}
  		if (this.maxm < this.minm) {
  			t = this.minm;
  			this.minm = this.maxm;
  			this.maxm = t;
  		}
  	}
docs: Ensure that min and max values are correctly ordered.