3.4.0
tigl::CTiglFuselageSectionElement Class Reference

#include <CTiglFuselageSectionElement.h>

+ Inheritance diagram for tigl::CTiglFuselageSectionElement:

Public Member Functions

 CTiglFuselageSectionElement ()
 
 CTiglFuselageSectionElement (CCPACSFuselageSectionElement *element)
 
TIGL_EXPORT CTiglTransformation GetElementTransformation () const override
 
TIGL_EXPORT CTiglTransformation GetFuselageTransformation () const
 
TIGL_EXPORT CTiglPoint GetNormal (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const override
 
TIGL_EXPORT CTiglTransformation GetParentTransformation () const override
 
TIGL_EXPORT CCPACSPositioningsGetPositionings () override
 
TIGL_EXPORT CTiglTransformation GetPositioningTransformation () const override
 
TIGL_EXPORT CCPACSFuselageProfileGetProfile ()
 
TIGL_EXPORT const CCPACSFuselageProfileGetProfile () const
 
virtual TIGL_EXPORT std::string GetProfileUID () const override
 
TIGL_EXPORT std::string GetSectionElementUID () const override
 
TIGL_EXPORT CTiglTransformation GetSectionTransformation () const override
 
TIGL_EXPORT std::string GetSectionUID () const override
 
TIGL_EXPORT TopoDS_Wire GetWire (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const override
 
TIGL_EXPORT bool IsValid () const override
 
TIGL_EXPORT void SetProfileUID (const std::string &newProfileUID) override
 
- Public Member Functions inherited from tigl::CTiglSectionElement
TIGL_EXPORT double GetArea (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT CTiglPoint GetCenter (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT double GetCircumference (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
virtual TIGL_EXPORT double GetHeight (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT CTiglPoint GetOrigin (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT double GetRotationAroundNormal (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
virtual TIGL_EXPORT CTiglTransformation GetTotalTransformation (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
virtual TIGL_EXPORT double GetWidth (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
virtual TIGL_EXPORT void ScaleCircumference (double scaleFactor, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
virtual TIGL_EXPORT void ScaleUniformly (double scaleFactor, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
virtual TIGL_EXPORT void SetArea (double newArea, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
virtual TIGL_EXPORT void SetCenter (const CTiglPoint &newOrigin, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
virtual TIGL_EXPORT void SetHeight (double newHeight, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
TIGL_EXPORT void SetNormal (CTiglPoint newNormal, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
virtual TIGL_EXPORT void SetOrigin (const CTiglPoint &newOrigin, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
TIGL_EXPORT void SetPSETransformations (const CTiglTransformation &newTransformation)
 
TIGL_EXPORT void SetPSETransformationsUseSimpleDecomposition (const CTiglTransformation &newTransformation, bool check=true)
 
TIGL_EXPORT void SetRotationAroundNormal (double angle, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 
TIGL_EXPORT void SetTotalTransformation (const CTiglTransformation &newTotalTransformation, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM, bool useSimpleDecomposition=false)
 
virtual TIGL_EXPORT void SetWidth (double newWidth, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
 

Protected Member Functions

CCPACSTransformationGetElementCCPACSTransformation () override
 
CCPACSTransformationGetSectionCCPACSTransformation () override
 
CTiglPoint GetStdDirForProfileUnitZ (TiglCoordinateSystem referenceCS) const override
 
void InvalidateParent () override
 
- Protected Member Functions inherited from tigl::CTiglSectionElement
CTiglPoint GetCurrentUnitZDirectionOfProfile (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
TIGL_EXPORT CTiglTransformation GetRotationToXZPlane (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
 
void SetElementAndSectionScalingToNoneZero ()
 

Private Attributes

CCPACSFuselageSectionElementelement
 
CCPACSFuselagefuselage
 
CCPACSFuselageSectionsection
 

Constructor & Destructor Documentation

◆ CTiglFuselageSectionElement() [1/2]

tigl::CTiglFuselageSectionElement::CTiglFuselageSectionElement ( )

◆ CTiglFuselageSectionElement() [2/2]

tigl::CTiglFuselageSectionElement::CTiglFuselageSectionElement ( CCPACSFuselageSectionElement element)

Member Function Documentation

◆ GetElementCCPACSTransformation()

CCPACSTransformation& tigl::CTiglFuselageSectionElement::GetElementCCPACSTransformation ( )
overrideprotectedvirtual

◆ GetElementTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglFuselageSectionElement::GetElementTransformation ( ) const
overridevirtual

◆ GetFuselageTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglFuselageSectionElement::GetFuselageTransformation ( ) const

◆ GetNormal()

TIGL_EXPORT CTiglPoint tigl::CTiglFuselageSectionElement::GetNormal ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const
overridevirtual

◆ GetParentTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglFuselageSectionElement::GetParentTransformation ( ) const
overridevirtual

◆ GetPositionings()

TIGL_EXPORT CCPACSPositionings& tigl::CTiglFuselageSectionElement::GetPositionings ( )
overridevirtual

◆ GetPositioningTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglFuselageSectionElement::GetPositioningTransformation ( ) const
overridevirtual

◆ GetProfile() [1/2]

TIGL_EXPORT CCPACSFuselageProfile& tigl::CTiglFuselageSectionElement::GetProfile ( )

◆ GetProfile() [2/2]

TIGL_EXPORT const CCPACSFuselageProfile& tigl::CTiglFuselageSectionElement::GetProfile ( ) const

◆ GetProfileUID()

virtual TIGL_EXPORT std::string tigl::CTiglFuselageSectionElement::GetProfileUID ( ) const
overridevirtual

◆ GetSectionCCPACSTransformation()

CCPACSTransformation& tigl::CTiglFuselageSectionElement::GetSectionCCPACSTransformation ( )
overrideprotectedvirtual

◆ GetSectionElementUID()

TIGL_EXPORT std::string tigl::CTiglFuselageSectionElement::GetSectionElementUID ( ) const
overridevirtual

◆ GetSectionTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglFuselageSectionElement::GetSectionTransformation ( ) const
overridevirtual

◆ GetSectionUID()

TIGL_EXPORT std::string tigl::CTiglFuselageSectionElement::GetSectionUID ( ) const
overridevirtual

◆ GetStdDirForProfileUnitZ()

CTiglPoint tigl::CTiglFuselageSectionElement::GetStdDirForProfileUnitZ ( TiglCoordinateSystem  referenceCS) const
overrideprotectedvirtual

Return the conventional direction for the unit vector z of the profile.

This direction is used to determine the rotation around the normal and is defined as: the vector that line on the profile plane and end on the intersection of the line l, define by (x,0,1). If there is no intersection with the line l, we set the end of the vector by the intersection of the line l2, defined by (1,0,z)

Parameters
referenceCS
Returns

Implements tigl::CTiglSectionElement.

◆ GetWire()

TIGL_EXPORT TopoDS_Wire tigl::CTiglFuselageSectionElement::GetWire ( TiglCoordinateSystem  referenceCS = GLOBAL_COORDINATE_SYSTEM) const
overridevirtual

◆ InvalidateParent()

void tigl::CTiglFuselageSectionElement::InvalidateParent ( )
overrideprotectedvirtual

◆ IsValid()

TIGL_EXPORT bool tigl::CTiglFuselageSectionElement::IsValid ( ) const
overridevirtual

◆ SetProfileUID()

TIGL_EXPORT void tigl::CTiglFuselageSectionElement::SetProfileUID ( const std::string &  newProfileUID)
overridevirtual

Set the profile UID used by this element.

Remarks
Some parameters of this element can change as the center or the width. Especially , if the profile is not defined in the same way as the old one (Take a look a the creator standard to define profile).
Parameters
newProfileUID

Implements tigl::CTiglSectionElement.

Field Documentation

◆ element

CCPACSFuselageSectionElement* tigl::CTiglFuselageSectionElement::element
private

◆ fuselage

CCPACSFuselage* tigl::CTiglFuselageSectionElement::fuselage
private

◆ section

CCPACSFuselageSection* tigl::CTiglFuselageSectionElement::section
private

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