The new coordinates of new point if it is rotated by 90 degree counterclockwise by adding pi/2 to the coordinate. It is equivalent to 270 degree if it is rotated clockwise direction. The new coordinates of new point if it is rotated by 180 degree counterclockwise by adding pi to the coordinate. It is equivalent to 180 degree if it is rotated clockwise direction.