KiCad PCB EDA Suite
PNS::RULE_RESOLVER Class Referenceabstract

Class RULE_RESOLVER. More...

#include <pns_node.h>

Inheritance diagram for PNS::RULE_RESOLVER:
PNS_PCBNEW_RULE_RESOLVER

Public Member Functions

virtual ~RULE_RESOLVER ()
 
virtual bool CollideHoles (const ITEM *aA, const ITEM *aB, bool aNeedMTV, VECTOR2I *aMTV) const =0
 
virtual int Clearance (const ITEM *aA, const ITEM *aB) const =0
 
virtual int Clearance (int aNetCode) const =0
 
virtual int DpCoupledNet (int aNet)=0
 
virtual int DpNetPolarity (int aNet)=0
 
virtual bool DpNetPair (ITEM *aItem, int &aNetP, int &aNetN)=0
 
virtual wxString NetName (int aNet)=0
 

Detailed Description

Class RULE_RESOLVER.

An abstract function object, returning a design rule (clearance, diff pair gap, etc) required between two items.

Definition at line 56 of file pns_node.h.

Constructor & Destructor Documentation

◆ ~RULE_RESOLVER()

virtual PNS::RULE_RESOLVER::~RULE_RESOLVER ( )
inlinevirtual

Definition at line 59 of file pns_node.h.

59 {}

Member Function Documentation

◆ Clearance() [1/2]

virtual int PNS::RULE_RESOLVER::Clearance ( const ITEM aA,
const ITEM aB 
) const
pure virtual

◆ Clearance() [2/2]

virtual int PNS::RULE_RESOLVER::Clearance ( int  aNetCode) const
pure virtual

Implemented in PNS_PCBNEW_RULE_RESOLVER.

◆ CollideHoles()

virtual bool PNS::RULE_RESOLVER::CollideHoles ( const ITEM aA,
const ITEM aB,
bool  aNeedMTV,
VECTOR2I aMTV 
) const
pure virtual

Implemented in PNS_PCBNEW_RULE_RESOLVER.

◆ DpCoupledNet()

virtual int PNS::RULE_RESOLVER::DpCoupledNet ( int  aNet)
pure virtual

◆ DpNetPair()

virtual bool PNS::RULE_RESOLVER::DpNetPair ( ITEM aItem,
int &  aNetP,
int &  aNetN 
)
pure virtual

◆ DpNetPolarity()

virtual int PNS::RULE_RESOLVER::DpNetPolarity ( int  aNet)
pure virtual

◆ NetName()

virtual wxString PNS::RULE_RESOLVER::NetName ( int  aNet)
pure virtual

The documentation for this class was generated from the following file: