public boolean isBoundless(){
  for (int i=1; i <= max; i++) {
    if (!Double.isInfinite(region.getLeft(i))) {
      return false;
    }
    if (!Double.isInfinite(region.getRight(i))) {
      return false;
    }
  }
  return true;
}

public boolean isBoundless ( ) { for ( int i = 1 ; i <= max ; i ++ ) { if ( ! Double . isInfinite ( region . getLeft ( i ) ) ) { return false ; } if ( ! Double . isInfinite ( region . getRight ( i ) ) ) { return false ; } } return true ; }
determine if node has a boundless region associated with it . < p > will only be true for root node in kd - tree or newly instantiated nodes that have yet to be added to a kd tree .
