QElectroTech  0.70
Public Member Functions | Public Attributes | List of all members
ConductorSegmentProfile Class Reference

#include <conductorsegmentprofile.h>

Public Member Functions

 ConductorSegmentProfile (qreal l, bool ori=true)
 
 ConductorSegmentProfile (ConductorSegment *segment)
 
virtual ~ConductorSegmentProfile ()
 Destructor. More...
 

Public Attributes

qreal length
 segment length More...
 
bool isHorizontal
 segment orientation More...
 

Detailed Description

This class embeds the profile (i.e. main characteristics) of a conductor segment.

Definition at line 26 of file conductorsegmentprofile.h.

Constructor & Destructor Documentation

◆ ConductorSegmentProfile() [1/2]

ConductorSegmentProfile::ConductorSegmentProfile ( qreal  l,
bool  ori = true 
)
inline

Constructor

Parameters
lsegment length
oritrue if the segment is horizontal, false if it is vertical

Definition at line 34 of file conductorsegmentprofile.h.

◆ ConductorSegmentProfile() [2/2]

ConductorSegmentProfile::ConductorSegmentProfile ( ConductorSegment segment)
inline

Constructor

Parameters
segmentSegment the profile should be copied from.

Definition at line 44 of file conductorsegmentprofile.h.

◆ ~ConductorSegmentProfile()

virtual ConductorSegmentProfile::~ConductorSegmentProfile ( )
inlinevirtual

Destructor.

Definition at line 51 of file conductorsegmentprofile.h.

Member Data Documentation

◆ isHorizontal

bool ConductorSegmentProfile::isHorizontal

segment orientation

Definition at line 59 of file conductorsegmentprofile.h.

◆ length

qreal ConductorSegmentProfile::length

segment length

Definition at line 57 of file conductorsegmentprofile.h.


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