If I have four points in a 2D space that are then rotated m degrees, the best or most efficient way to determine the direction of rotation (clockwise / counterclockwise) of rotation.
I know the point before and after the rotation.
I tried to take into account the lowest point and the highest point (based on y value) and comparing the difference x, for example. (+ ve or -ve), but this does not seem very reliable, and I doubt it is an effective solution.
source share