Positioning of the wing section. More...
#include <CPACSPositioning.h>
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 CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSPositionings * | GetParent () |
TIGL_EXPORT const CCPACSPositionings * | GetParent () 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 CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () 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... | |
CCPACSPositionings * | m_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 |
CTiglUIDManager * | m_uidMgr |
Private Member Functions | |
CPACSPositioning (const CPACSPositioning &)=delete | |
CPACSPositioning (CPACSPositioning &&)=delete | |
TIGL_EXPORT const CTiglUIDObject * | GetNextUIDObject () const final |
TIGL_EXPORT void | NotifyUIDChange (const std::string &oldUid, const std::string &newUid) final |
CPACSPositioning & | operator= (const CPACSPositioning &)=delete |
CPACSPositioning & | operator= (CPACSPositioning &&)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
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.
TIGL_EXPORT tigl::generated::CPACSPositioning::CPACSPositioning | ( | CCPACSPositionings * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
virtual |
|
privatedelete |
|
privatedelete |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
finalprivatevirtual |
Implements tigl::ITiglUIDRefObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
TIGL_EXPORT CCPACSPositionings* tigl::generated::CPACSPositioning::GetParent | ( | ) |
TIGL_EXPORT const CCPACSPositionings* tigl::generated::CPACSPositioning::GetParent | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
Implements tigl::CTiglReqUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
finalprivatevirtual |
Implements tigl::ITiglUIDRefObject.
|
privatedelete |
|
privatedelete |
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
Reimplemented in tigl::CCPACSPositioning.
|
virtual |
|
virtual |
|
protected |
Description of the positioning.
|
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.
|
protected |
Reference to starting section of the positioning vector. If missing, the positioning is made from the orgin of the wing coordinate system.
|
protected |
Distance between inner and outer section (length of the positioning vector).
|
protected |
Name of the positioning.
|
protected |
|
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.
|
protected |
Reference to ending section (section to be positioned) of the positioning vector.
|
protected |
|
protected |