Computes the orientation of 3 points in a plane