int function ( Object arg0 ) { SweepLineEvent loc0 = ( SweepLineEvent ) arg0 ; if ( xValue < loc0 . xValue ) return - 1 ; if ( xValue > loc0 . xValue ) return 1 ; if ( eventType < loc0 . eventType ) return - 1 ; if ( eventType > loc0 . eventType ) return 1 ; return 0 ; }
projectionevents are ordered first by their x-value , and then by their eventtype . it is important that insert events are sorted before delete events , so that items whose insert and delete events occur at the same x-value will be correctly handled . concode_field_sep int DELETE concode_elem_sep Object edgeSet concode_elem_sep double xValue concode_elem_sep Object obj concode_elem_sep int eventType concode_elem_sep int INSERT concode_elem_sep SweepLineEvent insertEvent concode_elem_sep int deleteEventIndex concode_field_sep Object getObject concode_elem_sep void setDeleteEventIndex concode_elem_sep boolean isDelete concode_elem_sep SweepLineEvent getInsertEvent concode_elem_sep int getDeleteEventIndex concode_elem_sep boolean isInsert