code: void transform(Envelope2D env) {
  
  		if (env.isEmpty())
  			return;
  
  		Point2D[] buf = new Point2D[4];
  		env.queryCorners(buf);
  		transform(buf, buf);
  		env.setFromPoints(buf, 4);
  	}
docs: Transforms envelope
  
  @param env
  The envelope that is to be transformed