On 14/11/17 11:50, miles mccoo wrote:
> I do see that the implementation of GetPadCount(aNet) does just that.[3]
> Also, in that implementation, it's referencing connAlgo's padList. Is
> this better than asking board for its pads? I'm thinking the whole
> "don't repeat yourself" thing [4]

Would you like to have something like

vector<board_connected_item> BOARD::AllItemsInNet( int aNet ) ?

Tom

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to