3.4.0
tigl::CCPACSFuselageProfile Class Reference

#include <CCPACSFuselageProfile.h>

+ Inheritance diagram for tigl::CCPACSFuselageProfile:

Data Structures

struct  DiameterPointsCache
 
struct  SizeCache
 
struct  WireCache
 

Public Member Functions

TIGL_EXPORT CCPACSFuselageProfile (CCPACSFuselageProfiles *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT TopoDS_Wire GetDiameterWire () const
 
TIGL_EXPORT double GetHeight () const
 
TIGL_EXPORT bool GetMirrorSymmetry () const
 
TIGL_EXPORT const int GetNumPoints () const
 
TIGL_EXPORT gp_Pnt GetPoint (double zeta) const
 
TIGL_EXPORT double GetWidth () const
 
TIGL_EXPORT TopoDS_Wire GetWire (bool forceClosed=false) const
 
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override
 
TIGL_EXPORT ~CCPACSFuselageProfile () 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 const boost::optional< CCPACSWingProfileCST > & GetCst2D_choice2 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSWingProfileCST > & GetCst2D_choice2 ()
 
virtual TIGL_EXPORT CCPACSWingProfileCSTGetCst2D_choice2 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
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 const boost::optional< CCPACSCurvePointListXYZ > & GetPointList_choice1 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSCurvePointListXYZ > & GetPointList_choice1 ()
 
virtual TIGL_EXPORT CCPACSCurvePointListXYZGetPointList_choice1 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CPACSStandardProfile > & GetStandardProfile_choice3 () const
 
virtual TIGL_EXPORT boost::optional< CPACSStandardProfile > & GetStandardProfile_choice3 ()
 
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 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
 

Private Member Functions

void BuildDiameterPoints (DiameterPointsCache &cache) const
 
void BuildSize (SizeCache &cache) const
 
void BuildWires (WireCache &cache) const
 
void BuildWiresPointList (WireCache &cache) const
 
void BuildWiresRectangle (WireCache &cache) const
 
void BuildWiresSuperEllipse (WireCache &cache) const
 
void InvalidateImpl (const boost::optional< std::string > &source) const override
 
gp_Pnt TransformPoint (const gp_Pnt &aPoint) const
 

Private Attributes

Cache< DiameterPointsCache, CCPACSFuselageProfilediameterPointsCache
 
bool mirrorSymmetry
 
std::unique_ptr< ITiglWireAlgorithmprofileWireAlgo
 
Cache< SizeCache, CCPACSFuselageProfilesizeCache
 
Cache< WireCache, CCPACSFuselageProfilewireCache
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 
- Protected Attributes inherited from tigl::generated::CPACSProfileGeometry
boost::optional< CCPACSWingProfileCSTm_cst2D_choice2
 
boost::optional< std::string > m_description
 Description of profile. More...
 
std::string m_name
 Name of profile. More...
 
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

◆ CCPACSFuselageProfile()

TIGL_EXPORT tigl::CCPACSFuselageProfile::CCPACSFuselageProfile ( CCPACSFuselageProfiles parent,
CTiglUIDManager uidMgr 
)

◆ ~CCPACSFuselageProfile()

TIGL_EXPORT tigl::CCPACSFuselageProfile::~CCPACSFuselageProfile ( )
override

Member Function Documentation

◆ BuildDiameterPoints()

void tigl::CCPACSFuselageProfile::BuildDiameterPoints ( DiameterPointsCache cache) const
private

◆ BuildSize()

void tigl::CCPACSFuselageProfile::BuildSize ( SizeCache cache) const
private

◆ BuildWires()

void tigl::CCPACSFuselageProfile::BuildWires ( WireCache cache) const
private

◆ BuildWiresPointList()

void tigl::CCPACSFuselageProfile::BuildWiresPointList ( WireCache cache) const
private

◆ BuildWiresRectangle()

void tigl::CCPACSFuselageProfile::BuildWiresRectangle ( WireCache cache) const
private

◆ BuildWiresSuperEllipse()

void tigl::CCPACSFuselageProfile::BuildWiresSuperEllipse ( WireCache cache) const
private

◆ GetDiameterWire()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSFuselageProfile::GetDiameterWire ( ) const

◆ GetHeight()

TIGL_EXPORT double tigl::CCPACSFuselageProfile::GetHeight ( ) const

◆ GetMirrorSymmetry()

TIGL_EXPORT bool tigl::CCPACSFuselageProfile::GetMirrorSymmetry ( ) const

◆ GetNumPoints()

TIGL_EXPORT const int tigl::CCPACSFuselageProfile::GetNumPoints ( ) const

◆ GetPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSFuselageProfile::GetPoint ( double  zeta) const

◆ GetWidth()

TIGL_EXPORT double tigl::CCPACSFuselageProfile::GetWidth ( ) const

◆ GetWire()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSFuselageProfile::GetWire ( bool  forceClosed = false) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ ReadCPACS()

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

◆ TransformPoint()

gp_Pnt tigl::CCPACSFuselageProfile::TransformPoint ( const gp_Pnt &  aPoint) const
private

Field Documentation

◆ diameterPointsCache

Cache<DiameterPointsCache, CCPACSFuselageProfile> tigl::CCPACSFuselageProfile::diameterPointsCache
private

◆ mirrorSymmetry

bool tigl::CCPACSFuselageProfile::mirrorSymmetry
private

Mirror symmetry with respect to the x-z plane

◆ profileWireAlgo

std::unique_ptr<ITiglWireAlgorithm> tigl::CCPACSFuselageProfile::profileWireAlgo
private

◆ sizeCache

Cache<SizeCache, CCPACSFuselageProfile> tigl::CCPACSFuselageProfile::sizeCache
private

◆ wireCache

Cache<WireCache, CCPACSFuselageProfile> tigl::CCPACSFuselageProfile::wireCache
private

Original and force closed fuselage profile wire


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