3.4.0
tigl::CCPACSGuideCurve Class Reference

#include <CCPACSGuideCurve.h>

+ Inheritance diagram for tigl::CCPACSGuideCurve:

Public Types

enum  FromOrToDefinition { UID, CIRCUMFERENCE, PARAMETER }
 

Public Member Functions

TIGL_EXPORT CCPACSGuideCurve (CCPACSGuideCurves *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSGuideCurveGetConnectedCurve () const
 
TIGL_EXPORT TopoDS_Edge GetCurve () const
 
TIGL_EXPORT std::vector< gp_Pnt > GetCurvePoints () const
 
TIGL_EXPORT FromOrToDefinition GetFromDefinition () const
 
TIGL_EXPORT double GetFromDefinitionValue () const
 
TIGL_EXPORT CCPACSGuideCurve const * GetRootCurve () const
 
TIGL_EXPORT FromOrToDefinition GetToDefinition () const
 
TIGL_EXPORT double GetToDefinitionValue () const
 
TIGL_EXPORT void SetGuideCurveBuilder (IGuideCurveBuilder &b)
 
TIGL_EXPORT ~CCPACSGuideCurve (void) override
 
- Public Member Functions inherited from tigl::generated::CPACSGuideCurve
TIGL_EXPORT CPACSGuideCurve (CCPACSGuideCurves *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< CPACSGuideCurve_continuity > & GetContinuity_choice1 () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetFromGuideCurveUID_choice1 () const
 
virtual TIGL_EXPORT const boost::optional< double > & GetFromParameter_choice2_2 () const
 
virtual TIGL_EXPORT const boost::optional< double > & GetFromRelativeCircumference_choice2_1 () const
 
virtual TIGL_EXPORT const std::string & GetGuideCurveProfileUID () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSGuideCurvesGetParent ()
 
TIGL_EXPORT const CCPACSGuideCurvesGetParent () const
 
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & GetRXDirection () const
 
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & GetRXDirection ()
 
virtual TIGL_EXPORT CPACSPointXYZGetRXDirection (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & GetTangent () const
 
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & GetTangent ()
 
virtual TIGL_EXPORT CPACSPointXYZGetTangent (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CPACSPointXYZ > & GetTangent_choice2 () const
 
virtual TIGL_EXPORT boost::optional< CPACSPointXYZ > & GetTangent_choice2 ()
 
virtual TIGL_EXPORT CPACSPointXYZGetTangent_choice2 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< double > & GetToParameter_choice2 () const
 
virtual TIGL_EXPORT const boost::optional< double > & GetToRelativeCircumference_choice1 () const
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveRXDirection ()
 
virtual TIGL_EXPORT void RemoveTangent ()
 
virtual TIGL_EXPORT void RemoveTangent_choice2 ()
 
virtual TIGL_EXPORT void SetContinuity_choice1 (const boost::optional< CPACSGuideCurve_continuity > &value)
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetFromGuideCurveUID_choice1 (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetFromParameter_choice2_2 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetFromRelativeCircumference_choice2_1 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetGuideCurveProfileUID (const std::string &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetToParameter_choice2 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetToRelativeCircumference_choice1 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
TIGL_EXPORT bool ValidateChoices () const
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSGuideCurve ()
 
- 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::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 

Protected Member Functions

void Cleanup (void)
 
- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Private Types

typedef std::vector< PCTiglPointCCPACSGuideCurvePoints
 

Private Member Functions

void BuildCurve (TopoDS_Edge &cache) const
 
 CCPACSGuideCurve (const CCPACSGuideCurve &)
 
void InvalidateImpl (const boost::optional< std::string > &source) const override
 
void operator= (const CCPACSGuideCurve &)
 

Private Attributes

Cache< TopoDS_Edge, CCPACSGuideCurveguideCurveTopo
 
IGuideCurveBuilderm_builder
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSGuideCurve
boost::optional< CPACSGuideCurve_continuitym_continuity_choice1
 Continuity definition for geometry generation. Possible options: C0, C1 from previous, C2 from previous, C1 to previous, C2 to previous. More...
 
boost::optional< std::string > m_description
 Description of guide curve. More...
 
boost::optional< std::string > m_fromGuideCurveUID_choice1
 Reference to the previous guide curve from which this guide curve shall start. More...
 
boost::optional< double > m_fromParameter_choice2_2
 Reference to the parameter position from which the guide curve shall start. Valid values are in the interval -1.0...1.0. More...
 
boost::optional< double > m_fromRelativeCircumference_choice2_1
 Reference to the relative circumference position from which the guide curve shall start. Valid values are in the interval -1.0...1.0. More...
 
std::string m_guideCurveProfileUID
 Reference to a guide curve profile. More...
 
std::string m_name
 Name of guide curve. More...
 
CCPACSGuideCurvesm_parent
 
boost::optional< CPACSPointXYZm_rXDirection
 Local direction along which the relative x-coordinates of the guide curve points are defined. For the wing the default is the wing's local x-axis, for the fuselage its the fuselage's local z-axis. More...
 
boost::optional< CPACSPointXYZm_tangent
 Tangent at last point. More...
 
boost::optional< CPACSPointXYZm_tangent_choice2
 Tangent at first point. More...
 
boost::optional< double > m_toParameter_choice2
 The parameter position at which the guide curve shall end. Valid values are in the interval -1.0...1.0. More...
 
boost::optional< double > m_toRelativeCircumference_choice1
 The relative circumference position at which the guide curve shall end. Valid values are in the interval -1,...,1. More...
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 

Member Typedef Documentation

◆ CCPACSGuideCurvePoints

Member Enumeration Documentation

◆ FromOrToDefinition

Enumerator
UID 
CIRCUMFERENCE 
PARAMETER 

Constructor & Destructor Documentation

◆ CCPACSGuideCurve() [1/2]

TIGL_EXPORT tigl::CCPACSGuideCurve::CCPACSGuideCurve ( CCPACSGuideCurves parent,
CTiglUIDManager uidMgr 
)

◆ ~CCPACSGuideCurve()

TIGL_EXPORT tigl::CCPACSGuideCurve::~CCPACSGuideCurve ( void  )
override

◆ CCPACSGuideCurve() [2/2]

tigl::CCPACSGuideCurve::CCPACSGuideCurve ( const CCPACSGuideCurve )
private

Member Function Documentation

◆ BuildCurve()

void tigl::CCPACSGuideCurve::BuildCurve ( TopoDS_Edge &  cache) const
private

◆ Cleanup()

void tigl::CCPACSGuideCurve::Cleanup ( void  )
protected

◆ GetConnectedCurve()

TIGL_EXPORT CCPACSGuideCurve* tigl::CCPACSGuideCurve::GetConnectedCurve ( ) const

◆ GetCurve()

TIGL_EXPORT TopoDS_Edge tigl::CCPACSGuideCurve::GetCurve ( ) const

◆ GetCurvePoints()

TIGL_EXPORT std::vector<gp_Pnt> tigl::CCPACSGuideCurve::GetCurvePoints ( ) const

◆ GetFromDefinition()

TIGL_EXPORT FromOrToDefinition tigl::CCPACSGuideCurve::GetFromDefinition ( ) const

◆ GetFromDefinitionValue()

TIGL_EXPORT double tigl::CCPACSGuideCurve::GetFromDefinitionValue ( ) const

◆ GetRootCurve()

TIGL_EXPORT CCPACSGuideCurve const* tigl::CCPACSGuideCurve::GetRootCurve ( ) const

◆ GetToDefinition()

TIGL_EXPORT FromOrToDefinition tigl::CCPACSGuideCurve::GetToDefinition ( ) const

◆ GetToDefinitionValue()

TIGL_EXPORT double tigl::CCPACSGuideCurve::GetToDefinitionValue ( ) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ operator=()

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

◆ SetGuideCurveBuilder()

TIGL_EXPORT void tigl::CCPACSGuideCurve::SetGuideCurveBuilder ( IGuideCurveBuilder b)

Field Documentation

◆ guideCurveTopo

Cache<TopoDS_Edge, CCPACSGuideCurve> tigl::CCPACSGuideCurve::guideCurveTopo
private

Actual topological entity of the curve

◆ m_builder

IGuideCurveBuilder* tigl::CCPACSGuideCurve::m_builder
private

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