3.4.0
tigl::CCPACSWingSection Class Reference

#include <CCPACSWingSection.h>

+ Inheritance diagram for tigl::CCPACSWingSection:

Public Member Functions

TIGL_EXPORT CCPACSWingSection (CCPACSWingSections *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CTiglPoint GetRotation () const
 Returns the rotation of a wing section in degree. More...
 
TIGL_EXPORT CTiglPoint GetScaling () const
 Returns the scaling of a wing section. More...
 
TIGL_EXPORT CCPACSWingSectionElementGetSectionElement (int index)
 Get element for a given index. More...
 
TIGL_EXPORT const CCPACSWingSectionElementGetSectionElement (int index) const
 Get element for a given index. More...
 
TIGL_EXPORT int GetSectionElementCount () const
 Get element count for this section. While CPACS supports several elements per section, a section in TiGL must contain exactly one element. More...
 
TIGL_EXPORT CTiglTransformation GetSectionTransformation () const
 Gets the section transformation. More...
 
TIGL_EXPORT CTiglPoint GetTranslation () const
 Returns the translation of a wing section relative to the wing CPACS-coordinate system, as defined in the CPACS file. More...
 
TIGL_EXPORT void SetRotation (const CTiglPoint &rot)
 Sets the rotation angles for a wing section. More...
 
TIGL_EXPORT void SetScaling (const CTiglPoint &scaling)
 Sets the scaling for a wing section. More...
 
TIGL_EXPORT void SetTranslation (const CTiglPoint &trans)
 Sets the translation vector for a wing section. More...
 
- Public Member Functions inherited from tigl::generated::CPACSWingSection
TIGL_EXPORT CPACSWingSection (CCPACSWingSections *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const CCPACSWingSectionElementsGetElements () const
 
virtual TIGL_EXPORT CCPACSWingSectionElementsGetElements ()
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSWingSectionsGetParent ()
 
TIGL_EXPORT const CCPACSWingSectionsGetParent () const
 
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
 
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
 
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 SetName (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 ~CPACSWingSection ()
 
- 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
 

Private Member Functions

void InvalidateImpl (const boost::optional< std::string > &source) const override
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 
- Protected Attributes inherited from tigl::generated::CPACSWingSection
boost::optional< std::string > m_description
 Description of the wing section. More...
 
CCPACSWingSectionElements m_elements
 
std::string m_name
 Name of wing the wing section. More...
 
CCPACSWingSectionsm_parent
 
CCPACSTransformation m_transformation
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSWingSection()

TIGL_EXPORT tigl::CCPACSWingSection::CCPACSWingSection ( CCPACSWingSections parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ GetRotation()

TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetRotation ( ) const

Returns the rotation of a wing section in degree.

Returns
CTiglPoint Euler angles (x,y,z) -> (x,y', z'') in degree, which means, that the object will be rotaded in following order: 1st Rotation around x-axis 2nd Rotation around the rotaded y-axis y' 3rd Rotation around the twice rotaded z axis z''. Default data value:(0,0,0).

◆ GetScaling()

TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetScaling ( ) const

Returns the scaling of a wing section.

Returns
CTiglpoint

◆ GetSectionElement() [1/2]

TIGL_EXPORT CCPACSWingSectionElement& tigl::CCPACSWingSection::GetSectionElement ( int  index)

Get element for a given index.

Returns
CCPACSWingSectionElement

◆ GetSectionElement() [2/2]

TIGL_EXPORT const CCPACSWingSectionElement& tigl::CCPACSWingSection::GetSectionElement ( int  index) const

Get element for a given index.

Returns
CCPACSWingSectionElement

◆ GetSectionElementCount()

TIGL_EXPORT int tigl::CCPACSWingSection::GetSectionElementCount ( ) const

Get element count for this section. While CPACS supports several elements per section, a section in TiGL must contain exactly one element.

Returns
int

◆ GetSectionTransformation()

TIGL_EXPORT CTiglTransformation tigl::CCPACSWingSection::GetSectionTransformation ( ) const

Gets the section transformation.

Returns
CTiglTransformation

◆ GetTranslation()

TIGL_EXPORT CTiglPoint tigl::CCPACSWingSection::GetTranslation ( ) const

Returns the translation of a wing section relative to the wing CPACS-coordinate system, as defined in the CPACS file.

Returns
CTiglPoint

◆ InvalidateImpl()

void tigl::CCPACSWingSection::InvalidateImpl ( const boost::optional< std::string > &  source) const
overrideprivatevirtual

Reimplemented from tigl::CTiglUIDObject.

◆ SetRotation()

TIGL_EXPORT void tigl::CCPACSWingSection::SetRotation ( const CTiglPoint rot)

Sets the rotation angles for a wing section.

Parameters
rotEuler angles (x,y,z) -> (x,y', z'') in degree, which means, that the object will be rotaded in following order: 1st Rotation around x-axis 2nd Rotation around the rotaded y-axis y' 3rd Rotation around the twice rotaded z axis z''. Default data value:(0,0,0).

◆ SetScaling()

TIGL_EXPORT void tigl::CCPACSWingSection::SetScaling ( const CTiglPoint scaling)

Sets the scaling for a wing section.

Parameters
scalingScaling in three dimensions, in the order xyz. Default data value: (1,1,1)

◆ SetTranslation()

TIGL_EXPORT void tigl::CCPACSWingSection::SetTranslation ( const CTiglPoint trans)

Sets the translation vector for a wing section.

Parameters
transTranslation vector Default data value: (0,0,0)

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