int function ( Coordinate arg0 , Coordinate arg1 ) { if ( arg1 . x == arg0 . x && arg1 . y == arg0 . y ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; if ( arg1 . x >= arg0 . x ) { if ( arg1 . y >= arg0 . y ) return NE ; else return SE ; } else { if ( arg1 . y >= arg0 . y ) return NW ; else return SW ; } }
returns the quadrant of a directed line segment from p0 to p1 . concode_field_sep int NW concode_elem_sep int NE concode_elem_sep int SW concode_elem_sep int SE concode_field_sep boolean isInHalfPlane concode_elem_sep boolean isOpposite concode_elem_sep int commonHalfPlane concode_elem_sep boolean isNorthern