3.4.0
tigl::generated::CPACSPositioning Class Reference

Positioning of the wing section. More...

#include <CPACSPositioning.h>

+ Inheritance diagram for tigl::generated::CPACSPositioning:

Public Member Functions

TIGL_EXPORT CPACSPositioning (CCPACSPositionings *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const double & GetDihedralAngle () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetFromSectionUID () const
 
virtual TIGL_EXPORT const double & GetLength () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSPositioningsGetParent ()
 
TIGL_EXPORT const CCPACSPositioningsGetParent () const
 
virtual TIGL_EXPORT const double & GetSweepAngle () const
 
virtual TIGL_EXPORT const std::string & GetToSectionUID () const
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetDihedralAngle (const double &value)
 
virtual TIGL_EXPORT void SetFromSectionUID (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetLength (const double &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetSweepAngle (const double &value)
 
virtual TIGL_EXPORT void SetToSectionUID (const std::string &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSPositioning ()
 
- Public Member Functions inherited from tigl::CTiglReqUIDObject
boost::optional< std::string > GetObjectUID () const
 
virtual ~CTiglReqUIDObject ()=default
 
- Public Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
- Public Member Functions inherited from tigl::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 

Protected Attributes

boost::optional< std::string > m_description
 Description of the positioning. More...
 
double m_dihedralAngle
 Dihedralangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the x-axis of the wing coordinate system. More...
 
boost::optional< std::string > m_fromSectionUID
 Reference to starting section of the positioning vector. If missing, the positioning is made from the orgin of the wing coordinate system. More...
 
double m_length
 Distance between inner and outer section (length of the positioning vector). More...
 
std::string m_name
 Name of the positioning. More...
 
CCPACSPositioningsm_parent
 
double m_sweepAngle
 Sweepangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the z-axis of the wing coordinate system. More...
 
std::string m_toSectionUID
 Reference to ending section (section to be positioned) of the positioning vector. More...
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Private Member Functions

 CPACSPositioning (const CPACSPositioning &)=delete
 
 CPACSPositioning (CPACSPositioning &&)=delete
 
TIGL_EXPORT const CTiglUIDObjectGetNextUIDObject () const final
 
TIGL_EXPORT void NotifyUIDChange (const std::string &oldUid, const std::string &newUid) final
 
CPACSPositioningoperator= (const CPACSPositioning &)=delete
 
CPACSPositioningoperator= (CPACSPositioning &&)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Detailed Description

Positioning of the wing section.

The positionings describe an additional translation of sections. Basically, the positioning is a vector having the length 'length' and an orientation that is described by the parameters 'sweepAngle' and 'dihedralAngle'. If the 'sweepAngle' and the 'dihedralAngle' are set to zero (or left blank) the positioning vector equals the positive y-axis of the coordinate system (in case of a positive 'length'). If the parameter 'fromSectionUID' is set, the positioning describes the translation between the 'from' towards the 'to' section. If the parameter 'fromSectionUID' is left blank the orgin of the positioning vector is the origin of the parent coordinate syste. The orgin of the section coordinate system is the position which is described by the positioning vector PLUS the translation which is described in the section. Please note: If the orgin of the positioning vector is defined by using another section, i.e. fromSection is defined, the orgin of this vector equals the end of the positioning vector of the previous section. This means that the section translation of the from-section has no influence on the positioning of the to-section. Therefore the total translation, which is described by positionings, is the sum of the current positioning and all positionings that are defined 'before'. An example for this is given at positioning 3 and 4 at the picture below. Please note, that any other combination of positionings would be possible. Application of the sweepangle does not lead to a rotation of the section. Application of the dihedral does not lead to a rotation of the section.

See also
wingpositionings

Constructor & Destructor Documentation

◆ CPACSPositioning() [1/3]

TIGL_EXPORT tigl::generated::CPACSPositioning::CPACSPositioning ( CCPACSPositionings parent,
CTiglUIDManager uidMgr 
)

◆ ~CPACSPositioning()

virtual TIGL_EXPORT tigl::generated::CPACSPositioning::~CPACSPositioning ( )
virtual

◆ CPACSPositioning() [2/3]

tigl::generated::CPACSPositioning::CPACSPositioning ( const CPACSPositioning )
privatedelete

◆ CPACSPositioning() [3/3]

tigl::generated::CPACSPositioning::CPACSPositioning ( CPACSPositioning &&  )
privatedelete

Member Function Documentation

◆ GetDescription()

virtual TIGL_EXPORT const boost::optional<std::string>& tigl::generated::CPACSPositioning::GetDescription ( ) const
virtual

◆ GetDihedralAngle()

virtual TIGL_EXPORT const double& tigl::generated::CPACSPositioning::GetDihedralAngle ( ) const
virtual

◆ GetFromSectionUID()

virtual TIGL_EXPORT const boost::optional<std::string>& tigl::generated::CPACSPositioning::GetFromSectionUID ( ) const
virtual

◆ GetLength()

virtual TIGL_EXPORT const double& tigl::generated::CPACSPositioning::GetLength ( ) const
virtual

◆ GetName()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSPositioning::GetName ( ) const
virtual

◆ GetNextUIDObject()

TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSPositioning::GetNextUIDObject ( ) const
finalprivatevirtual

◆ GetNextUIDParent() [1/2]

virtual TIGL_EXPORT CTiglUIDObject* tigl::generated::CPACSPositioning::GetNextUIDParent ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetNextUIDParent() [2/2]

virtual TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSPositioning::GetNextUIDParent ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ GetParent() [1/2]

TIGL_EXPORT CCPACSPositionings* tigl::generated::CPACSPositioning::GetParent ( )

◆ GetParent() [2/2]

TIGL_EXPORT const CCPACSPositionings* tigl::generated::CPACSPositioning::GetParent ( ) const

◆ GetSweepAngle()

virtual TIGL_EXPORT const double& tigl::generated::CPACSPositioning::GetSweepAngle ( ) const
virtual

◆ GetToSectionUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSPositioning::GetToSectionUID ( ) const
virtual

◆ GetUID()

virtual TIGL_EXPORT const std::string& tigl::generated::CPACSPositioning::GetUID ( ) const
virtual

◆ GetUIDManager() [1/2]

TIGL_EXPORT CTiglUIDManager& tigl::generated::CPACSPositioning::GetUIDManager ( )
virtual

Implements tigl::CTiglUIDObject.

◆ GetUIDManager() [2/2]

TIGL_EXPORT const CTiglUIDManager& tigl::generated::CPACSPositioning::GetUIDManager ( ) const
virtual

Implements tigl::CTiglUIDObject.

◆ NotifyUIDChange()

TIGL_EXPORT void tigl::generated::CPACSPositioning::NotifyUIDChange ( const std::string &  oldUid,
const std::string &  newUid 
)
finalprivatevirtual

◆ operator=() [1/2]

CPACSPositioning& tigl::generated::CPACSPositioning::operator= ( const CPACSPositioning )
privatedelete

◆ operator=() [2/2]

CPACSPositioning& tigl::generated::CPACSPositioning::operator= ( CPACSPositioning &&  )
privatedelete

◆ ReadCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetDescription()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetDescription ( const boost::optional< std::string > &  value)
virtual

◆ SetDihedralAngle()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetDihedralAngle ( const double &  value)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetFromSectionUID()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetFromSectionUID ( const boost::optional< std::string > &  value)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetLength()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetLength ( const double &  value)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetName()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetName ( const std::string &  value)
virtual

◆ SetSweepAngle()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetSweepAngle ( const double &  value)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetToSectionUID()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetToSectionUID ( const std::string &  value)
virtual

Reimplemented in tigl::CCPACSPositioning.

◆ SetUID()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::SetUID ( const std::string &  value)
virtual

◆ WriteCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSPositioning::WriteCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
) const
virtual

Field Documentation

◆ m_description

boost::optional<std::string> tigl::generated::CPACSPositioning::m_description
protected

Description of the positioning.

◆ m_dihedralAngle

double tigl::generated::CPACSPositioning::m_dihedralAngle
protected

Dihedralangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the x-axis of the wing coordinate system.

◆ m_fromSectionUID

boost::optional<std::string> tigl::generated::CPACSPositioning::m_fromSectionUID
protected

Reference to starting section of the positioning vector. If missing, the positioning is made from the orgin of the wing coordinate system.

◆ m_length

double tigl::generated::CPACSPositioning::m_length
protected

Distance between inner and outer section (length of the positioning vector).

◆ m_name

std::string tigl::generated::CPACSPositioning::m_name
protected

Name of the positioning.

◆ m_parent

CCPACSPositionings* tigl::generated::CPACSPositioning::m_parent
protected

◆ m_sweepAngle

double tigl::generated::CPACSPositioning::m_sweepAngle
protected

Sweepangle between inner and outer section. This angle equals a positive rotation of the positioing vector around the z-axis of the wing coordinate system.

◆ m_toSectionUID

std::string tigl::generated::CPACSPositioning::m_toSectionUID
protected

Reference to ending section (section to be positioned) of the positioning vector.

◆ m_uID

std::string tigl::generated::CPACSPositioning::m_uID
protected

◆ m_uidMgr

CTiglUIDManager* tigl::generated::CPACSPositioning::m_uidMgr
protected

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