code: function(angle, origin) {
          for(var i=0, len=this.components.length; i<len; ++i) {
              this.components[i].rotate(angle, origin);
          }
      }
docs: APIMethod: rotate
  Rotate a geometry around some origin
  
  Parameters:
  angle - {Float} Rotation angle in degrees (measured counterclockwise
  from the positive x-axis)
  origin - {<OpenLayers.Geometry.Point>} Center point for the rotation