Wing spars. More...
#include <CPACSWingSpar.h>
Public Member Functions | |
TIGL_EXPORT | CPACSWingSpar (CCPACSWingCSStructure *parent, CTiglUIDManager *uidMgr) |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSWingCSStructure * | GetParent () |
TIGL_EXPORT const CCPACSWingCSStructure * | GetParent () const |
virtual TIGL_EXPORT const CCPACSWingSparPositions & | GetSparPositions () const |
virtual TIGL_EXPORT CCPACSWingSparPositions & | GetSparPositions () |
virtual TIGL_EXPORT const CCPACSWingSparSegments & | GetSparSegments () const |
virtual TIGL_EXPORT CCPACSWingSparSegments & | GetSparSegments () |
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 | WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const |
virtual TIGL_EXPORT | ~CPACSWingSpar () |
Protected Attributes | |
CCPACSWingCSStructure * | m_parent |
CCPACSWingSparPositions | m_sparPositions |
CCPACSWingSparSegments | m_sparSegments |
CTiglUIDManager * | m_uidMgr |
Private Member Functions | |
CPACSWingSpar (const CPACSWingSpar &)=delete | |
CPACSWingSpar (CPACSWingSpar &&)=delete | |
CPACSWingSpar & | operator= (const CPACSWingSpar &)=delete |
CPACSWingSpar & | operator= (CPACSWingSpar &&)=delete |
Wing spars.
Spars type, a spar is defined by sparSegments that stretch between multiple sparPositions. The spar definition is very flexible in CPACS. Spars can start and end at any position of the wing, spars can have kinks at any position of the wing and spars can cross each other or merge. At first the spar points (->sparPositions) have to be defined. Spar points are defined using the relative coordinates eta and xsi. Spar points do lay on wing middle plane. Two or more spar points are connected to on spar segment (->sparSegments). Each spar segment can be seen as one spar. The spar geometry between two spar points is defined as a direct/straight connection in global coordinate system and not in eta xsi coordinates of the component segment. One spar point can be used by more than one spar, if e.g. two spars are merging. The detailed cross section of the spar is also defined with sparSegments. Pleas find below a picture for an example definition of 3 spars in one wing, by using spar position points and spar segments:
TIGL_EXPORT tigl::generated::CPACSWingSpar::CPACSWingSpar | ( | CCPACSWingCSStructure * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
virtual |
|
privatedelete |
|
privatedelete |
|
virtual |
|
virtual |
TIGL_EXPORT CCPACSWingCSStructure* tigl::generated::CPACSWingSpar::GetParent | ( | ) |
TIGL_EXPORT const CCPACSWingCSStructure* tigl::generated::CPACSWingSpar::GetParent | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
TIGL_EXPORT CTiglUIDManager& tigl::generated::CPACSWingSpar::GetUIDManager | ( | ) |
TIGL_EXPORT const CTiglUIDManager& tigl::generated::CPACSWingSpar::GetUIDManager | ( | ) | const |
|
privatedelete |
|
privatedelete |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |