Check the orientation of c relative to the line through a and b
first point
second point
comparison point
Check the orientation of c relative to the line through a and b