int function ( Object arg0 , Object arg1 ) { Coordinate loc0 = ( Coordinate ) arg0 ; Coordinate loc1 = ( Coordinate ) arg1 ; int loc2 = compare ( loc0 . x , loc1 . x ) ; if ( loc2 != 0 ) return loc2 ; int loc3 = compare ( loc0 . y , loc1 . y ) ; if ( loc3 != 0 ) return loc3 ; if ( dimensionsToTest <= 2 ) return 0 ; int loc4 = compare ( loc0 . z , loc1 . z ) ; return loc4 ; }
compares two coordinate s along to the number of dimensions specified . concode_field_sep double NULL_ORDINATE concode_elem_sep double x concode_elem_sep double y concode_elem_sep int X concode_elem_sep double z concode_elem_sep int Y concode_elem_sep int dimensionsToTest concode_elem_sep long serialVersionUID concode_elem_sep int Z concode_field_sep double getOrdinate concode_elem_sep double distance concode_elem_sep boolean equalInZ concode_elem_sep int compareTo concode_elem_sep void setOrdinate concode_elem_sep boolean equals2D concode_elem_sep boolean equals2D concode_elem_sep int hashCode concode_elem_sep int hashCode concode_elem_sep boolean equals3D concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep double distance3D concode_elem_sep void setCoordinate concode_elem_sep String toString