KiCad PCB EDA Suite
|
Define a "gateway" for routing a differential pair - e.g. More...
#include <pns_diff_pair.h>
Public Member Functions | |
DP_GATEWAY (const VECTOR2I &aAnchorP, const VECTOR2I &aAnchorN, bool aIsDiagonal, int aAllowedEntryAngles=DIRECTION_45::ANG_OBTUSE, int aPriority=0) | |
~DP_GATEWAY () | |
bool | IsDiagonal () const |
const VECTOR2I & | AnchorP () const |
const VECTOR2I & | AnchorN () const |
int | AllowedAngles () const |
int | Priority () const |
void | SetPriority (int aPriority) |
void | SetEntryLines (const SHAPE_LINE_CHAIN &aEntryP, const SHAPE_LINE_CHAIN &aEntryN) |
const SHAPE_LINE_CHAIN & | EntryP () const |
const SHAPE_LINE_CHAIN & | EntryN () const |
const DIFF_PAIR | Entry () const |
void | Reverse () |
bool | HasEntryLines () const |
Private Attributes | |
SHAPE_LINE_CHAIN | m_entryP |
SHAPE_LINE_CHAIN | m_entryN |
bool | m_hasEntryLines |
VECTOR2I | m_anchorP |
VECTOR2I | m_anchorN |
bool | m_isDiagonal |
int | m_allowedEntryAngles |
int | m_priority |
Define a "gateway" for routing a differential pair - e.g.
a pair of points (anchors) with certain orientation, spacing and (optionally) predefined entry paths. The routing algorithm connects such gateways with parallel lines, thus creating a differential pair.
Definition at line 43 of file pns_diff_pair.h.
|
inline |
Definition at line 46 of file pns_diff_pair.h.
References m_hasEntryLines.
|
inline |
Definition at line 55 of file pns_diff_pair.h.
|
inline |
Definition at line 74 of file pns_diff_pair.h.
References m_allowedEntryAngles.
Referenced by PNS::DIFF_PAIR::BuildInitial().
|
inline |
Definition at line 69 of file pns_diff_pair.h.
References m_anchorN.
Referenced by PNS::DIFF_PAIR::BuildInitial(), and PNS::DP_GATEWAYS::FilterByOrientation().
|
inline |
Definition at line 67 of file pns_diff_pair.h.
References m_anchorP.
Referenced by PNS::DIFF_PAIR::BuildInitial(), and PNS::DP_GATEWAYS::FilterByOrientation().
const DIFF_PAIR PNS::DP_GATEWAY::Entry | ( | ) | const |
Definition at line 301 of file pns_diff_pair.cpp.
References DIFF_PAIR, m_entryN, and m_entryP.
Referenced by PNS::DIFF_PAIR::BuildInitial().
|
inline |
Definition at line 97 of file pns_diff_pair.h.
References m_entryN.
|
inline |
Definition at line 96 of file pns_diff_pair.h.
References m_entryP.
|
inline |
Definition at line 102 of file pns_diff_pair.h.
References m_hasEntryLines.
Referenced by PNS::DIFF_PAIR::BuildInitial().
|
inline |
Definition at line 62 of file pns_diff_pair.h.
References m_isDiagonal.
|
inline |
Definition at line 79 of file pns_diff_pair.h.
References m_priority.
void PNS::DP_GATEWAY::Reverse | ( | ) |
Definition at line 199 of file pns_diff_pair.cpp.
References m_entryN, m_entryP, and SHAPE_LINE_CHAIN::Reverse().
Referenced by PNS::DIFF_PAIR::BuildInitial().
|
inline |
Definition at line 89 of file pns_diff_pair.h.
References m_entryN, m_entryP, and m_hasEntryLines.
Referenced by PNS::DP_GATEWAYS::buildDpContinuation().
|
inline |
Definition at line 84 of file pns_diff_pair.h.
References m_priority.
Referenced by PNS::DP_GATEWAYS::buildDpContinuation().
|
private |
Definition at line 112 of file pns_diff_pair.h.
Referenced by AllowedAngles().
|
private |
Definition at line 110 of file pns_diff_pair.h.
Referenced by AnchorN().
|
private |
Definition at line 110 of file pns_diff_pair.h.
Referenced by AnchorP().
|
private |
Definition at line 108 of file pns_diff_pair.h.
Referenced by Entry(), EntryN(), Reverse(), and SetEntryLines().
|
private |
Definition at line 108 of file pns_diff_pair.h.
Referenced by Entry(), EntryP(), Reverse(), and SetEntryLines().
|
private |
Definition at line 109 of file pns_diff_pair.h.
Referenced by DP_GATEWAY(), HasEntryLines(), and SetEntryLines().
|
private |
Definition at line 111 of file pns_diff_pair.h.
Referenced by IsDiagonal().
|
private |
Definition at line 113 of file pns_diff_pair.h.
Referenced by Priority(), and SetPriority().