public LibPadstack add(String p_name,ShapeConvex[] p_shapes,boolean p_attach_allowed,boolean p_placed_absolute){
  int pad_no=count() + 1;
  LibPadstack new_padstack=new LibPadstack(p_name,pad_no,p_shapes,p_attach_allowed,p_placed_absolute);
  padstack_list.add(new_padstack);
  return new_padstack;
}

public LibPadstack add ( String p_name , ShapeConvex [ ] p_shapes , boolean p_attach_allowed , boolean p_placed_absolute ) { int pad_no = count ( ) + 1 ; LibPadstack new_padstack = new LibPadstack ( p_name , pad_no , p_shapes , p_attach_allowed , p_placed_absolute ) ; padstack_list . add ( new_padstack ) ; return new_padstack ; }
appends a new padstack with the input shapes to this padstacks . p_shapes is an array of dimension board layer_count . p_attach_allowed indicates if vias of the own net are allowed to overlap with this padstack if p_placed_absolute is false , the layers of the padstack are mirrored , if it is placed on the back side .
