3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CCPACSWingProfile Class Reference

#include <CCPACSWingProfile.h>

Inheritance diagram for tigl::CCPACSWingProfile:

Public Member Functions

TIGL_EXPORT CCPACSWingProfile (CCPACSRotorProfiles *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CCPACSWingProfile (CCPACSWingProfiles *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT TopoDS_Wire GetChordLineWire () const
TIGL_EXPORT gp_Pnt GetChordPoint (double xsi) const
TIGL_EXPORT gp_Pnt GetLEPoint () const
TIGL_EXPORT gp_Pnt GetLowerPoint (double xsi) const
TIGL_EXPORT TopoDS_Edge GetLowerWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const
TIGL_EXPORT ITiglWingProfileAlgoGetProfileAlgo ()
TIGL_EXPORT const ITiglWingProfileAlgoGetProfileAlgo () const
TIGL_EXPORT TopoDS_Wire GetSplitWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const
TIGL_EXPORT gp_Pnt GetTEPoint () const
TIGL_EXPORT TopoDS_Edge GetTrailingEdge (TiglShapeModifier mod=UNMODIFIED_SHAPE) const
TIGL_EXPORT gp_Pnt GetUpperPoint (double xsi) const
TIGL_EXPORT TopoDS_Edge GetUpperWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const
TIGL_EXPORT TopoDS_Wire GetWire (TiglShapeModifier mod=UNMODIFIED_SHAPE) const
TIGL_EXPORT bool HasBluntTE () const
TIGL_EXPORT bool IsRotorProfile () const
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override
TIGL_EXPORT ~CCPACSWingProfile () override
Public Member Functions inherited from tigl::generated::CPACSProfileGeometry
TIGL_EXPORT CPACSProfileGeometry (CCPACSFuselageProfiles *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSProfileGeometry (CCPACSRotorProfiles *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT CPACSProfileGeometry (CCPACSWingProfiles *parent, CTiglUIDManager *uidMgr)
virtual TIGL_EXPORT boost::optional< CCPACSWingProfileCST > & GetCst2D_choice2 ()
virtual TIGL_EXPORT const boost::optional< CCPACSWingProfileCST > & GetCst2D_choice2 () const
virtual TIGL_EXPORT CCPACSWingProfileCSTGetCst2D_choice2 (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
virtual TIGL_EXPORT boost::optional< CPACSNacaProfile > & GetNacaProfile_choice4 ()
virtual TIGL_EXPORT const boost::optional< CPACSNacaProfile > & GetNacaProfile_choice4 () const
virtual TIGL_EXPORT CPACSNacaProfileGetNacaProfile_choice4 (CreateIfNotExistsTag)
virtual TIGL_EXPORT const std::string & GetName () const
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
template<typename P>
P * GetParent ()
template<typename P>
const P * GetParent () const
virtual TIGL_EXPORT boost::optional< CCPACSCurvePointListXYZ > & GetPointList_choice1 ()
virtual TIGL_EXPORT const boost::optional< CCPACSCurvePointListXYZ > & GetPointList_choice1 () const
virtual TIGL_EXPORT CCPACSCurvePointListXYZGetPointList_choice1 (CreateIfNotExistsTag)
virtual TIGL_EXPORT boost::optional< CPACSStandardProfile > & GetStandardProfile_choice3 ()
virtual TIGL_EXPORT const boost::optional< CPACSStandardProfile > & GetStandardProfile_choice3 () const
virtual TIGL_EXPORT CPACSStandardProfileGetStandardProfile_choice3 (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & GetSymmetry () const
virtual TIGL_EXPORT const std::string & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
template<typename P>
bool IsParent () const
virtual TIGL_EXPORT void RemoveCst2D_choice2 ()
virtual TIGL_EXPORT void RemoveNacaProfile_choice4 ()
virtual TIGL_EXPORT void RemovePointList_choice1 ()
virtual TIGL_EXPORT void RemoveStandardProfile_choice3 ()
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
virtual TIGL_EXPORT void SetName (const std::string &value)
virtual TIGL_EXPORT void SetSymmetry (const boost::optional< TiglSymmetryAxis > &value)
virtual TIGL_EXPORT void SetUID (const std::string &value)
TIGL_EXPORT bool ValidateChoices () const
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
virtual TIGL_EXPORT ~CPACSProfileGeometry ()
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

Protected Member Functions

void buildNACAAlgo (std::unique_ptr< CTiglWingProfileNACA > &cache) const
 Builds the NACA algorithm for the wing profile.
void buildPointListAlgo (std::unique_ptr< CTiglWingProfilePointList > &cache) const
 CCPACSWingProfile (const CCPACSWingProfile &)
void Cleanup ()
gp_Pnt GetPoint (double xsi, bool fromUpper) const
 Handle (Geom2d_TrimmedCurve) GetChordLine() const
void InvalidateImpl (const boost::optional< std::string > &source) const override
void operator= (const CCPACSWingProfile &)
Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default

Private Attributes

bool isRotorProfile
Cache< std::unique_ptr< CTiglWingProfileNACA >, CCPACSWingProfileNACAAlgo
Cache< std::unique_ptr< CTiglWingProfilePointList >, CCPACSWingProfilepointListAlgo

Additional Inherited Members

Protected Attributes inherited from tigl::generated::CPACSProfileGeometry
boost::optional< CCPACSWingProfileCSTm_cst2D_choice2
boost::optional< std::string > m_description
 Description of profile.
boost::optional< CPACSNacaProfilem_nacaProfile_choice4
std::string m_name
 Name of profile.
void * m_parent
const std::type_info * m_parentType
boost::optional< CCPACSCurvePointListXYZm_pointList_choice1
boost::optional< CPACSStandardProfilem_standardProfile_choice3
boost::optional< TiglSymmetryAxism_symmetry
std::string m_uID
CTiglUIDManagerm_uidMgr

Constructor & Destructor Documentation

◆ CCPACSWingProfile() [1/3]

TIGL_EXPORT tigl::CCPACSWingProfile::CCPACSWingProfile ( CCPACSWingProfiles * parent,
CTiglUIDManager * uidMgr )

◆ CCPACSWingProfile() [2/3]

TIGL_EXPORT tigl::CCPACSWingProfile::CCPACSWingProfile ( CCPACSRotorProfiles * parent,
CTiglUIDManager * uidMgr )

◆ ~CCPACSWingProfile()

TIGL_EXPORT tigl::CCPACSWingProfile::~CCPACSWingProfile ( )
override

◆ CCPACSWingProfile() [3/3]

tigl::CCPACSWingProfile::CCPACSWingProfile ( const CCPACSWingProfile & )
protected

Member Function Documentation

◆ buildNACAAlgo()

void tigl::CCPACSWingProfile::buildNACAAlgo ( std::unique_ptr< CTiglWingProfileNACA > & cache) const
protected

Builds the NACA algorithm for the wing profile.

Parameters
cache

◆ buildPointListAlgo()

void tigl::CCPACSWingProfile::buildPointListAlgo ( std::unique_ptr< CTiglWingProfilePointList > & cache) const
protected

◆ Cleanup()

void tigl::CCPACSWingProfile::Cleanup ( )
protected

◆ GetChordLineWire()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSWingProfile::GetChordLineWire ( ) const

◆ GetChordPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingProfile::GetChordPoint ( double xsi) const

◆ GetLEPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingProfile::GetLEPoint ( ) const

◆ GetLowerPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingProfile::GetLowerPoint ( double xsi) const

◆ GetLowerWire()

TIGL_EXPORT TopoDS_Edge tigl::CCPACSWingProfile::GetLowerWire ( TiglShapeModifier mod = UNMODIFIED_SHAPE) const

◆ GetPoint()

gp_Pnt tigl::CCPACSWingProfile::GetPoint ( double xsi,
bool fromUpper ) const
protected

◆ GetProfileAlgo() [1/2]

TIGL_EXPORT ITiglWingProfileAlgo * tigl::CCPACSWingProfile::GetProfileAlgo ( )

◆ GetProfileAlgo() [2/2]

TIGL_EXPORT const ITiglWingProfileAlgo * tigl::CCPACSWingProfile::GetProfileAlgo ( ) const

◆ GetSplitWire()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSWingProfile::GetSplitWire ( TiglShapeModifier mod = UNMODIFIED_SHAPE) const

◆ GetTEPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingProfile::GetTEPoint ( ) const

◆ GetTrailingEdge()

TIGL_EXPORT TopoDS_Edge tigl::CCPACSWingProfile::GetTrailingEdge ( TiglShapeModifier mod = UNMODIFIED_SHAPE) const

◆ GetUpperPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingProfile::GetUpperPoint ( double xsi) const

◆ GetUpperWire()

TIGL_EXPORT TopoDS_Edge tigl::CCPACSWingProfile::GetUpperWire ( TiglShapeModifier mod = UNMODIFIED_SHAPE) const

◆ GetWire()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSWingProfile::GetWire ( TiglShapeModifier mod = UNMODIFIED_SHAPE) const

◆ Handle()

tigl::CCPACSWingProfile::Handle ( Geom2d_TrimmedCurve ) const
protected

◆ HasBluntTE()

TIGL_EXPORT bool tigl::CCPACSWingProfile::HasBluntTE ( ) const

◆ InvalidateImpl()

void tigl::CCPACSWingProfile::InvalidateImpl ( const boost::optional< std::string > & source) const
overrideprotectedvirtual

Reimplemented from tigl::CTiglUIDObject.

◆ IsRotorProfile()

TIGL_EXPORT bool tigl::CCPACSWingProfile::IsRotorProfile ( ) const

◆ operator=()

void tigl::CCPACSWingProfile::operator= ( const CCPACSWingProfile & )
protected

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSWingProfile::ReadCPACS ( const TixiDocumentHandle & tixiHandle,
const std::string & xpath )
overridevirtual

Field Documentation

◆ isRotorProfile

bool tigl::CCPACSWingProfile::isRotorProfile
private

Indicates if this profile is a rotor profile

◆ NACAAlgo

Cache<std::unique_ptr<CTiglWingProfileNACA>, CCPACSWingProfile> tigl::CCPACSWingProfile::NACAAlgo
private

◆ pointListAlgo

Cache<std::unique_ptr<CTiglWingProfilePointList>, CCPACSWingProfile> tigl::CCPACSWingProfile::pointListAlgo
private

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