94 if( aItem.
Type() == KICAD_T::PCB_BOARD_OUTLINE_T )
109 return outline->m_parent ==
m_parent;
122 return "PCB_BOARD_OUTLINE";
128void PCB_BOARD_OUTLINE::Show(
int nestLevel, std::ostream& os )
const
130 NestedSpace( nestLevel, os ) <<
'<' <<
GetClass().Lower().mb_str() <<
">\n";
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
BOARD_ITEM_CONTAINER * GetParent() const
A base class for most all the KiCad significant classes used in schematics and boards.
void SetFlags(EDA_ITEM_FLAGS aMask)
KICAD_T Type() const
Returns the type of object.
EDA_ITEM * m_parent
Owner.
LSET is a set of PCB_LAYER_IDs.
SHAPE_POLY_SET m_outlines
PCB_LAYER_ID GetLayer() const override
Return the primary layer this item is on.
std::vector< int > ViewGetLayers() const override
Return the all the layers within the VIEW the object is painted on.
double Similarity(const BOARD_ITEM &aItem) const override
Return a measure of how likely the other object is to represent the same object.
PCB_BOARD_OUTLINE(BOARD_ITEM *aParent)
bool IsOnLayer(PCB_LAYER_ID aLayer) const override
Test to see if this object is on the given layer.
wxString GetClass() const override
Return the class name.
bool operator==(const BOARD_ITEM &aItem) const override
PCB_BOARD_OUTLINE & operator=(const PCB_BOARD_OUTLINE &aOther)
static void CopyPros(const PCB_BOARD_OUTLINE &aCopyFrom, PCB_BOARD_OUTLINE &aCopyTo)
~PCB_BOARD_OUTLINE() override
LSET GetLayerSet() const override
Return a std::bitset of all layers on which the item physically resides.
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
const BOX2I BBox(int aClearance=0) const override
Compute a bounding box of the shape, with a margin of aClearance a collision.
#define SKIP_STRUCT
flag indicating that the structure should be ignored
@ LAYER_BOARD_OUTLINE_AREA
PCB board outline.
PCB_LAYER_ID
A quick note on layer IDs:
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
@ PCB_BOARD_OUTLINE_T
class PCB_BOARD_OUTLINE_T, a pcb board outline item