QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ConductorProfile Class Reference

#include <conductorprofile.h>

Collaboration diagram for ConductorProfile:
Collaboration graph

Public Member Functions

 ConductorProfile ()
 Constructeur.
 
 ConductorProfile (Conductor *conductor)
 
 ConductorProfile (const ConductorProfile &)
 
ConductorProfileoperator= (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.
 

Detailed Description

This class represents the profile of a conductor, i.e. its primary characteristics.

Constructor & Destructor Documentation

◆ ConductorProfile() [1/3]

ConductorProfile::ConductorProfile ( )

Constructeur.

◆ ConductorProfile() [2/3]

ConductorProfile::ConductorProfile ( Conductor conductor)

Constructeur

Parameters
conductorconducteur dont il faut extraire le profil
Here is the call graph for this function:

◆ ConductorProfile() [3/3]

ConductorProfile::ConductorProfile ( const ConductorProfile c)

Constructeur de copie

Parameters
cautre conducteur

◆ ~ConductorProfile()

ConductorProfile::~ConductorProfile ( )
virtual

destructeur

Here is the call graph for this function:

Member Function Documentation

◆ fromConductor()

void ConductorProfile::fromConductor ( Conductor conductor)

Reconstruit le profil a partir d'un conducteur existant

Here is the call graph for this function:
Here is the caller graph for this function:

◆ height()

qreal ConductorProfile::height ( ) const
Returns
la hauteur occupee par le conducteur
Here is the call graph for this function:
Here is the caller graph for this function:

◆ horizontalSegments()

QList< ConductorSegmentProfile * > ConductorProfile::horizontalSegments ( )
Returns
les segments horizontaux de ce profil
Here is the caller graph for this function:

◆ isNull()

bool ConductorProfile::isNull ( ) const
Returns
true si le profil est nul
Here is the caller graph for this function:

◆ operator=()

ConductorProfile & ConductorProfile::operator= ( const ConductorProfile c)

Operateur =

Parameters
cautre conducteur
Here is the call graph for this function:

◆ segmentsCount()

uint ConductorProfile::segmentsCount ( QET::ConductorSegmentType  type) const
Parameters
typeType de Segments
Returns
Le nombre de segments composant le conducteur.
Here is the caller graph for this function:

◆ setNull()

void ConductorProfile::setNull ( )

supprime les segments du profil de conducteur

Here is the caller graph for this function:

◆ verticalSegments()

QList< ConductorSegmentProfile * > ConductorProfile::verticalSegments ( )
Returns
les segments verticaux de ce profil
Here is the caller graph for this function:

◆ width()

qreal ConductorProfile::width ( ) const
Returns
la largeur occupee par le conducteur
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ beginOrientation

Qet::Orientation ConductorProfile::beginOrientation

Orientation of the start terminal.

◆ endOrientation

Qet::Orientation ConductorProfile::endOrientation

Orientation of the end terminal.

◆ segments

QList<ConductorSegmentProfile *> ConductorProfile::segments

Segments composing the conductor.


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