|
|
| LINK_HOLDER (PnsKind aKind) |
| | Add a reference to an item registered in a #NODE that is a part of this line.
|
| |
|
void | Link (LINKED_ITEM *aLink) |
| | Return the list of links from the owning node that constitute this line (or NULL if the line is not linked).
|
| |
|
LINKS & | Links () |
| |
|
const LINKS & | Links () const |
| |
|
bool | IsLinked () const |
| | Check if the segment aLink is a part of the line.
|
| |
|
bool | ContainsLink (const LINKED_ITEM *aItem) const |
| |
|
LINKED_ITEM * | GetLink (int aIndex) const |
| | Erase the linking information. Used to detach the line from the owning node.
|
| |
| virtual void | ClearLinks () |
| | Return the number of segments that were assembled together to form this line. More...
|
| |
|
int | LinkCount () const |
| |
| void | ShowLinks () const |
| |
|
| ITEM (PnsKind aKind) |
| |
|
| ITEM (const ITEM &aOther) |
| |
| virtual ITEM * | Clone () const =0 |
| | Return a deep copy of the item. More...
|
| |
|
virtual const SHAPE_LINE_CHAIN | Hull (int aClearance=0, int aWalkaroundThickness=0, int aLayer=-1) const |
| |
|
virtual const SHAPE_LINE_CHAIN | HoleHull (int aClearance, int aWalkaroundThickness, int aLayer) const |
| |
|
PnsKind | Kind () const |
| | Return the type (kind) of the item.
|
| |
|
bool | OfKind (int aKindMask) const |
| | Return true if the item's type matches the mask aKindMask.
|
| |
|
std::string | KindStr () const |
| | Returns the kind of the item, as string.
|
| |
|
void | SetParent (const PNS_HORIZON_PARENT_ITEM *aParent) |
| |
|
const PNS_HORIZON_PARENT_ITEM * | Parent () const |
| |
|
void | SetNet (int aNet) |
| |
|
int | Net () const |
| |
|
const LAYER_RANGE & | Layers () const |
| |
|
void | SetLayers (const LAYER_RANGE &aLayers) |
| |
|
void | SetLayer (int aLayer) |
| |
|
virtual int | Layer () const |
| |
|
bool | LayersOverlap (const ITEM *aOther) const |
| | Return true if the set of layers spanned by aOther overlaps our layers.
|
| |
|
NODE * | Owner () const |
| | Return the owner of this item, or NULL if there's none.
|
| |
| void | SetOwner (NODE *aOwner) |
| | Set the node that owns this item. More...
|
| |
| bool | BelongsTo (NODE *aNode) const |
| |
| bool | Collide (const ITEM *aOther, const NODE *aNode, bool aDifferentNetsOnly=true) const |
| | Check for a collision (clearance violation) with between us and item aOther. More...
|
| |
| virtual const SHAPE * | Shape () const |
| | Return the geometrical shape of the item. More...
|
| |
|
virtual const SHAPE * | Hole () const |
| |
|
virtual void | Mark (int aMarker) const |
| |
|
virtual void | Unmark (int aMarker=-1) const |
| |
|
virtual int | Marker () const |
| |
|
virtual void | SetRank (int aRank) |
| |
|
virtual int | Rank () const |
| |
|
virtual VECTOR2I | Anchor (int n) const |
| |
|
virtual int | AnchorCount () const |
| |
|
bool | IsLocked () const |
| |
|
void | SetRoutable (bool aRoutable) |
| |
|
bool | IsRoutable () const |
| |
|
bool | IsVirtual () const |
| |
|
void | SetIsCompoundShapePrimitive () |
| |
|
bool | IsCompoundShapePrimitive () const |
| |