ensure that the interval for the inserted item has non-zero extents . use the current minextent to pad it , if necessary concode_field_sep Root root concode_elem_sep double minExtent concode_field_sep Iterator iterator concode_elem_sep int depth concode_elem_sep int nodeSize concode_elem_sep int size concode_elem_sep void collectStats concode_elem_sep List query concode_elem_sep List query concode_elem_sep void query concode_elem_sep void insert concode_elem_sep boolean remove
Interval function ( Interval arg0 , double arg1 ) { double loc0 = arg0 . getMin ( ) ; double loc1 = arg0 . getMax ( ) ; if ( loc0 != loc1 ) return arg0 ; if ( loc0 == loc1 ) { loc0 = loc0 - arg1 / 2.0 ; loc1 = loc0 + arg1 / 2.0 ; } return new Interval ( loc0 , loc1 ) ; }