3.4.0
tigl::generated::CPACSSuperEllipseProfile Class Reference

Superellipse. More...

#include <CPACSSuperEllipseProfile.h>

Public Member Functions

TIGL_EXPORT CPACSSuperEllipseProfile (CPACSStandardProfile *parent)
 
virtual TIGL_EXPORT const double & GetLowerHeightFraction () const
 
virtual TIGL_EXPORT const CPACSPosExcl0DoubleBaseGetMLower () const
 
virtual TIGL_EXPORT CPACSPosExcl0DoubleBaseGetMLower ()
 
virtual TIGL_EXPORT const CPACSPosExcl0DoubleBaseGetMUpper () const
 
virtual TIGL_EXPORT CPACSPosExcl0DoubleBaseGetMUpper ()
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
virtual TIGL_EXPORT const CPACSPosExcl0DoubleBaseGetNLower () const
 
virtual TIGL_EXPORT CPACSPosExcl0DoubleBaseGetNLower ()
 
virtual TIGL_EXPORT const CPACSPosExcl0DoubleBaseGetNUpper () const
 
virtual TIGL_EXPORT CPACSPosExcl0DoubleBaseGetNUpper ()
 
TIGL_EXPORT CPACSStandardProfileGetParent ()
 
TIGL_EXPORT const CPACSStandardProfileGetParent () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void SetLowerHeightFraction (const double &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSSuperEllipseProfile ()
 

Protected Attributes

double m_lowerHeightFraction
 
CPACSPosExcl0DoubleBase m_mLower
 Exponent m for lower semi-ellipse. More...
 
CPACSPosExcl0DoubleBase m_mUpper
 Exponent m for upper semi-ellipse. More...
 
CPACSPosExcl0DoubleBase m_nLower
 Exponent n for lower semi-ellipse. More...
 
CPACSPosExcl0DoubleBase m_nUpper
 Exponent n for upper semi-ellipse. More...
 
CPACSStandardProfilem_parent
 

Private Member Functions

 CPACSSuperEllipseProfile (const CPACSSuperEllipseProfile &)=delete
 
 CPACSSuperEllipseProfile (CPACSSuperEllipseProfile &&)=delete
 
CPACSSuperEllipseProfileoperator= (const CPACSSuperEllipseProfile &)=delete
 
CPACSSuperEllipseProfileoperator= (CPACSSuperEllipseProfile &&)=delete
 

Detailed Description

Superellipse.

A profile based on superellipses is composed of an upper and a lower semi-ellipse, which may differ from each other in their parameterization. The total width and height of the profile is always 1, since scaling is performed after referencing (e.g., in the fuselage). This lowerHeightFraction describes the portion of the lower semi-ellipse on the total height. The resulting profile is defined by the following set of equations:

See also
superEllipseUpper
superEllipseLower with
superEllipseLowerZ0 The following examples indicate the various possibilities of parametric profiles: Example 1 : ( mUpper,nUpper,mLower,nLower, lowerHeightFraction ) = (0.5; 2; 5; 3; 0.25)
superEllipseExample1 Example 2 : ( mUpper,nUpper,mLower,nLower, lowerHeightFraction ) = (2; 2; 2; 2; 0.5) = a circle
superEllipseExample2 Example 3 : ( mUpper,nUpper,mLower,nLower, lowerHeightFraction ) = (1; 1; 1; 1; 0.5) = a square / diamond
superEllipseExample3 Note : For exponents that are infinitely large, the superellipse converges to a rectangle. However, the value Inf is not a valid entry at this point. Use the square element instead.

Constructor & Destructor Documentation

◆ CPACSSuperEllipseProfile() [1/3]

TIGL_EXPORT tigl::generated::CPACSSuperEllipseProfile::CPACSSuperEllipseProfile ( CPACSStandardProfile parent)

◆ ~CPACSSuperEllipseProfile()

virtual TIGL_EXPORT tigl::generated::CPACSSuperEllipseProfile::~CPACSSuperEllipseProfile ( )
virtual

◆ CPACSSuperEllipseProfile() [2/3]

tigl::generated::CPACSSuperEllipseProfile::CPACSSuperEllipseProfile ( const CPACSSuperEllipseProfile )
privatedelete

◆ CPACSSuperEllipseProfile() [3/3]

tigl::generated::CPACSSuperEllipseProfile::CPACSSuperEllipseProfile ( CPACSSuperEllipseProfile &&  )
privatedelete

Member Function Documentation

◆ GetLowerHeightFraction()

virtual TIGL_EXPORT const double& tigl::generated::CPACSSuperEllipseProfile::GetLowerHeightFraction ( ) const
virtual

◆ GetMLower() [1/2]

virtual TIGL_EXPORT const CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetMLower ( ) const
virtual

◆ GetMLower() [2/2]

virtual TIGL_EXPORT CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetMLower ( )
virtual

◆ GetMUpper() [1/2]

virtual TIGL_EXPORT const CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetMUpper ( ) const
virtual

◆ GetMUpper() [2/2]

virtual TIGL_EXPORT CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetMUpper ( )
virtual

◆ GetNextUIDParent() [1/2]

virtual TIGL_EXPORT CTiglUIDObject* tigl::generated::CPACSSuperEllipseProfile::GetNextUIDParent ( )
virtual

◆ GetNextUIDParent() [2/2]

virtual TIGL_EXPORT const CTiglUIDObject* tigl::generated::CPACSSuperEllipseProfile::GetNextUIDParent ( ) const
virtual

◆ GetNLower() [1/2]

virtual TIGL_EXPORT const CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetNLower ( ) const
virtual

◆ GetNLower() [2/2]

virtual TIGL_EXPORT CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetNLower ( )
virtual

◆ GetNUpper() [1/2]

virtual TIGL_EXPORT const CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetNUpper ( ) const
virtual

◆ GetNUpper() [2/2]

virtual TIGL_EXPORT CPACSPosExcl0DoubleBase& tigl::generated::CPACSSuperEllipseProfile::GetNUpper ( )
virtual

◆ GetParent() [1/2]

TIGL_EXPORT CPACSStandardProfile* tigl::generated::CPACSSuperEllipseProfile::GetParent ( )

◆ GetParent() [2/2]

TIGL_EXPORT const CPACSStandardProfile* tigl::generated::CPACSSuperEllipseProfile::GetParent ( ) const

◆ operator=() [1/2]

CPACSSuperEllipseProfile& tigl::generated::CPACSSuperEllipseProfile::operator= ( const CPACSSuperEllipseProfile )
privatedelete

◆ operator=() [2/2]

CPACSSuperEllipseProfile& tigl::generated::CPACSSuperEllipseProfile::operator= ( CPACSSuperEllipseProfile &&  )
privatedelete

◆ ReadCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSSuperEllipseProfile::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
)
virtual

◆ SetLowerHeightFraction()

virtual TIGL_EXPORT void tigl::generated::CPACSSuperEllipseProfile::SetLowerHeightFraction ( const double &  value)
virtual

◆ WriteCPACS()

virtual TIGL_EXPORT void tigl::generated::CPACSSuperEllipseProfile::WriteCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
) const
virtual

Field Documentation

◆ m_lowerHeightFraction

double tigl::generated::CPACSSuperEllipseProfile::m_lowerHeightFraction
protected

◆ m_mLower

CPACSPosExcl0DoubleBase tigl::generated::CPACSSuperEllipseProfile::m_mLower
protected

Exponent m for lower semi-ellipse.

◆ m_mUpper

CPACSPosExcl0DoubleBase tigl::generated::CPACSSuperEllipseProfile::m_mUpper
protected

Exponent m for upper semi-ellipse.

◆ m_nLower

CPACSPosExcl0DoubleBase tigl::generated::CPACSSuperEllipseProfile::m_nLower
protected

Exponent n for lower semi-ellipse.

◆ m_nUpper

CPACSPosExcl0DoubleBase tigl::generated::CPACSSuperEllipseProfile::m_nUpper
protected

Exponent n for upper semi-ellipse.

◆ m_parent

CPACSStandardProfile* tigl::generated::CPACSSuperEllipseProfile::m_parent
protected

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