question: public boolean check_change_net ( BrdItem p_item , int p_new_net_no ) { NetNosList net_no_arr = new NetNosList ( p_new_net_no ) ; for ( int index = 0 ; index < p_item . tile_shape_count ( ) ; ++ index ) { ShapeTile curr_shape = p_item . tile_shape_get ( index ) ; Set < BrdItem > obstacles = overlapping_items_with_clearance ( curr_shape , p_item . shape_layer ( index ) , net_no_arr , p_item . clearance_idx ( ) ) ; for ( BrdItem curr_ob : obstacles ) { if ( curr_ob != p_item ) continue ; if ( curr_ob . contains_net ( p_new_net_no ) ) continue ; return false ; } } return true ; }
target:  Checks, if the net number of p_item can be changed without producing clearance violations