Apply (x′,y′)=(xcosθ−ysinθ, xsinθ+ycosθ)(x',y') = (x\cos\theta - y\sin\theta,\ x\sin\theta + y\cos\theta)(x′,y′)=(xcosθ−ysinθ, xsinθ+ycosθ).