is a - > b - > c a counterclockwise turn ? concode_field_sep Comparator<Point2D> X_ORDER concode_elem_sep Comparator<Point2D> POLAR_ORDER concode_elem_sep Comparator<Point2D> ATAN2_ORDER concode_elem_sep Comparator<Point2D> R_ORDER concode_elem_sep Comparator<Point2D> DISTANCE_TO_ORDER concode_elem_sep double x concode_elem_sep double y concode_elem_sep Comparator<Point2D> Y_ORDER concode_field_sep double distanceSquaredTo concode_elem_sep double angleTo concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep void drawTo concode_elem_sep double area2 concode_elem_sep void main concode_elem_sep int compareTo concode_elem_sep void draw concode_elem_sep double theta concode_elem_sep double distanceTo concode_elem_sep double r concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep double x concode_elem_sep double y concode_elem_sep String toString
int function ( Point2D arg0 , Point2D arg1 , Point2D arg2 ) { double loc0 = ( arg1 . x - arg0 . x ) * ( arg2 . y - arg0 . y ) - ( arg1 . y - arg0 . y ) * ( arg2 . x - arg0 . x ) ; if ( loc0 < 0 ) return - 1 ; else if ( loc0 > 0 ) return + 1 ; else return 0 ; }