3.4.0
tigl::CCPACSWingSparSegment Class Reference

#include <CCPACSWingSparSegment.h>

+ Inheritance diagram for tigl::CCPACSWingSparSegment:

Data Structures

struct  AuxiliaryGeomCache
 
struct  GeometryCache
 
struct  SparCapsCache
 
struct  SplittedGeomCache
 

Public Types

enum  SparCapSide { UPPER, LOWER }
 

Public Member Functions

TIGL_EXPORT CCPACSWingSparSegment (CCPACSWingSparSegments *sparSegments, 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 gp_Vec GetDirection (double sparEta) const
 
TIGL_EXPORT void GetEtaXsi (int positionIndex, double &eta, double &xsi) const
 
TIGL_EXPORT gp_Pnt GetMidplanePoint (int positionIndex) const
 
TIGL_EXPORT gp_Pnt GetPoint (double sparEta) const
 
TIGL_EXPORT TopoDS_Shape GetSparCapsGeometry (SparCapSide side, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT TopoDS_Shape GetSparCutGeometry (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT TopoDS_Shape GetSparGeometry (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT double GetSparLength () const
 
TIGL_EXPORT TopoDS_Wire GetSparMidplaneLine () const
 
TIGL_EXPORT CCPACSWingSparPositionGetSparPosition (std::string)
 
TIGL_EXPORT const CCPACSWingSparPositionGetSparPosition (std::string) const
 
TIGL_EXPORT TopoDS_Shape GetSplittedSparGeometry (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT bool HasCap (SparCapSide side) const
 
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override
 
- Public Member Functions inherited from tigl::generated::CPACSSparSegment
TIGL_EXPORT CPACSSparSegment (CCPACSWingSparSegments *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 CCPACSWingSparSegmentsGetParent ()
 
TIGL_EXPORT const CCPACSWingSparSegmentsGetParent () const
 
virtual TIGL_EXPORT const CPACSSparCrossSectionGetSparCrossSection () const
 
virtual TIGL_EXPORT CPACSSparCrossSectionGetSparCrossSection ()
 
virtual TIGL_EXPORT const CCPACSWingSparPositionUIDsGetSparPositionUIDs () const
 
virtual TIGL_EXPORT CCPACSWingSparPositionUIDsGetSparPositionUIDs ()
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
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)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSSparSegment ()
 
- 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 ()
 

Private Member Functions

void BuildAuxiliaryGeometry (AuxiliaryGeomCache &cache) const
 
void BuildGeometry (GeometryCache &cache) const
 
PNamedShape BuildLoft () const override
 
void BuildSparCapsGeometry (SparCapsCache &cache) const
 
void BuildSplittedSparGeometry (SplittedGeomCache &cache) const
 
 CCPACSWingSparSegment (const CCPACSWingSparSegment &)
 
gp_Pnt GetMidplanePoint (const std::string &positionUID) const
 
gp_Vec GetUpVector (const std::string &positionUID, gp_Pnt midplanePnt) const
 
void InvalidateImpl (const boost::optional< std::string > &source) const override
 
void operator= (const CCPACSWingSparSegment &)
 

Private Attributes

Cache< AuxiliaryGeomCache, CCPACSWingSparSegmentauxGeomCache
 
Cache< GeometryCache, CCPACSWingSparSegmentgeometryCache
 
Cache< SparCapsCache, CCPACSWingSparSegmentsparCapsCache
 
CCPACSWingSparssparsNode
 
Cache< SplittedGeomCache, CCPACSWingSparSegmentsplittedGeomCache
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 
- Protected Attributes inherited from tigl::generated::CPACSSparSegment
boost::optional< std::string > m_description
 Description of the spar segment (spar). More...
 
std::string m_name
 Name of the spar segment (=spar). More...
 
CCPACSWingSparSegmentsm_parent
 
CPACSSparCrossSection m_sparCrossSection
 
CCPACSWingSparPositionUIDs m_sparPositionUIDs
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 
- Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
 
Cache< PNamedShape, CTiglAbstractGeometricComponentloft
 

Member Enumeration Documentation

◆ SparCapSide

Enumerator
UPPER 
LOWER 

Constructor & Destructor Documentation

◆ CCPACSWingSparSegment() [1/2]

TIGL_EXPORT tigl::CCPACSWingSparSegment::CCPACSWingSparSegment ( CCPACSWingSparSegments sparSegments,
CTiglUIDManager uidMgr 
)

◆ CCPACSWingSparSegment() [2/2]

tigl::CCPACSWingSparSegment::CCPACSWingSparSegment ( const CCPACSWingSparSegment )
private

Member Function Documentation

◆ BuildAuxiliaryGeometry()

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

◆ BuildGeometry()

void tigl::CCPACSWingSparSegment::BuildGeometry ( GeometryCache cache) const
private

◆ BuildLoft()

PNamedShape tigl::CCPACSWingSparSegment::BuildLoft ( ) const
overrideprivatevirtual

◆ BuildSparCapsGeometry()

void tigl::CCPACSWingSparSegment::BuildSparCapsGeometry ( SparCapsCache cache) const
private

◆ BuildSplittedSparGeometry()

void tigl::CCPACSWingSparSegment::BuildSplittedSparGeometry ( SplittedGeomCache cache) const
private

◆ GetComponentIntent()

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

◆ GetComponentType()

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

◆ GetDefaultedUID()

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

◆ GetDirection()

TIGL_EXPORT gp_Vec tigl::CCPACSWingSparSegment::GetDirection ( double  sparEta) const

◆ GetEtaXsi()

TIGL_EXPORT void tigl::CCPACSWingSparSegment::GetEtaXsi ( int  positionIndex,
double &  eta,
double &  xsi 
) const

◆ GetMidplanePoint() [1/2]

TIGL_EXPORT gp_Pnt tigl::CCPACSWingSparSegment::GetMidplanePoint ( int  positionIndex) const

◆ GetMidplanePoint() [2/2]

gp_Pnt tigl::CCPACSWingSparSegment::GetMidplanePoint ( const std::string &  positionUID) const
private

◆ GetPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSWingSparSegment::GetPoint ( double  sparEta) const

◆ GetSparCapsGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingSparSegment::GetSparCapsGeometry ( SparCapSide  side,
TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM 
) const

◆ GetSparCutGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingSparSegment::GetSparCutGeometry ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const

◆ GetSparGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingSparSegment::GetSparGeometry ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const

◆ GetSparLength()

TIGL_EXPORT double tigl::CCPACSWingSparSegment::GetSparLength ( ) const

◆ GetSparMidplaneLine()

TIGL_EXPORT TopoDS_Wire tigl::CCPACSWingSparSegment::GetSparMidplaneLine ( ) const

◆ GetSparPosition() [1/2]

TIGL_EXPORT CCPACSWingSparPosition& tigl::CCPACSWingSparSegment::GetSparPosition ( std::string  )

◆ GetSparPosition() [2/2]

TIGL_EXPORT const CCPACSWingSparPosition& tigl::CCPACSWingSparSegment::GetSparPosition ( std::string  ) const

◆ GetSplittedSparGeometry()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSWingSparSegment::GetSplittedSparGeometry ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const

◆ GetUpVector()

gp_Vec tigl::CCPACSWingSparSegment::GetUpVector ( const std::string &  positionUID,
gp_Pnt  midplanePnt 
) const
private

◆ HasCap()

TIGL_EXPORT bool tigl::CCPACSWingSparSegment::HasCap ( SparCapSide  side) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ operator=()

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

◆ ReadCPACS()

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

Reimplemented from tigl::generated::CPACSSparSegment.

Field Documentation

◆ auxGeomCache

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

◆ geometryCache

Cache<GeometryCache, CCPACSWingSparSegment> tigl::CCPACSWingSparSegment::geometryCache
private

◆ sparCapsCache

Cache<SparCapsCache, CCPACSWingSparSegment> tigl::CCPACSWingSparSegment::sparCapsCache
private

◆ sparsNode

CCPACSWingSpars& tigl::CCPACSWingSparSegment::sparsNode
private

◆ splittedGeomCache

Cache<SplittedGeomCache, CCPACSWingSparSegment> tigl::CCPACSWingSparSegment::splittedGeomCache
private

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