code: @Override
  	public void setFromCorners(double x1, double y1, double z1, double x2, double y2, double z2) {
  		if (x1<x2) {
  			this.minxProperty.set(x1);
  			this.maxxProperty.set(x2);
  		}
  		else {
  			this.minxProperty.set(x2);
  			this.maxxProperty.set(x1);
  		}
  		if (y1<y2) {
  			this.minyProperty.set(y1);
  			this.maxyProperty.set(y2);
  		}
  		else {
  			this.minyProperty.set(y2);
  			this.maxyProperty.set(y1);
  		}
  		if (z1<z2) {
  			this.minzProperty.set(z1);
  			this.maxzProperty.set(z2);
  		}
  		else {
  			this.minzProperty.set(z2);
  			this.maxzProperty.set(z1);
  		}
  	}
docs: Change the frame of the box.
  
  @param x1 is the coordinate of the first corner.
  @param y1 is the coordinate of the first corner.
  @param z1 is the coordinate of the first corner.
  @param x2 is the coordinate of the second corner.
  @param y2 is the coordinate of the second corner.
  @param z2 is the coordinate of the second corner.