![]() |
KiCad PCB EDA Suite
|
#include <pns_via.h>
Public Types | |
enum | PnsKind { SOLID_T = 1, LINE_T = 2, JOINT_T = 4, SEGMENT_T = 8, ARC_T = 16, VIA_T = 32, DIFF_PAIR_T = 64, ANY_T = 0xff } |
Public Member Functions | |
VVIA (const VECTOR2I &aPos, int aLayer, int aDiameter, int aNet) | |
const VECTOR2I & | Pos () const |
void | SetPos (const VECTOR2I &aPos) |
VIATYPE | ViaType () const |
void | SetViaType (VIATYPE aViaType) |
int | Diameter () const |
void | SetDiameter (int aDiameter) |
int | Drill () const |
void | SetDrill (int aDrill) |
bool | IsFree () const |
void | SetIsFree (bool aIsFree) |
bool | PushoutForce (NODE *aNode, const VECTOR2I &aDirection, VECTOR2I &aForce, bool aSolidsOnly=true, int aMaxIterations=10) |
const SHAPE * | Shape () const override |
Return the geometrical shape of the item. More... | |
const SHAPE_CIRCLE * | Hole () const override |
void | SetHole (const SHAPE_CIRCLE &aHole) |
VIA * | Clone () const override |
Return a deep copy of the item. More... | |
const SHAPE_LINE_CHAIN | Hull (int aClearance=0, int aWalkaroundThickness=0, int aLayer=-1) const override |
const SHAPE_LINE_CHAIN | HoleHull (int aClearance=0, int aWalkaroundThickness=0, int aLayer=-1) const override |
virtual VECTOR2I | Anchor (int n) const override |
virtual int | AnchorCount () const override |
OPT_BOX2I | ChangedArea (const VIA *aOther) const |
const VIA_HANDLE | MakeHandle () const |
PnsKind | Kind () const |
Return the type (kind) of the item. More... | |
bool | OfKind (int aKindMask) const |
Return true if the item's type matches the mask aKindMask. More... | |
std::string | KindStr () const |
Returns the kind of the item, as string. More... | |
void | SetParent (BOARD_ITEM *aParent) |
BOARD_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. More... | |
NODE * | Owner () const |
Return the owner of this item, or NULL if there's none. More... | |
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 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 |
bool | IsLocked () const |
void | SetRoutable (bool aRoutable) |
bool | IsRoutable () const |
bool | IsVirtual () const |
void | SetIsCompoundShapePrimitive () |
bool | IsCompoundShapePrimitive () const |
Static Public Member Functions | |
static bool | ClassOf (const ITEM *aItem) |
Static Public Attributes | |
static const int | UnusedNet = INT_MAX |
Supported item types. More... | |
Protected Attributes | |
PnsKind | m_kind |
BOARD_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 |
bool | m_isVirtual |
bool | m_isCompoundShapePrimitive |
|
inherited |
Enumerator | |
---|---|
SOLID_T | |
LINE_T | |
JOINT_T | |
SEGMENT_T | |
ARC_T | |
VIA_T | |
DIFF_PAIR_T | |
ANY_T |
Definition at line 61 of file pns_item.h.
|
inline |
Definition at line 175 of file pns_via.h.
References PNS::ITEM::m_isVirtual, PNS::VIA::Pos(), and PNS::VIA::SetHole().
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineinherited |
Definition at line 181 of file pns_item.h.
References PNS::ITEM::m_owner.
Referenced by PNS::NODE::doRemove().
Definition at line 122 of file pns_via.cpp.
References SHAPE::BBox(), BOX2< Vec >::Merge(), PNS::VIA::Pos(), and PNS::VIA::Shape().
Referenced by PNS::ChangedArea().
|
inlinestaticinherited |
Definition at line 94 of file pns_via.h.
References PNS::ITEM::Kind(), and PNS::ITEM::VIA_T.
|
overridevirtualinherited |
Return a deep copy of the item.
Implements PNS::ITEM.
Definition at line 100 of file pns_via.cpp.
References PNS::ITEM::Layers(), PNS::VIA::m_diameter, PNS::VIA::m_drill, PNS::VIA::m_hole, PNS::VIA::m_isFree, PNS::ITEM::m_isVirtual, PNS::ITEM::m_marker, PNS::ITEM::m_parent, PNS::VIA::m_pos, PNS::ITEM::m_rank, PNS::VIA::m_shape, PNS::VIA::m_viaType, PNS::ITEM::Net(), PNS::ITEM::SetLayers(), PNS::ITEM::SetNet(), and PNS::VIA::VIA().
|
inherited |
Check for a collision (clearance violation) with between us and item aOther.
Collision checking takes all PCB stuff into account (layers, nets, DRC rules). Optionally returns a minimum translation vector for force propagation algorithm.
aOther | is the item to check collision against. |
Definition at line 131 of file pns_item.cpp.
References PNS::ITEM::collideSimple(), PNS::LINE::EndsWithVia(), PNS::ITEM::LINE_T, PNS::ITEM::m_kind, and PNS::LINE::Via().
Referenced by PNS::SHOVE::onCollidingSolid(), PNS::OPTIMIZER::CACHE_VISITOR::operator()(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), PNS::SHOVE::shoveLineFromLoneVia(), PNS::SHOVE::shoveLineToHullSet(), and PNS::COMPONENT_DRAGGER::Start().
|
inlineinherited |
Definition at line 111 of file pns_via.h.
References PNS::VIA::m_diameter.
Referenced by PNS::LINE::LINE(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), and PNS::SHOVE::shoveLineFromLoneVia().
|
inlineinherited |
Definition at line 119 of file pns_via.h.
References PNS::VIA::m_drill.
Referenced by PNS::SHOVE::shoveLineFromLoneVia().
|
inlineoverridevirtualinherited |
Reimplemented from PNS::ITEM.
Definition at line 135 of file pns_via.h.
References PNS::VIA::m_hole.
|
overridevirtualinherited |
Reimplemented from PNS::ITEM.
Definition at line 89 of file pns_via.cpp.
References SHAPE_CIRCLE::GetRadius(), PNS::VIA::m_hole, PNS::VIA::m_pos, and PNS::OctagonalHull().
|
overridevirtualinherited |
Reimplemented from PNS::ITEM.
Definition at line 74 of file pns_via.cpp.
References PNS::ROUTER::GetInstance(), PNS::ROUTER::GetInterface(), SHAPE_CIRCLE::GetRadius(), PNS::ROUTER_IFACE::IsFlashedOnLayer(), PNS::VIA::m_diameter, PNS::VIA::m_hole, PNS::VIA::m_pos, and PNS::OctagonalHull().
Referenced by PNS::SHOVE::shoveLineFromLoneVia(), and PNS::SHOVE::ShoveObstacleLine().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 227 of file pns_item.h.
References PNS::ITEM::Marker(), and PNS::MK_LOCKED.
Referenced by ROUTER_TOOL::InlineBreakTrack(), ROUTER_TOOL::performDragging(), and PNS::SHOVE::pushOrShoveVia().
|
inlineinherited |
Definition at line 233 of file pns_item.h.
References PNS::ITEM::m_routable.
Referenced by PNS::NODE::addSolid(), and PNS::NODE::removeSolidIndex().
|
inlineinherited |
Definition at line 235 of file pns_item.h.
References PNS::ITEM::m_isVirtual.
Referenced by PNS_KICAD_IFACE::DisplayItem(), PNS::NODE::GetClearance(), PNS::NODE::GetHoleClearance(), PNS::NODE::GetHoleToHoleClearance(), and PNS::NODE::QueryColliding().
|
inlineinherited |
Return the type (kind) of the item.
Definition at line 130 of file pns_item.h.
References PNS::ITEM::m_kind.
Referenced by PNS_KICAD_IFACE::AddItem(), PNS::NODE::AssembleLine(), PNS::TOPOLOGY::AssembleTrivialPath(), PNS::OPTIMIZER::CacheRemove(), PNS::NODE::CheckColliding(), PNS::SEGMENT::ClassOf(), PNS::ARC::ClassOf(), PNS::SOLID::ClassOf(), PNS::VIA::ClassOf(), PNS::LINE::ClassOf(), PNS::DIFF_PAIR::ClassOf(), PNS::OPTIMIZER::computeBreakouts(), PNS::DIFF_PAIR_PLACER::FindDpPrimitivePair(), PNS::NODE::followLine(), PNS::getDanglingAnchor(), PNS::MEANDER_PLACER_BASE::getSnappedStartPoint(), PNS_PCBNEW_RULE_RESOLVER::holeRadius(), PNS_KICAD_IFACE_BASE::inheritTrackWidth(), PNS::OPTIMIZER::CACHE_VISITOR::operator()(), ROUTER_TOOL::performDragging(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), PNS::NODE::Remove(), PNS::SHOVE::shoveIteration(), PNS::OPTIMIZER::smartPadsSingle(), PNS::TOOL_BASE::snapToItem(), PNS::DRAGGER::Start(), PNS::LINE_PLACER::Start(), ROUTER_PREVIEW_ITEM::Update(), PNS_KICAD_IFACE::UpdateItem(), and PNS::LINE_PLACER::UpdateSizes().
|
inherited |
Returns the kind of the item, as string.
Definition at line 160 of file pns_item.cpp.
References PNS::ITEM::ARC_T, PNS::ITEM::DIFF_PAIR_T, PNS::ITEM::JOINT_T, PNS::ITEM::LINE_T, PNS::ITEM::m_kind, PNS::ITEM::SEGMENT_T, PNS::ITEM::SOLID_T, and PNS::ITEM::VIA_T.
Referenced by PNS::TOOL_BASE::pickSingleItem(), and PNS::TOOL_BASE::updateEndItem().
|
inlinevirtualinherited |
Definition at line 158 of file pns_item.h.
References PNS::ITEM::Layers(), and LAYER_RANGE::Start().
Referenced by PNS::TOPOLOGY::AssembleTuningPath(), PNS::TOOL_BASE::checkSnap(), PNS_PCBNEW_RULE_RESOLVER::Clearance(), PNS::ITEM::collideSimple(), PNS::DRAGGER::CurrentLayer(), PNS::OPTIMIZER::fanoutCleanup(), PNS_PCBNEW_RULE_RESOLVER::HoleClearance(), PNS_PCBNEW_RULE_RESOLVER::HoleToHoleClearance(), PNS_KICAD_IFACE_BASE::ImportSizes(), PNS::ROUTER::markViolations(), PNS::NODE::NearestObstacle(), LENGTH_TUNER_TOOL::performTuning(), PNS::OPTIMIZER::runSmartPads(), PNS::SHOVE::shoveLineFromLoneVia(), and PNS::SHOVE::ShoveObstacleLine().
|
inlineinherited |
Definition at line 154 of file pns_item.h.
References PNS::ITEM::m_layers.
Referenced by PNS::INDEX::Add(), PNS::NODE::Add(), PNS::NODE::addArc(), PNS_KICAD_IFACE::AddItem(), PNS::NODE::addSegment(), PNS::NODE::addSolid(), PNS::NODE::addVia(), PNS::ARC::ARC(), PNS::TOPOLOGY::AssembleDiffPair(), PNS::NODE::AssembleLine(), PNS::KEEP_TOPOLOGY_CONSTRAINT::Check(), PNS_PCBNEW_RULE_RESOLVER::Clearance(), PNS::VIA::Clone(), PNS::ITEM::collideSimple(), PNS::MEANDER_PLACER::CurrentLayer(), PNS::DP_MEANDER_PLACER::CurrentLayer(), PNS::DIFF_PAIR_PLACER::FindDpPrimitivePair(), PNS::NODE::FindJoint(), PNS::NODE::FindLinesBetweenJoints(), PNS::NODE::findRedundantArc(), PNS::NODE::findRedundantSegment(), PNS::NODE::FixupVirtualVias(), ROUTER_TOOL::getStartLayer(), PNS_PCBNEW_RULE_RESOLVER::HoleClearance(), PNS_PCBNEW_RULE_RESOLVER::HoleToHoleClearance(), PNS_KICAD_IFACE::IsFlashedOnLayer(), PNS::ITEM::Layer(), PNS::ITEM::LayersOverlap(), PNS::LINE::LINE(), PNS::NODE::LockJoint(), PNS::VIA::MakeHandle(), PNS::ROUTER::markViolations(), PNS::SHOVE::onCollidingSolid(), LENGTH_TUNER_TOOL::performTuning(), PNS::TOOL_BASE::pickSingleItem(), PNS::INDEX::Query(), PNS::INDEX::Remove(), PNS::NODE::removeArcIndex(), PNS::NODE::removeSegmentIndex(), PNS::NODE::removeSolidIndex(), PNS::NODE::removeViaIndex(), PNS_TEST_ENVIRONMENT::ReplayLog(), PNS::SEGMENT::SEGMENT(), PNS::LINE_PLACER::SetLayer(), PNS::COMPONENT_DRAGGER::Start(), ROUTER_PREVIEW_ITEM::Update(), PNS::TOOL_BASE::updateEndItem(), PNS::DIFF_PAIR::updateLine(), PNS::TOOL_BASE::updateStartItem(), and PNS::VIA::VIA().
|
inlineinherited |
Return true if the set of layers spanned by aOther overlaps our layers.
Definition at line 163 of file pns_item.h.
References PNS::ITEM::Layers(), and LAYER_RANGE::Overlaps().
Referenced by PNS::SHOVE::onCollidingArc(), PNS::SHOVE::onCollidingSegment(), PNS::NODE::rebuildJoint(), and PNS::SHOVE::ShoveObstacleLine().
|
inherited |
Definition at line 134 of file pns_via.cpp.
References PNS::VIA_HANDLE::layers, PNS::ITEM::Layers(), PNS::VIA_HANDLE::net, PNS::ITEM::Net(), PNS::VIA_HANDLE::pos, PNS::VIA::Pos(), and PNS::VIA_HANDLE::valid.
Referenced by PNS::SHOVE::pushSpringback(), PNS::SHOVE::ShoveDraggingVia(), and PNS::DRAGGER::startDragVia().
|
inlinevirtualinherited |
Reimplemented in PNS::LINE.
Definition at line 210 of file pns_item.h.
References PNS::ITEM::m_marker.
Referenced by PNS::ITEM::collideSimple(), and PNS::SHOVE::ShoveDraggingVia().
|
inlinevirtualinherited |
Reimplemented in PNS::LINE.
Definition at line 212 of file pns_item.h.
References PNS::ITEM::m_marker.
Referenced by PNS::ARC::ARC(), PNS::ITEM::collideSimple(), PNS::ITEM::IsLocked(), PNS::SHOVE::pushOrShoveVia(), and ROUTER_PREVIEW_ITEM::Update().
|
inlineinherited |
Definition at line 152 of file pns_item.h.
References PNS::ITEM::m_net.
Referenced by PNS::INDEX::Add(), PNS::NODE::Add(), PNS::NODE::addArc(), PNS_KICAD_IFACE::AddItem(), PNS::NODE::addSegment(), PNS::NODE::addSolid(), PNS::NODE::addVia(), PNS::ARC::ARC(), PNS::TOPOLOGY::AssembleDiffPair(), PNS::NODE::AssembleLine(), PNS::LINE_PLACER::buildInitialLine(), PNS::KEEP_TOPOLOGY_CONSTRAINT::Check(), PNS::VIA::Clone(), PNS::MEANDER_PLACER::CurrentNets(), PNS::DRAGGER::CurrentNets(), PNS::DIFF_PAIR::DIFF_PAIR(), PNS::OPTIMIZER::fanoutCleanup(), PNS::DIFF_PAIR_PLACER::FindDpPrimitivePair(), PNS::NODE::FindJoint(), PNS::NODE::findRedundantArc(), PNS::NODE::findRedundantSegment(), PNS::LINE_PLACER::FixRoute(), ROUTER_TOOL::InlineDrag(), PNS_PCBNEW_RULE_RESOLVER::IsDiffPair(), PNS::ROUTER::isStartingPointRoutable(), PNS::LINE::LINE(), PNS::NODE::LockJoint(), PNS::VIA::MakeHandle(), ROUTER_TOOL::performDragging(), LENGTH_TUNER_TOOL::performTuning(), ROUTER_TOOL::prepareInteractive(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), PNS::NODE::rebuildJoint(), PNS::INDEX::Remove(), PNS::NODE::removeArcIndex(), PNS::NODE::removeSegmentIndex(), PNS::NODE::removeSolidIndex(), PNS::NODE::removeViaIndex(), PNS::OPTIMIZER::runSmartPads(), PNS::SEGMENT::SEGMENT(), PNS::SHOVE::ShoveObstacleLine(), PNS::MEANDER_SKEW_PLACER::Start(), PNS::DIFF_PAIR_PLACER::Start(), PNS::LINE_PLACER::Start(), ROUTER_TOOL::UpdateMessagePanel(), and PNS::VIA::VIA().
|
inlineinherited |
Return true if the item's type matches the mask aKindMask.
Definition at line 138 of file pns_item.h.
References PNS::ITEM::m_kind.
Referenced by PNS::DP_PRIMITIVE_PAIR::anchorDirection(), PNS::TOPOLOGY::AssembleTrivialPath(), ROUTER_TOOL::breakTrack(), PNS::DP_GATEWAYS::BuildFromPrimitivePair(), PNS::ChangedArea(), PNS::TOOL_BASE::checkSnap(), PNS::DP_PRIMITIVE_PAIR::CursorOrientation(), PNS::DP_PRIMITIVE_PAIR::Directional(), PNS_KICAD_IFACE::DisplayItem(), PNS::OPTIMIZER::fanoutCleanup(), PNS::ROUTER::isStartingPointRoutable(), PNS::MEANDER_PLACER_BASE::lineLength(), PNS::SHOVE::onCollidingVia(), PNS::NODE::DEFAULT_OBSTACLE_VISITOR::operator()(), PNS_KICAD_IFACE::RemoveItem(), PNS::LINE_PLACER::SetLayer(), PNS::SHOVE::shoveIteration(), PNS::LINE_PLACER::simplifyNewLine(), PNS::LINE_PLACER::SplitAdjacentSegments(), PNS::MEANDER_SKEW_PLACER::Start(), PNS::MEANDER_PLACER::Start(), PNS::DP_MEANDER_PLACER::Start(), and PNS::SHOVE::unwindLineStack().
|
inlineinherited |
Return the owner of this item, or NULL if there's none.
Definition at line 171 of file pns_item.h.
References PNS::ITEM::m_owner.
Referenced by PNS_KICAD_IFACE_BASE::inheritTrackWidth(), PNS::LINE_PLACER::Move(), and PNS::LINE_PLACER::rhShoveOnly().
|
inlineinherited |
Definition at line 149 of file pns_item.h.
References PNS::ITEM::m_parent.
Referenced by PNS_KICAD_IFACE::AddItem(), PNS::ITEM::collideSimple(), PNS_PCBNEW_RULE_RESOLVER::DpNetPair(), PNS_KICAD_IFACE::HideItem(), PNS_PCBNEW_RULE_RESOLVER::holeRadius(), isCopper(), isEdge(), PNS_KICAD_IFACE::IsFlashedOnLayer(), PNS_KICAD_IFACE::IsItemVisible(), PNS::LOGGER::Log(), PNS_PCBNEW_RULE_RESOLVER::QueryConstraint(), PNS_KICAD_IFACE::RemoveItem(), and PNS_KICAD_IFACE::UpdateItem().
|
inlineinherited |
Definition at line 99 of file pns_via.h.
References PNS::VIA::m_pos.
Referenced by PNS::NODE::addVia(), PNS::LINE::AppendVia(), PNS::LINE_PLACER::buildInitialLine(), PNS::VIA::ChangedArea(), PNS::VIA::MakeHandle(), PNS::SHOVE::onCollidingSolid(), PNS::SHOVE::onReverseCollidingVia(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::SHOVE::pushOrShoveVia(), PNS::VIA::PushoutForce(), PNS::NODE::removeViaIndex(), PNS::SHOVE::ShoveDraggingVia(), and VVIA().
|
inherited |
Definition at line 32 of file pns_via.cpp.
References PNS::ITEM::ANY_T, PNS::NODE::CheckColliding(), PNS::NODE::GetClearance(), PNS::VIA::m_diameter, PNS::VIA::Pos(), VECTOR2< T >::Resize(), PNS::VIA::SetPos(), PNS::VIA::Shape(), and PNS::ITEM::SOLID_T.
Referenced by PNS::LINE_PLACER::buildInitialLine().
|
inlinevirtualinherited |
Reimplemented in PNS::LINE.
Definition at line 215 of file pns_item.h.
References PNS::ITEM::m_rank.
Referenced by PNS::ARC::ARC(), PNS::LINE::LINE(), and PNS::SHOVE::shoveIteration().
|
inlineinherited |
Definition at line 113 of file pns_via.h.
References PNS::VIA::m_diameter, PNS::VIA::m_shape, and SHAPE_CIRCLE::SetRadius().
Referenced by PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::LINE::SetViaDiameter(), and PNS::DIFF_PAIR::SetViaDiameter().
|
inlineinherited |
Definition at line 121 of file pns_via.h.
References PNS::VIA::m_drill, PNS::VIA::m_hole, and SHAPE_CIRCLE::SetRadius().
Referenced by PNS::LINE::SetViaDrill(), and PNS::DIFF_PAIR::SetViaDrill().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 157 of file pns_item.h.
References PNS::ITEM::m_layers.
Referenced by PNS::LINE_PLACER::buildInitialLine(), PNS::LINE_PLACER::FixRoute(), PNS::LINE_PLACER::initPlacement(), PNS::ROUTER::isStartingPointRoutable(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::DIFF_PAIR_PLACER::routeHead(), PNS::LINE_PLACER::SetLayer(), PNS::LINE_PLACER::UnfixRoute(), and PNS::DIFF_PAIR::updateLine().
|
inlineinherited |
Definition at line 155 of file pns_item.h.
References PNS::ITEM::m_layers.
Referenced by PNS::TOPOLOGY::AssembleDiffPair(), PNS::NODE::AssembleLine(), PNS::VIA::Clone(), and PNS::VIA::VIA().
|
inlineinherited |
Definition at line 151 of file pns_item.h.
References PNS::ITEM::m_net.
Referenced by PNS::LINE::AppendVia(), PNS::NODE::AssembleLine(), PNS::LINE_PLACER::buildInitialLine(), PNS::VIA::Clone(), PNS::LINE_PLACER::FixRoute(), PNS::LINE_PLACER::initPlacement(), PNS::ROUTER::isStartingPointRoutable(), PNS::DIFF_PAIR_PLACER::makeVia(), PNS::DIFF_PAIR::updateLine(), and PNS::VIA::VIA().
|
inlineinherited |
Set the node that owns this item.
An item can belong to a single NODE or be unowned.
Definition at line 176 of file pns_item.h.
References PNS::ITEM::m_owner.
Referenced by PNS::NODE::AssembleLine(), PNS::NODE::doRemove(), and PNS::NODE::Remove().
|
inlineinherited |
Definition at line 148 of file pns_item.h.
References PNS::ITEM::m_parent.
Referenced by PNS_KICAD_IFACE::AddItem().
|
inlineinherited |
Definition at line 101 of file pns_via.h.
References PNS::VIA::m_hole, PNS::VIA::m_pos, PNS::VIA::m_shape, and SHAPE_CIRCLE::SetCenter().
Referenced by PNS::LINE_PLACER::buildInitialLine(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), PNS::VIA::PushoutForce(), PNS::SHOVE::ShoveDraggingVia(), and PNS::SHOVE::ShoveLines().
|
inlinevirtualinherited |
Reimplemented in PNS::LINE.
Definition at line 214 of file pns_item.h.
References PNS::ITEM::m_rank.
Referenced by PNS::NODE::Commit(), and PNS::SHOVE::ShoveDraggingVia().
|
inlineinherited |
|
inlineinherited |
|
inlineoverridevirtualinherited |
Return the geometrical shape of the item.
Used for collision detection and spatial indexing.
Reimplemented from PNS::ITEM.
Definition at line 133 of file pns_via.h.
References PNS::VIA::m_shape.
Referenced by PNS::VIA::ChangedArea(), PNS::SHOVE::onCollidingVia(), PNS::DIFF_PAIR_PLACER::propagateDpHeadForces(), and PNS::VIA::PushoutForce().
|
inlinevirtualinherited |
Reimplemented in PNS::LINE.
Definition at line 211 of file pns_item.h.
References PNS::ITEM::m_marker.
Referenced by PNS::NODE::Commit(), and PNS::DRAGGER::Start().
|
inlineinherited |
|
protectedinherited |
Definition at line 259 of file pns_item.h.
Referenced by PNS::ITEM::IsCompoundShapePrimitive(), PNS::ITEM::ITEM(), and PNS::ITEM::SetIsCompoundShapePrimitive().
|
protectedinherited |
Definition at line 258 of file pns_item.h.
Referenced by PNS::VIA::Clone(), PNS::ITEM::IsVirtual(), PNS::ITEM::ITEM(), PNS::VIA::VIA(), and VVIA().
|
protectedinherited |
Definition at line 247 of file pns_item.h.
Referenced by PNS::ITEM::Collide(), PNS::ITEM::collideSimple(), PNS::ITEM::ITEM(), PNS::ITEM::Kind(), PNS::ITEM::KindStr(), and PNS::ITEM::OfKind().
|
protectedinherited |
Definition at line 251 of file pns_item.h.
Referenced by PNS::ARC::ARC(), PNS::SEGMENT::Clone(), PNS::ARC::Clone(), PNS::ITEM::collideSimple(), PNS::JOINT::Dump(), PNS::ITEM::ITEM(), PNS::JOINT::JOINT(), PNS::ITEM::Layers(), PNS::LINE::LINE(), PNS::JOINT::Merge(), PNS::LINE::operator=(), PNS::JOINT::Overlaps(), PNS::SEGMENT::SEGMENT(), PNS::ITEM::SetLayer(), and PNS::ITEM::SetLayers().
|
mutableprotectedinherited |
Definition at line 255 of file pns_item.h.
Referenced by PNS::ARC::ARC(), PNS::SEGMENT::Clone(), PNS::ARC::Clone(), PNS::VIA::Clone(), PNS::ITEM::ITEM(), PNS::LINE::LINE(), PNS::LINE::Mark(), PNS::ITEM::Mark(), PNS::LINE::Marker(), PNS::ITEM::Marker(), PNS::LINE::operator=(), PNS::SEGMENT::SEGMENT(), PNS::LINE::Unmark(), PNS::ITEM::Unmark(), and PNS::VIA::VIA().
|
protectedinherited |
Definition at line 253 of file pns_item.h.
Referenced by PNS::ITEM::ITEM(), PNS::LINE::LINE(), PNS::LINE::operator=(), and PNS::SOLID::SOLID().
|
protectedinherited |
Definition at line 254 of file pns_item.h.
Referenced by PNS::LINE::AppendVia(), PNS::ARC::ARC(), PNS::SEGMENT::Clone(), PNS::ARC::Clone(), PNS::ITEM::collideSimple(), PNS::ITEM::ITEM(), PNS::LINE::LINE(), PNS::ITEM::Net(), PNS::LINE::operator=(), PNS::SEGMENT::SEGMENT(), and PNS::ITEM::SetNet().
|
protectedinherited |
Definition at line 250 of file pns_item.h.
Referenced by PNS::ITEM::BelongsTo(), PNS::ITEM::ITEM(), PNS::LINE::operator=(), PNS::ITEM::Owner(), and PNS::ITEM::SetOwner().
|
protectedinherited |
Definition at line 249 of file pns_item.h.
Referenced by PNS::VIA::Clone(), PNS::ITEM::ITEM(), PNS::ITEM::Parent(), and PNS::ITEM::SetParent().
|
protectedinherited |
Definition at line 256 of file pns_item.h.
Referenced by PNS::ARC::ARC(), PNS::SEGMENT::Clone(), PNS::ARC::Clone(), PNS::VIA::Clone(), PNS::ITEM::ITEM(), PNS::LINE::LINE(), PNS::LINE::operator=(), PNS::LINE::Rank(), PNS::ITEM::Rank(), PNS::SEGMENT::SEGMENT(), PNS::LINE::SetRank(), PNS::ITEM::SetRank(), and PNS::VIA::VIA().
|
protectedinherited |
Definition at line 257 of file pns_item.h.
Referenced by PNS::ITEM::IsRoutable(), PNS::ITEM::ITEM(), and PNS::ITEM::SetRoutable().
|
staticinherited |