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

#include <conductorsegmentprofile.h>

Collaboration diagram for ConductorSegmentProfile:
Collaboration graph

Public Member Functions

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

Public Attributes

qreal length
 segment length
 
bool isHorizontal
 segment orientation
 

Detailed Description

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

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

◆ ConductorSegmentProfile() [2/2]

ConductorSegmentProfile::ConductorSegmentProfile ( ConductorSegment segment)
inline

Constructor

Parameters
segmentSegment the profile should be copied from.

◆ ~ConductorSegmentProfile()

virtual ConductorSegmentProfile::~ConductorSegmentProfile ( )
inlinevirtual

Destructor.

Member Data Documentation

◆ isHorizontal

bool ConductorSegmentProfile::isHorizontal

segment orientation

◆ length

qreal ConductorSegmentProfile::length

segment length


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