3.4.0
tigl::CCPACSWingRibsDefinition Class Reference

#include <CCPACSWingRibsDefinition.h>

+ Inheritance diagram for tigl::CCPACSWingRibsDefinition:

Data Structures

struct  AuxiliaryGeomCache
 
struct  CutGeometry
 
struct  RibCapsGeometryCache
 
struct  RibGeometryCache
 
struct  RibMidplanePoints
 
struct  RibSetDataCache
 
struct  SplittedRibGeometryCache
 

Public Types

enum  RibCapSide { UPPER, LOWER }
 
enum  RibPositioningType { RIB_EXPLICIT_POSITIONING, RIBS_POSITIONING, UNDEFINED_POSITIONING }
 

Public Member Functions

TIGL_EXPORT CCPACSWingRibsDefinition (CCPACSWingRibsDefinitions *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT TiglGeometricComponentIntent GetComponentIntent () const override
 
virtual TIGL_EXPORT TiglGeometricComponentType GetComponentType () const override
 
virtual TIGL_EXPORT std::string GetDefaultedUID () const override
 
TIGL_EXPORT int GetNumberOfRibs () const
 
TIGL_EXPORT TopoDS_Shape GetRibCapsGeometry (RibCapSide side, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT const CutGeometryGetRibCutGeometry (int ribNumber) const
 
TIGL_EXPORT TopoDS_Face GetRibFace (int ribNumber, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT void GetRibMidplanePoints (int ribNumber, gp_Pnt &startPnt, gp_Pnt &endPnt) const
 
TIGL_EXPORT RibPositioningType GetRibPositioningType () const
 
TIGL_EXPORT TopoDS_Shape GetRibsGeometry (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT TopoDS_Shape GetSplittedRibsGeometry (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT bool HasCaps () const
 
- Public Member Functions inherited from tigl::generated::CPACSWingRibsDefinition
TIGL_EXPORT CPACSWingRibsDefinition (CCPACSWingRibsDefinitions *parent, CTiglUIDManager *uidMgr)
 
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
 
TIGL_EXPORT CCPACSWingRibsDefinitionsGetParent ()
 
TIGL_EXPORT const CCPACSWingRibsDefinitionsGetParent () const
 
virtual TIGL_EXPORT const CCPACSWingRibCrossSectionGetRibCrossSection () const
 
virtual TIGL_EXPORT CCPACSWingRibCrossSectionGetRibCrossSection ()
 
virtual TIGL_EXPORT const boost::optional< CCPACSWingRibExplicitPositioning > & GetRibExplicitPositioning_choice2 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSWingRibExplicitPositioning > & GetRibExplicitPositioning_choice2 ()
 
virtual TIGL_EXPORT CCPACSWingRibExplicitPositioningGetRibExplicitPositioning_choice2 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CCPACSWingRibsPositioning > & GetRibsPositioning_choice1 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSWingRibsPositioning > & GetRibsPositioning_choice1 ()
 
virtual TIGL_EXPORT CCPACSWingRibsPositioningGetRibsPositioning_choice1 (CreateIfNotExistsTag)
 
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 RemoveRibExplicitPositioning_choice2 ()
 
virtual TIGL_EXPORT void RemoveRibsPositioning_choice1 ()
 
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)
 
TIGL_EXPORT bool ValidateChoices () const
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSWingRibsDefinition ()
 
- 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::CTiglAbstractGeometricComponent
 CTiglAbstractGeometricComponent ()
 
TIGL_EXPORT Bnd_Box const & GetBoundingBox () const
 
virtual TIGL_EXPORT bool GetIsOn (const gp_Pnt &pnt) const
 
TIGL_EXPORT bool GetIsOnMirrored (const gp_Pnt &pnt) const
 
TIGL_EXPORT PNamedShape GetLoft () const override
 
virtual TIGL_EXPORT PNamedShape GetMirroredLoft () const
 
virtual TIGL_EXPORT TiglSymmetryAxis GetSymmetryAxis () const
 
TIGL_EXPORT void Reset () const
 
- Public Member Functions inherited from tigl::ITiglGeometricComponent
virtual ~ITiglGeometricComponent ()
 

Protected Member Functions

PNamedShape BuildLoft () const override
 
- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Private Member Functions

void BuildAuxGeomExplicitRibPositioning (AuxiliaryGeomCache &cache) const
 
void BuildAuxGeomRibsPositioning (AuxiliaryGeomCache &cache) const
 
void BuildAuxiliaryGeometry (AuxiliaryGeomCache &cache) const
 
void BuildGeometry (RibGeometryCache &cache) const
 
void BuildRibCapsGeometry (RibCapsGeometryCache &cache) const
 
TopoDS_Face BuildRibCutFace (const gp_Pnt &startPnt, const gp_Vec &ribDir, const std::string &ribStart, const std::string &ribEnd, const gp_Vec &upVecStart, const gp_Vec &upVecEnd) const
 
CutGeometry BuildRibCutGeometry (double currentEta, bool onSparDefined, AuxiliaryGeomCache &cache) const
 
void BuildSplittedRibsGeometry (SplittedRibGeometryCache &cache) const
 
 CCPACSWingRibsDefinition (const CCPACSWingRibsDefinition &)
 
double ComputeEtaOffset (double etaStart, double etaEnd) const
 
double ComputeEtaOnReferenceLine (const gp_Pnt &midplanePoint, bool onSpar) const
 
int ComputeNumberOfRibs (double etaStart, double etaEnd) const
 
double ComputeReferenceEtaEnd () const
 
double ComputeReferenceEtaStart () const
 
RibMidplanePoints ComputeRibDefinitionPoints (const std::string &ribStart, const std::string &ribEnd, const TopoDS_Face &ribCutFace) const
 
boost::optional< std::string > GetElementUID (const CCPACSEtaXsiPoint &point) const
 
TopoDS_Wire GetReferenceLine () const
 
TopoDS_Wire GetReferenceLine (const std::string &ribReference) const
 
gp_Vec GetRibDirection (const gp_Pnt &startPnt, const gp_Vec &upVec) const
 
gp_Pnt GetRibReferenceMidplanePoint (const boost::optional< CCPACSEtaXsiPoint > &etaXsi, const boost::optional< CCPACSCurvePoint > &curvePoint, const boost::optional< std::string > &sparPosition) const
 
gp_Vec GetRibUpVector (const CTiglWingStructureReference &wsr, gp_Pnt startPnt, gp_Pnt endPoint, bool front) const
 
TopoDS_Face GetSectionRibGeometry (const std::string &elementUID, const CCPACSEtaXsiPoint &, const std::string &ribStart, const std::string &ribEnd) const
 
CCPACSWingCSStructuregetStructure ()
 
const CCPACSWingCSStructuregetStructure () const
 
void InvalidateImpl (const boost::optional< std::string > &source) const override
 
void operator= (const CCPACSWingRibsDefinition &)
 
void UpdateRibSetDataCache (RibSetDataCache &cache) const
 

Private Attributes

Cache< AuxiliaryGeomCache, CCPACSWingRibsDefinitionauxGeomCache
 
Cache< RibCapsGeometryCache, CCPACSWingRibsDefinitionribCapsCache
 
Cache< RibGeometryCache, CCPACSWingRibsDefinitionribGeometryCache
 
Cache< RibSetDataCache, CCPACSWingRibsDefinitionribSetDataCache
 
Cache< SplittedRibGeometryCache, CCPACSWingRibsDefinitionsplittedRibGeomCache
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSWingRibsDefinition
boost::optional< std::string > m_description
 Description of the rib set. More...
 
std::string m_name
 Name of the rib set. More...
 
CCPACSWingRibsDefinitionsm_parent
 
CCPACSWingRibCrossSection m_ribCrossSection
 
boost::optional< CCPACSWingRibExplicitPositioningm_ribExplicitPositioning_choice2
 
boost::optional< CCPACSWingRibsPositioningm_ribsPositioning_choice1
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 
- Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
 
Cache< PNamedShape, CTiglAbstractGeometricComponentloft
 

Member Enumeration Documentation

◆ RibCapSide

Enumerator
UPPER 
LOWER 

◆ RibPositioningType

Enumerator
RIB_EXPLICIT_POSITIONING 
RIBS_POSITIONING 
UNDEFINED_POSITIONING 

Constructor & Destructor Documentation

◆ CCPACSWingRibsDefinition() [1/2]

TIGL_EXPORT tigl::CCPACSWingRibsDefinition::CCPACSWingRibsDefinition ( CCPACSWingRibsDefinitions parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSWingRibsDefinition() [2/2]

tigl::CCPACSWingRibsDefinition::CCPACSWingRibsDefinition ( const CCPACSWingRibsDefinition )
private

Member Function Documentation

◆ BuildAuxGeomExplicitRibPositioning()

void tigl::CCPACSWingRibsDefinition::BuildAuxGeomExplicitRibPositioning ( AuxiliaryGeomCache cache) const
private

◆ BuildAuxGeomRibsPositioning()

void tigl::CCPACSWingRibsDefinition::BuildAuxGeomRibsPositioning ( AuxiliaryGeomCache cache) const
private

◆ BuildAuxiliaryGeometry()

void tigl::CCPACSWingRibsDefinition::BuildAuxiliaryGeometry ( AuxiliaryGeomCache cache) const
private

◆ BuildGeometry()

void tigl::CCPACSWingRibsDefinition::BuildGeometry ( RibGeometryCache cache) const
private

◆ BuildLoft()

PNamedShape tigl::CCPACSWingRibsDefinition::BuildLoft ( ) const
overrideprotectedvirtual

◆ BuildRibCapsGeometry()

void tigl::CCPACSWingRibsDefinition::BuildRibCapsGeometry ( RibCapsGeometryCache cache) const
private

◆ BuildRibCutFace()

TopoDS_Face tigl::CCPACSWingRibsDefinition::BuildRibCutFace ( const gp_Pnt &  startPnt,
const gp_Vec &  ribDir,
const std::string &  ribStart,
const std::string &  ribEnd,
const gp_Vec &  upVecStart,
const gp_Vec &  upVecEnd 
) const
private

◆ BuildRibCutGeometry()

CutGeometry tigl::CCPACSWingRibsDefinition::BuildRibCutGeometry ( double  currentEta,
bool  onSparDefined,
AuxiliaryGeomCache cache 
) const
private

◆ BuildSplittedRibsGeometry()

void tigl::CCPACSWingRibsDefinition::BuildSplittedRibsGeometry ( SplittedRibGeometryCache cache) const
private

◆ ComputeEtaOffset()

double tigl::CCPACSWingRibsDefinition::ComputeEtaOffset ( double  etaStart,
double  etaEnd 
) const
private

◆ ComputeEtaOnReferenceLine()

double tigl::CCPACSWingRibsDefinition::ComputeEtaOnReferenceLine ( const gp_Pnt &  midplanePoint,
bool  onSpar 
) const
private

◆ ComputeNumberOfRibs()

int tigl::CCPACSWingRibsDefinition::ComputeNumberOfRibs ( double  etaStart,
double  etaEnd 
) const
private

◆ ComputeReferenceEtaEnd()

double tigl::CCPACSWingRibsDefinition::ComputeReferenceEtaEnd ( ) const
private

◆ ComputeReferenceEtaStart()

double tigl::CCPACSWingRibsDefinition::ComputeReferenceEtaStart ( ) const
private

◆ ComputeRibDefinitionPoints()

RibMidplanePoints tigl::CCPACSWingRibsDefinition::ComputeRibDefinitionPoints ( const std::string &  ribStart,
const std::string &  ribEnd,
const TopoDS_Face &  ribCutFace 
) const
private

◆ GetComponentIntent()

TIGL_EXPORT TiglGeometricComponentIntent tigl::CCPACSWingRibsDefinition::GetComponentIntent ( ) const
overridevirtual

◆ GetComponentType()

virtual TIGL_EXPORT TiglGeometricComponentType tigl::CCPACSWingRibsDefinition::GetComponentType ( ) const
overridevirtual

◆ GetDefaultedUID()

virtual TIGL_EXPORT std::string tigl::CCPACSWingRibsDefinition::GetDefaultedUID ( ) const
overridevirtual

◆ GetElementUID()

boost::optional<std::string> tigl::CCPACSWingRibsDefinition::GetElementUID ( const CCPACSEtaXsiPoint point) const
private

◆ GetNumberOfRibs()

TIGL_EXPORT int tigl::CCPACSWingRibsDefinition::GetNumberOfRibs ( ) const

◆ GetReferenceLine() [1/2]

TopoDS_Wire tigl::CCPACSWingRibsDefinition::GetReferenceLine ( ) const
private

◆ GetReferenceLine() [2/2]

TopoDS_Wire tigl::CCPACSWingRibsDefinition::GetReferenceLine ( const std::string &  ribReference) const
private

◆ GetRibCapsGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingRibsDefinition::GetRibCapsGeometry ( RibCapSide  side,
TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM 
) const

◆ GetRibCutGeometry()

TIGL_EXPORT const CutGeometry& tigl::CCPACSWingRibsDefinition::GetRibCutGeometry ( int  ribNumber) const

◆ GetRibDirection()

gp_Vec tigl::CCPACSWingRibsDefinition::GetRibDirection ( const gp_Pnt &  startPnt,
const gp_Vec &  upVec 
) const
private

◆ GetRibFace()

TIGL_EXPORT TopoDS_Face tigl::CCPACSWingRibsDefinition::GetRibFace ( int  ribNumber,
TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM 
) const

◆ GetRibMidplanePoints()

TIGL_EXPORT void tigl::CCPACSWingRibsDefinition::GetRibMidplanePoints ( int  ribNumber,
gp_Pnt &  startPnt,
gp_Pnt &  endPnt 
) const

◆ GetRibPositioningType()

TIGL_EXPORT RibPositioningType tigl::CCPACSWingRibsDefinition::GetRibPositioningType ( ) const

◆ GetRibReferenceMidplanePoint()

gp_Pnt tigl::CCPACSWingRibsDefinition::GetRibReferenceMidplanePoint ( const boost::optional< CCPACSEtaXsiPoint > &  etaXsi,
const boost::optional< CCPACSCurvePoint > &  curvePoint,
const boost::optional< std::string > &  sparPosition 
) const
private

◆ GetRibsGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingRibsDefinition::GetRibsGeometry ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const

◆ GetRibUpVector()

gp_Vec tigl::CCPACSWingRibsDefinition::GetRibUpVector ( const CTiglWingStructureReference wsr,
gp_Pnt  startPnt,
gp_Pnt  endPoint,
bool  front 
) const
private

◆ GetSectionRibGeometry()

TopoDS_Face tigl::CCPACSWingRibsDefinition::GetSectionRibGeometry ( const std::string &  elementUID,
const CCPACSEtaXsiPoint ,
const std::string &  ribStart,
const std::string &  ribEnd 
) const
private

◆ GetSplittedRibsGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingRibsDefinition::GetSplittedRibsGeometry ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const

◆ getStructure() [1/2]

CCPACSWingCSStructure& tigl::CCPACSWingRibsDefinition::getStructure ( )
private

◆ getStructure() [2/2]

const CCPACSWingCSStructure& tigl::CCPACSWingRibsDefinition::getStructure ( ) const
private

◆ HasCaps()

TIGL_EXPORT bool tigl::CCPACSWingRibsDefinition::HasCaps ( ) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ operator=()

void tigl::CCPACSWingRibsDefinition::operator= ( const CCPACSWingRibsDefinition )
private

◆ UpdateRibSetDataCache()

void tigl::CCPACSWingRibsDefinition::UpdateRibSetDataCache ( RibSetDataCache cache) const
private

Field Documentation

◆ auxGeomCache

Cache<AuxiliaryGeomCache, CCPACSWingRibsDefinition> tigl::CCPACSWingRibsDefinition::auxGeomCache
private

◆ ribCapsCache

Cache<RibCapsGeometryCache, CCPACSWingRibsDefinition> tigl::CCPACSWingRibsDefinition::ribCapsCache
private

◆ ribGeometryCache

Cache<RibGeometryCache, CCPACSWingRibsDefinition> tigl::CCPACSWingRibsDefinition::ribGeometryCache
private

◆ ribSetDataCache

Cache<RibSetDataCache, CCPACSWingRibsDefinition> tigl::CCPACSWingRibsDefinition::ribSetDataCache
private

◆ splittedRibGeomCache

Cache<SplittedRibGeometryCache, CCPACSWingRibsDefinition> tigl::CCPACSWingRibsDefinition::splittedRibGeomCache
private

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