returns the octant of a directed line segment from p0 to p1 . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
int function ( Coordinate arg0 , Coordinate arg1 ) { double loc0 = arg1 . x - arg0 . x ; double loc1 = arg1 . y - arg0 . y ; if ( loc0 == 0.0 && loc1 == 0.0 ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; return octant ( loc0 , loc1 ) ; }