Rotates the coordinates by a 'theta' angle (in radians) in
the trigonometric direction (anti-clockwise). If not provided,
assumed to be the centroid size. It involves three steps: centering from current position,
dividing coordinates by 'scale', translating to the original position.
Usage
coo_rotate(coo, theta = 0)
Arguments
coo
either a matrix of (x; y) coordinates, or any Coo object.