QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
conductor.h File Reference
#include "../autoNum/assignvariables.h"
#include "../conductorproperties.h"
#include <QGraphicsPathItem>
Include dependency graph for conductor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Conductor
 

Typedefs

typedef QPair< QPointF, Qt::Corner > ConductorBend
 
typedef QHash< Qt::Corner, ConductorProfileConductorProfilesGroup
 

Functions

ConductorlonguestConductorInPotential (Conductor *conductor, bool all_diagram=false)
 longuestConductorInPotential
 
QList< Conductor * > relatedConductors (const Conductor *conductor)
 relatedConductors
 
template<typename T >
bool isBetween (const T a, const T b, const T c)
 

Typedef Documentation

◆ ConductorBend

typedef QPair<QPointF, Qt::Corner> ConductorBend

◆ ConductorProfilesGroup

typedef QHash<Qt::Corner, ConductorProfile> ConductorProfilesGroup

Function Documentation

◆ isBetween()

template<typename T >
bool isBetween ( const T  a,
const T  b,
const T  c 
)
Here is the caller graph for this function:

◆ longuestConductorInPotential()

Conductor * longuestConductorInPotential ( Conductor conductor,
bool  all_diagram 
)

longuestConductorInPotential

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 longuest 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: