31 assert( range.
Start() != -1 && range.
End() != -1 );
35 for(
int i = 0; i <= range.
End(); ++i )
36 m_subIndices.emplace_back( std::make_unique<ITEM_SHAPE_INDEX>( i ) );
39 for(
int i = range.
Start(); i <= range.
End(); ++i )
53 assert( range.
Start() != -1 && range.
End() != -1 );
58 for(
int i = range.
Start(); i <= range.
End(); ++i )
std::deque< std::unique_ptr< ITEM_SHAPE_INDEX > > m_subIndices
void Replace(ITEM *aOldItem, ITEM *aNewItem)
Replaces one item with another.
void Remove(ITEM *aItem)
Removes an item from the spatial index.
std::list< ITEM * > NET_ITEMS_LIST
void Add(ITEM *aItem)
Adds item to the spatial index.
NET_ITEMS_LIST * GetItemsForNet(NET_HANDLE aNet)
Returns list of all items in a given net.
std::map< NET_HANDLE, NET_ITEMS_LIST > m_netMap
Base class for PNS router board items.
const PNS_LAYER_RANGE & Layers() const
virtual NET_HANDLE Net() const
Represent a contiguous set of PCB layers.
Push and Shove diff pair dimensions (gap) settings dialog.