3.4.0
tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo > Class Template Reference

#include <CCPACSGuideCurveAlgo.h>

Public Types

typedef std::vector< PCTiglPointCCPACSGuideCurveProfilePoints
 

Public Member Functions

TIGL_EXPORT CCPACSGuideCurveAlgo (const TopTools_SequenceOfShape &profileContainer1, const TopTools_SequenceOfShape &profileContainer2, const Standard_Real &alpha1, const Standard_Real &alpha2, const Standard_Real &scale1, const Standard_Real &scale2, const gp_Dir &x_direction, const CCPACSGuideCurveProfile &gcp, const CCPACSGuideCurve::FromOrToDefinition &fromDefinition=CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE, const CCPACSGuideCurve::FromOrToDefinition &toDefinition=CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE)
 Algorithm which constructs a guide curve for a wing or fuselage profile. More...
 
TIGL_EXPORT operator std::vector< gp_Pnt > ()
 

Private Attributes

Standard_Real _alpha1
 
Standard_Real _alpha2
 
CCPACSGuideCurve::FromOrToDefinition _fromDefinition
 
profileGetPointAlgo _getPointAlgo1
 
profileGetPointAlgo _getPointAlgo2
 
CCPACSGuideCurveProfile const & _guideCurveProfile
 
Standard_Real _scale1
 
Standard_Real _scale2
 
CCPACSGuideCurve::FromOrToDefinition _toDefinition
 
gp_Dir _x_direction
 

Member Typedef Documentation

◆ CCPACSGuideCurveProfilePoints

template<class profileGetPointAlgo >
typedef std::vector<PCTiglPoint> tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::CCPACSGuideCurveProfilePoints

Constructor & Destructor Documentation

◆ CCPACSGuideCurveAlgo()

template<class profileGetPointAlgo >
TIGL_EXPORT tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::CCPACSGuideCurveAlgo ( const TopTools_SequenceOfShape &  profileContainer1,
const TopTools_SequenceOfShape &  profileContainer2,
const Standard_Real &  alpha1,
const Standard_Real &  alpha2,
const Standard_Real &  scale1,
const Standard_Real &  scale2,
const gp_Dir &  x_direction,
const CCPACSGuideCurveProfile gcp,
const CCPACSGuideCurve::FromOrToDefinition fromDefinition = CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE,
const CCPACSGuideCurve::FromOrToDefinition toDefinition = CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE 
)
inline

Algorithm which constructs a guide curve for a wing or fuselage profile.

Parameters
profileContainer1Contains the 1st profile in world coordinates (inner in the case of wing profiles)
profileContainer2Contains the 2nd profile in world coordinates (outer in the case of wing profiles)
alpha1Parameter which defines the starting point of the guide curve on the 1st profile
alpha2Parameter which defines the starting point of the guide curve on the 2nd profile
scale1Scaling factor from 1st profile (inner profile chord line in the case of wing profiles)
scale2Scaling factor from 2nd profile (outer profile chord line in the case of wing profiles)
x_directionis the vector, along which the first components of the guide curve points are defined
gcpGuide curve profile coordinates
fromDefinitionChoose the interpretation of alpha1 for the guide curve's starting point on profileContainer1 (circumference or parameter)
toDefinitionChoose the interpretation of alpha2 for the guide curve's end point on profileContainer2 (circumference or parameter)
Returns
Guide curve wire in world coordinates

Member Function Documentation

◆ operator std::vector< gp_Pnt >()

template<class profileGetPointAlgo >
TIGL_EXPORT tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::operator std::vector< gp_Pnt > ( )
inline

Field Documentation

◆ _alpha1

template<class profileGetPointAlgo >
Standard_Real tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_alpha1
private

Starting point parameter

◆ _alpha2

template<class profileGetPointAlgo >
Standard_Real tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_alpha2
private

End point parameter

◆ _fromDefinition

template<class profileGetPointAlgo >
CCPACSGuideCurve::FromOrToDefinition tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_fromDefinition
private

Define on which basis the starting point is calculated

◆ _getPointAlgo1

template<class profileGetPointAlgo >
profileGetPointAlgo tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_getPointAlgo1
private

Get point and tangent of 1st profile

◆ _getPointAlgo2

template<class profileGetPointAlgo >
profileGetPointAlgo tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_getPointAlgo2
private

Get point and tangent of 2nd profile

◆ _guideCurveProfile

template<class profileGetPointAlgo >
CCPACSGuideCurveProfile const& tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_guideCurveProfile
private

Guide curve profile

◆ _scale1

template<class profileGetPointAlgo >
Standard_Real tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_scale1
private

1st scale factor

◆ _scale2

template<class profileGetPointAlgo >
Standard_Real tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_scale2
private

2nd scale factor

◆ _toDefinition

template<class profileGetPointAlgo >
CCPACSGuideCurve::FromOrToDefinition tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_toDefinition
private

Define on which basis the end point is calculated

◆ _x_direction

template<class profileGetPointAlgo >
gp_Dir tigl::CCPACSGuideCurveAlgo< profileGetPointAlgo >::_x_direction
private

x-direction of the guide curve points


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