code: public void rotate(double cos, double sin) {
  		Transformation2D temp = new Transformation2D();
  		temp.setRotate(cos, sin);
  		multiply(temp);
  	}
docs: Rotates the transformation.
  
  @param cos
  The cos angle of the rotation.
  @param sin
  The sin angle of the rotation.