public void increaseBounds(Object bounds,Object add){
  SpatialKey a=(SpatialKey)add;
  SpatialKey b=(SpatialKey)bounds;
  if (a.isNull() || b.isNull()) {
    return;
  }
  for (int i=0; i < dimensions; i++) {
    b.setMin(i,Math.min(b.min(i),a.min(i)));
    b.setMax(i,Math.max(b.max(i),a.max(i)));
  }
}

public void increaseBounds ( Object bounds , Object add ) { SpatialKey a = ( SpatialKey ) add ; SpatialKey b = ( SpatialKey ) bounds ; if ( a . isNull ( ) || b . isNull ( ) ) { return ; } for ( int i = 0 ; i < dimensions ; i ++ ) { b . setMin ( i , Math . min ( b . min ( i ) , a . min ( i ) ) ) ; b . setMax ( i , Math . max ( b . max ( i ) , a . max ( i ) ) ) ; } }
increase the bounds in the given spatial object .
