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

#include <CTiglWingSectionElement.h>

Inheritance diagram for tigl::CTiglWingSectionElement:

Public Member Functions

 CTiglWingSectionElement ()
 CTiglWingSectionElement (CCPACSWingSectionElement *element)
TIGL_EXPORT CTiglPoint GetChordPoint (double xsi, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const
TIGL_EXPORT CTiglTransformation GetElementTransformation () const override
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 CCPACSWingProfileGetProfile ()
TIGL_EXPORT const CCPACSWingProfileGetProfile () 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 CTiglTransformation GetWingTransformation () const
TIGL_EXPORT TopoDS_Wire GetWire (TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM) const override
TIGL_EXPORT bool IsValid () const override
TIGL_EXPORT void SetAssociateElement (CCPACSWingSectionElement *element)
TIGL_EXPORT void SetChordPoint (double xsi, CTiglPoint newChordPoint, TiglCoordinateSystem referenceCS=GLOBAL_COORDINATE_SYSTEM)
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
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
virtual void Invalidate ()
void SetElementAndSectionScalingToNoneZero ()

Private Attributes

CCPACSConfigurationconfig
CCPACSWingSectionElementelement
std::variant< CCPACSWing *, CCPACSEnginePylon * > parent
CCPACSWingSectionsection

Constructor & Destructor Documentation

◆ CTiglWingSectionElement() [1/2]

tigl::CTiglWingSectionElement::CTiglWingSectionElement ( )

◆ CTiglWingSectionElement() [2/2]

tigl::CTiglWingSectionElement::CTiglWingSectionElement ( CCPACSWingSectionElement * element)

Member Function Documentation

◆ GetChordPoint()

TIGL_EXPORT CTiglPoint tigl::CTiglWingSectionElement::GetChordPoint ( double xsi,
TiglCoordinateSystem referenceCS = GLOBAL_COORDINATE_SYSTEM ) const

◆ GetElementCCPACSTransformation()

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

◆ GetElementTransformation()

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

◆ GetNormal()

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

◆ GetParentTransformation()

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

◆ GetPositionings()

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

◆ GetPositioningTransformation()

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

◆ GetProfile() [1/2]

TIGL_EXPORT CCPACSWingProfile & tigl::CTiglWingSectionElement::GetProfile ( )

◆ GetProfile() [2/2]

TIGL_EXPORT const CCPACSWingProfile & tigl::CTiglWingSectionElement::GetProfile ( ) const

◆ GetProfileUID()

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

◆ GetSectionCCPACSTransformation()

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

◆ GetSectionElementUID()

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

◆ GetSectionTransformation()

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

◆ GetSectionUID()

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

◆ GetStdDirForProfileUnitZ()

CTiglPoint tigl::CTiglWingSectionElement::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 lies on the profile plane and ends on the intersection of the line l, defined by (0,y,1). If there is no intersection with the line l, we define the end of the vector by the intersection with the line l2, defined by (0,1,z).

Parameters
referenceCS
Returns

Implements tigl::CTiglSectionElement.

◆ GetWingTransformation()

TIGL_EXPORT CTiglTransformation tigl::CTiglWingSectionElement::GetWingTransformation ( ) const

◆ GetWire()

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

◆ IsValid()

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

◆ SetAssociateElement()

TIGL_EXPORT void tigl::CTiglWingSectionElement::SetAssociateElement ( CCPACSWingSectionElement * element)

◆ SetChordPoint()

TIGL_EXPORT void tigl::CTiglWingSectionElement::SetChordPoint ( double xsi,
CTiglPoint newChordPoint,
TiglCoordinateSystem referenceCS = GLOBAL_COORDINATE_SYSTEM )

◆ SetProfileUID()

TIGL_EXPORT void tigl::CTiglWingSectionElement::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 at the creator standard on how to define profiles).
Parameters
newProfileUID

Implements tigl::CTiglSectionElement.

Field Documentation

◆ config

CCPACSConfiguration* tigl::CTiglWingSectionElement::config
private

◆ element

CCPACSWingSectionElement* tigl::CTiglWingSectionElement::element
private

◆ parent

std::variant<CCPACSWing*, CCPACSEnginePylon*> tigl::CTiglWingSectionElement::parent
private

◆ section

CCPACSWingSection* tigl::CTiglWingSectionElement::section
private

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