25#ifndef PCB_BOARD_OUTLINE_H
26#define PCB_BOARD_OUTLINE_H
71 void Show(
int nestLevel, std::ostream& os )
const override;
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
A base class for most all the KiCad significant classes used in schematics and boards.
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.
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
const SHAPE_POLY_SET & GetOutline() const
PCB_BOARD_OUTLINE & operator=(const PCB_BOARD_OUTLINE &aOther)
SHAPE_POLY_SET & GetOutline()
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.
Represent a set of closed polygons.
bool IsEmpty() const
Return true if the set is empty (no polygons at all)
PCB_LAYER_ID
A quick note on layer IDs: