QElectroTech 0.100.0-dev
|
#include <conductorprofile.h>
Public Member Functions | |
ConductorProfile () | |
Constructeur. | |
ConductorProfile (Conductor *conductor) | |
ConductorProfile (const ConductorProfile &) | |
ConductorProfile & | operator= (const ConductorProfile &) |
virtual | ~ConductorProfile () |
destructeur | |
bool | isNull () const |
void | setNull () |
supprime les segments du profil de conducteur | |
qreal | width () const |
qreal | height () const |
uint | segmentsCount (QET::ConductorSegmentType) const |
QList< ConductorSegmentProfile * > | horizontalSegments () |
QList< ConductorSegmentProfile * > | verticalSegments () |
void | fromConductor (Conductor *) |
Public Attributes | |
QList< ConductorSegmentProfile * > | segments |
Segments composing the conductor. | |
Qet::Orientation | beginOrientation |
Orientation of the start terminal. | |
Qet::Orientation | endOrientation |
Orientation of the end terminal. | |
This class represents the profile of a conductor, i.e. its primary characteristics.
ConductorProfile::ConductorProfile | ( | ) |
Constructeur.
ConductorProfile::ConductorProfile | ( | Conductor * | conductor | ) |
Constructeur
conductor | conducteur dont il faut extraire le profil |
ConductorProfile::ConductorProfile | ( | const ConductorProfile & | c | ) |
Constructeur de copie
c | autre conducteur |
|
virtual |
destructeur
void ConductorProfile::fromConductor | ( | Conductor * | conductor | ) |
Reconstruit le profil a partir d'un conducteur existant
qreal ConductorProfile::height | ( | ) | const |
QList< ConductorSegmentProfile * > ConductorProfile::horizontalSegments | ( | ) |
bool ConductorProfile::isNull | ( | ) | const |
ConductorProfile & ConductorProfile::operator= | ( | const ConductorProfile & | c | ) |
Operateur =
c | autre conducteur |
uint ConductorProfile::segmentsCount | ( | QET::ConductorSegmentType | type | ) | const |
type | Type de Segments |
void ConductorProfile::setNull | ( | ) |
supprime les segments du profil de conducteur
QList< ConductorSegmentProfile * > ConductorProfile::verticalSegments | ( | ) |
qreal ConductorProfile::width | ( | ) | const |
Qet::Orientation ConductorProfile::beginOrientation |
Orientation of the start terminal.
Qet::Orientation ConductorProfile::endOrientation |
Orientation of the end terminal.
QList<ConductorSegmentProfile *> ConductorProfile::segments |
Segments composing the conductor.