public boolean remove_items_and_pull_tight(Collection<BrdItem> p_item_list,int p_pull_tight_accuracy,boolean p_with_delete_fixed){
  boolean all_deleted=true;
  changed_area_clear();
  Set<Integer> changed_nets=new TreeSet<Integer>();
  for (  BrdItem curr_item : p_item_list) {
    if (!curr_item.can_delete(p_with_delete_fixed)) {
      all_deleted=false;
      continue;
    }
    for (int index=0; index < curr_item.tile_shape_count(); ++index) {
      ShapeTile curr_shape=curr_item.tile_shape_get(index);
      changed_area.join(curr_shape,curr_item.shape_layer(index));
    }
    remove_item(curr_item);
    for (int index=0; index < curr_item.net_count(); ++index) {
      changed_nets.add(curr_item.get_net_no(index));
    }
  }
  for (  Integer curr_net_no : changed_nets) {
    combine_traces(curr_net_no);
  }
  TimeLimitStoppable t_limit=new TimeLimitStoppable(s_PREVENT_ENDLESS_LOOP);
  changed_area_optimize(NetNosList.EMPTY,p_pull_tight_accuracy,null,t_limit,null);
  return all_deleted;
}

public boolean remove_items_and_pull_tight ( Collection < BrdItem > p_item_list , int p_pull_tight_accuracy , boolean p_with_delete_fixed ) { boolean all_deleted = true ; changed_area_clear ( ) ; Set < Integer > changed_nets = new TreeSet < Integer > ( ) ; for ( BrdItem curr_item : p_item_list ) { if ( ! curr_item . can_delete ( p_with_delete_fixed ) ) { all_deleted = false ; continue ; } for ( int index = 0 ; index < curr_item . tile_shape_count ( ) ; ++ index ) { ShapeTile curr_shape = curr_item . tile_shape_get ( index ) ; changed_area . join ( curr_shape , curr_item . shape_layer ( index ) ) ; } remove_item ( curr_item ) ; for ( int index = 0 ; index < curr_item . net_count ( ) ; ++ index ) { changed_nets . add ( curr_item . get_net_no ( index ) ) ; } } for ( Integer curr_net_no : changed_nets ) { combine_traces ( curr_net_no ) ; } TimeLimitStoppable t_limit = new TimeLimitStoppable ( s_PREVENT_ENDLESS_LOOP ) ; changed_area_optimize ( NetNosList . EMPTY , p_pull_tight_accuracy , null , t_limit , null ) ; return all_deleted ; }
removes the items in p_item_list and pulls the nearby rubber traces tight .
