QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
conductor.cpp File Reference
Include dependency graph for conductor.cpp:

Classes

class  ConductorXmlRetroCompatibility

Macros

#define PR(x)

Functions

bool isContained (const QPointF &a, const QPointF &b, const QPointF &c)
ConductorlongestConductorInPotential (Conductor *conductor, bool all_diagram)
 longestConductorInPotential
QList< Conductor * > relatedConductors (const Conductor *conductor)
 relatedConductors

Macro Definition Documentation

◆ PR

#define PR ( x)
Value:
qDebug() << #x " = " << x;

Function Documentation

◆ isContained()

bool isContained ( const QPointF & a,
const QPointF & b,
const QPointF & c )
Parameters
apoint
bpoint
cpoint
Returns
true si le point a est contenu dans le rectangle delimite par les points b et c
Here is the call graph for this function:
Here is the caller graph for this function:

◆ longestConductorInPotential()

Conductor * longestConductorInPotential ( Conductor * conductor,
bool all_diagram )

longestConductorInPotential

Parameters
conductor: a conductor in the potential to search
all_diagram: true -> search in the whole project, false -> search only in the diagram of conductor
Returns
the longest conductor in the same potential of conductor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ relatedConductors()

QList< Conductor * > relatedConductors ( const Conductor * conductor)

relatedConductors

Parameters
conductor
Returns
return all conductors who share the same terminals of conductor given as parameter, except conductor itself.
Here is the call graph for this function:
Here is the caller graph for this function: