3.4.0
tigl::generated::CPACSRectangleProfile Class Reference

Rectangle. More...

#include <CPACSRectangleProfile.h>

Public Member Functions

TIGL_EXPORT CPACSRectangleProfile (CPACSStandardProfile *parent)
 
virtual TIGL_EXPORT const boost::optional< double > & GetCornerRadius () const
 
virtual TIGL_EXPORT const CPACSPosExcl0DoubleBaseGetHeightToWidthRatio () const
 
virtual TIGL_EXPORT CPACSPosExcl0DoubleBaseGetHeightToWidthRatio ()
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CPACSStandardProfileGetParent ()
 
TIGL_EXPORT const CPACSStandardProfileGetParent () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void SetCornerRadius (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSRectangleProfile ()
 

Protected Attributes

boost::optional< double > m_cornerRadius
 
CPACSPosExcl0DoubleBase m_heightToWidthRatio
 
CPACSStandardProfilem_parent
 

Private Member Functions

 CPACSRectangleProfile (const CPACSRectangleProfile &)=delete
 
 CPACSRectangleProfile (CPACSRectangleProfile &&)=delete
 
CPACSRectangleProfileoperator= (const CPACSRectangleProfile &)=delete
 
CPACSRectangleProfileoperator= (CPACSRectangleProfile &&)=delete
 

Detailed Description

Rectangle.

The width of the profile is always 1, since scaling is performed after referencing it (e.g., in the fuselage). The resulting profile is defined by the following equation:

See also
eq_roundedRectangle with c = cornerRadius and r = heightToWidthRatio . Example: Rectangle with cornerRadius =0.125 and heightToWidthRatio =0.5
rectangleRoundedCorners

Constructor & Destructor Documentation

◆ CPACSRectangleProfile() [1/3]

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

◆ ~CPACSRectangleProfile()

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

◆ CPACSRectangleProfile() [2/3]

tigl::generated::CPACSRectangleProfile::CPACSRectangleProfile ( const CPACSRectangleProfile )
privatedelete

◆ CPACSRectangleProfile() [3/3]

tigl::generated::CPACSRectangleProfile::CPACSRectangleProfile ( CPACSRectangleProfile &&  )
privatedelete

Member Function Documentation

◆ GetCornerRadius()

virtual TIGL_EXPORT const boost::optional<double>& tigl::generated::CPACSRectangleProfile::GetCornerRadius ( ) const
virtual

◆ GetHeightToWidthRatio() [1/2]

virtual TIGL_EXPORT const CPACSPosExcl0DoubleBase& tigl::generated::CPACSRectangleProfile::GetHeightToWidthRatio ( ) const
virtual

◆ GetHeightToWidthRatio() [2/2]

virtual TIGL_EXPORT CPACSPosExcl0DoubleBase& tigl::generated::CPACSRectangleProfile::GetHeightToWidthRatio ( )
virtual

◆ GetNextUIDParent() [1/2]

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

◆ GetNextUIDParent() [2/2]

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

◆ GetParent() [1/2]

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

◆ GetParent() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ ReadCPACS()

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

◆ SetCornerRadius()

virtual TIGL_EXPORT void tigl::generated::CPACSRectangleProfile::SetCornerRadius ( const boost::optional< double > &  value)
virtual

◆ WriteCPACS()

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

Field Documentation

◆ m_cornerRadius

boost::optional<double> tigl::generated::CPACSRectangleProfile::m_cornerRadius
protected

◆ m_heightToWidthRatio

CPACSPosExcl0DoubleBase tigl::generated::CPACSRectangleProfile::m_heightToWidthRatio
protected

◆ m_parent

CPACSStandardProfile* tigl::generated::CPACSRectangleProfile::m_parent
protected

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