code: public Envelope3D transform(Envelope3D env) {
  
  		if (env.isEmpty())
  			return env;
  
  		Point3D[] buf = new Point3D[8];
  		env.queryCorners(buf);
  
  		transform(buf, 8, buf);
  		env.setFromPoints(buf);
  		return env;
  	}
docs: Transforms an envelope. The result is the bounding box of the transformed
  envelope.