Horizon
|
Public Member Functions | |
SOLID (const SOLID &aSolid) | |
ITEM * | Clone () const override |
Function Clone() More... | |
const SHAPE * | Shape () const override |
Function Shape() More... | |
const SHAPE_LINE_CHAIN | Hull (int aClearance=0, int aWalkaroundThickness=0) const override |
void | SetShape (SHAPE *shape) |
const VECTOR2I & | Pos () const |
void | SetPos (const VECTOR2I &aCenter) |
virtual VECTOR2I | Anchor (int aN) const override |
virtual int | AnchorCount () const override |
VECTOR2I | Offset () const |
void | SetOffset (const VECTOR2I &aOffset) |
![]() | |
ITEM (PnsKind aKind) | |
ITEM (const ITEM &aOther) | |
PnsKind | Kind () const |
Function Kind() More... | |
bool | OfKind (int aKindMask) const |
Function OfKind() More... | |
const std::string | KindStr () const |
Function KindStr() More... | |
void | SetParent (const PNS_HORIZON_PARENT_ITEM *aParent) |
Function SetParent() More... | |
auto | Parent () const |
Function Parent() More... | |
void | SetNet (int aNet) |
Function SetNet() More... | |
int | Net () const |
Function Net() More... | |
bool | InAnyNet () const |
void | SetLayers (const LAYER_RANGE &aLayers) |
Function SetLayers() More... | |
void | SetLayer (int aLayer) |
Function SetLayer() More... | |
const LAYER_RANGE & | Layers () const |
Function Layers() More... | |
virtual int | Layer () const |
Function Layer() More... | |
bool | LayersOverlap (const ITEM *aOther) const |
Function LayersOverlap() More... | |
void | SetOwner (NODE *aOwner) |
Functon SetOwner() More... | |
bool | BelongsTo (NODE *aNode) const |
Function BelongsTo() More... | |
NODE * | Owner () const |
Function Owner() More... | |
virtual bool | Collide (const ITEM *aOther, int aClearance, bool aNeedMTV, VECTOR2I &aMTV, bool aDifferentNetsOnly=true) const |
Function Collide() More... | |
bool | Collide (const ITEM *aOther, int aClearance, bool aDifferentNetsOnly=true) const |
Function Collide() More... | |
virtual void | Mark (int aMarker) |
virtual void | Unmark (int aMarker=-1) |
virtual int | Marker () const |
virtual void | SetRank (int aRank) |
virtual int | Rank () const |
bool | IsLocked () const |
void | SetRoutable (bool aRoutable) |
bool | IsRoutable () const |
Static Public Member Functions | |
static bool | ClassOf (const ITEM *aItem) |
Additional Inherited Members | |
![]() | |
enum | PnsKind { SOLID_T = 1 , LINE_T = 2 , JOINT_T = 4 , SEGMENT_T = 8 , VIA_T = 16 , DIFF_PAIR_T = 32 , ANY_T = 0xff } |
| |
![]() | |
static const int | UnusedNet = INT_MAX |
![]() | |
PnsKind | m_kind |
const PNS_HORIZON_PARENT_ITEM * | m_parent |
NODE * | m_owner |
LAYER_RANGE | m_layers |
bool | m_movable |
int | m_net |
int | m_marker |
int | m_rank |
bool | m_routable |
|
overridevirtual |
|
inlineoverridevirtual |