3.4.0
tigl::CCPACSWingProfileGetPointAlgo Class Reference

#include <CCPACSWingProfileGetPointAlgo.h>

Public Member Functions

TIGL_EXPORT CCPACSWingProfileGetPointAlgo (const TopTools_SequenceOfShape &wireContainer)
 Constructor which expects a wire of to concatenated upper and lower wing edges as input. More...
 
TIGL_EXPORT void GetPointTangent (const double &alpha, gp_Pnt &point, gp_Vec &tangent, const CCPACSGuideCurve::FromOrToDefinition &fromOrToDefinition=CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE)
 Get point and the tangent on wing profile at curve parameter alpha. More...
 

Private Attributes

TopoDS_Edge lowerWire
 
Standard_Real lowerWireLength
 
TopoDS_Edge upperWire
 
Standard_Real upperWireLength
 

Constructor & Destructor Documentation

◆ CCPACSWingProfileGetPointAlgo()

TIGL_EXPORT tigl::CCPACSWingProfileGetPointAlgo::CCPACSWingProfileGetPointAlgo ( const TopTools_SequenceOfShape &  wireContainer)

Constructor which expects a wire of to concatenated upper and lower wing edges as input.

Parameters
wireContainerContains exactly two wires: The upper and lower wing profile wires

Member Function Documentation

◆ GetPointTangent()

TIGL_EXPORT void tigl::CCPACSWingProfileGetPointAlgo::GetPointTangent ( const double &  alpha,
gp_Pnt &  point,
gp_Vec &  tangent,
const CCPACSGuideCurve::FromOrToDefinition fromOrToDefinition = CCPACSGuideCurve::FromOrToDefinition::CIRCUMFERENCE 
)

Get point and the tangent on wing profile at curve parameter alpha.

Parameters
alphaThe curve parameter which starts at the trailing edge (alpha=-1), runs through the upper wing profile towards the leading edge (alpha=0) and returns to the trailing edge (alpha=1) via the lower wing profile
pointPoint on the profile corresponding to the parameter alpha
tangentTangent on the profile corresponding to the parameter alpha
fromOrToDefinitionDefine the basis on which the point on the curve should be found (circumference or parameter)

Field Documentation

◆ lowerWire

TopoDS_Edge tigl::CCPACSWingProfileGetPointAlgo::lowerWire
private

Lower wire of wing profile

◆ lowerWireLength

Standard_Real tigl::CCPACSWingProfileGetPointAlgo::lowerWireLength
private

Circumfence of the lower wing profile

◆ upperWire

TopoDS_Edge tigl::CCPACSWingProfileGetPointAlgo::upperWire
private

Upper wire of wing profile

◆ upperWireLength

Standard_Real tigl::CCPACSWingProfileGetPointAlgo::upperWireLength
private

Circumfence of the upper wing profile


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