#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. | |
| 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. | |
Private Attributes | |
| TopoDS_Edge | lowerWire |
| Standard_Real | lowerWireLength |
| TopoDS_Edge | upperWire |
| Standard_Real | upperWireLength |
| TIGL_EXPORT tigl::CCPACSWingProfileGetPointAlgo::CCPACSWingProfileGetPointAlgo | ( | const TopTools_SequenceOfShape & | wireContainer | ) |
Constructor which expects a wire of to concatenated upper and lower wing edges as input.
| wireContainer | Contains exactly two wires: The upper and lower wing profile wires |
| 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.
| alpha | The 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 |
| point | Point on the profile corresponding to the parameter alpha |
| tangent | Tangent on the profile corresponding to the parameter alpha |
| fromOrToDefinition | Define the basis on which the point on the curve should be found (circumference or parameter) |
|
private |
Lower wire of wing profile
|
private |
Circumfence of the lower wing profile
|
private |
Upper wire of wing profile
|
private |
Circumfence of the upper wing profile