QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
conductor.h File Reference
#include "../autoNum/assignvariables.h"
#include "../conductorproperties.h"
#include <QGraphicsPathItem>
#include <QUuid>
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

ConductorlongestConductorInPotential (Conductor *conductor, bool all_diagram=false)
 longestConductorInPotential
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:

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