44                top_layer = *layer_it;
 
   46                bottom_layer = *layer_it;
 
   51        top_layer = 
m_via->TopLayer();
 
   53        bottom_layer = 
m_via->BottomLayer();
 
 
const LSET & GetEnabledLayers() const
Return a bit-mask of all the layers that are enabled.
 
Information pertinent to a Pcbnew printed circuit board.
 
BOARD_DESIGN_SETTINGS & GetDesignSettings() const
 
std::shared_ptr< CONNECTIVITY_DATA > GetConnectivity() const
Return a list of missing connections between components/tracks.
 
bool IsConnectedOnLayer(const BOARD_CONNECTED_ITEM *aItem, int aLayer, const std::initializer_list< KICAD_T > &aTypes={}) const
 
const PCB_VIA * m_via
A proxied PCB_VIA object. Set to nullptr if not proxying a VIA.
 
void CalculateViaLayers(const BOARD *aBoard)
Calculates active via payers for a proxied VIA object.
 
void SetLayers(const PCB_LAYER_ID aStart, const PCB_LAYER_ID aEnd=PCB_LAYER_ID::UNDEFINED_LAYER)
Sets the first and last layers associated with this item.
 
LSET is a set of PCB_LAYER_IDs.
 
copper_layers_iterator copper_layers_end() const
 
copper_layers_iterator copper_layers_begin() const
 
PCB_LAYER_ID
A quick note on layer IDs:
 
@ PCB_PAD_T
class PAD, a pad in a footprint
 
@ PCB_ARC_T
class PCB_ARC, an arc track segment on a copper layer
 
@ PCB_TRACE_T
class PCB_TRACK, a track segment (segment on a copper layer)