3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CControlSurfaceBorderBuilder Class Reference

#include <CControlSurfaceBorderBuilder.h>

Public Member Functions

TopoDS_Wire borderSimple (double xsiUpper, double xsiLower)
 Simplified cutout without any center point definition.
TopoDS_Wire borderWithInnerShape (double rTEHeight, double xsiTail, double xsiTEUpper, double xsiTELower)
 Computes the cutout wire with a defined trailing edge shape according to the CPACS definition of a leading edge device.
TopoDS_Wire borderWithLEShape (double rLEHeight, double xsiNose, double xsiUpper, double xsiLower)
 Computes the cutout wire with a defined leading edge shape according to the CPACS definition.
 CControlSurfaceBorderBuilder (const CTiglControlSurfaceBorderCoordinateSystem &coords, TopoDS_Shape wingShape)
gp_Pnt2d lowerPoint ()
gp_Vec2d lowerTangent ()
gp_Pnt2d upperPoint ()
gp_Vec2d upperTangent ()
TopoDS_Wire wholeWingBorder ()
 Computes a border that spans the whole wing, i.e. for canard style flaps.
 ~CControlSurfaceBorderBuilder ()

Private Member Functions

TopoDS_Wire borderWithInnerShapeImpl (double rTEHeight, double xsiTail, double xsiTEUpper, double xsiTELower, double offset)
 Computes the points on the wing skin and their tangents.
 CControlSurfaceBorderBuilder ()
void computeSkinPoints (double xsiUpper, double xsiLower)
void computeSkinPointsImpl (double xsi, gp_Pnt2d &pntUp, gp_Vec2d &tangentUp, gp_Pnt2d &pntLo, gp_Vec2d &tanLo)

Private Attributes

const CTiglControlSurfaceBorderCoordinateSystem_coords
gp_Vec2d _loTan2d
gp_Pnt2d _lp2d
gp_Pnt2d _up2d
gp_Vec2d _upTan2d
TopoDS_Shape _wingShape

Constructor & Destructor Documentation

◆ CControlSurfaceBorderBuilder() [1/2]

tigl::CControlSurfaceBorderBuilder::CControlSurfaceBorderBuilder ( const CTiglControlSurfaceBorderCoordinateSystem & coords,
TopoDS_Shape wingShape )

◆ ~CControlSurfaceBorderBuilder()

tigl::CControlSurfaceBorderBuilder::~CControlSurfaceBorderBuilder ( )

◆ CControlSurfaceBorderBuilder() [2/2]

tigl::CControlSurfaceBorderBuilder::CControlSurfaceBorderBuilder ( )
private

Member Function Documentation

◆ borderSimple()

TopoDS_Wire tigl::CControlSurfaceBorderBuilder::borderSimple ( double xsiUpper,
double xsiLower )

Simplified cutout without any center point definition.

Parameters
xsiUpperUpper skin point o the edge, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge
xsiLowerLower skin point o the edge, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge
Returns

◆ borderWithInnerShape()

TopoDS_Wire tigl::CControlSurfaceBorderBuilder::borderWithInnerShape ( double rTEHeight,
double xsiTail,
double xsiTEUpper,
double xsiTELower )

Computes the cutout wire with a defined trailing edge shape according to the CPACS definition of a leading edge device.

Parameters
rTEHeightRelative height of the center point of the edge
xsiTailDepth coordinate of the center point
xsiTEUpperUpper skin point of the edge, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge
xsiTELowerLower skin point of the edge, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge
Returns

◆ borderWithInnerShapeImpl()

TopoDS_Wire tigl::CControlSurfaceBorderBuilder::borderWithInnerShapeImpl ( double rTEHeight,
double xsiTail,
double xsiTEUpper,
double xsiTELower,
double offset )
private

Computes the points on the wing skin and their tangents.

◆ borderWithLEShape()

TopoDS_Wire tigl::CControlSurfaceBorderBuilder::borderWithLEShape ( double rLEHeight,
double xsiNose,
double xsiUpper,
double xsiLower )

Computes the cutout wire with a defined leading edge shape according to the CPACS definition.

Parameters
rLEHeightRelative height of the nose point
xsiNodeDepth coordinate of the nose point
xsiUpperUpper skin point, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge
xsiLowerLower skin point, where xsi=1 is the flap leading edge, and xsi=0 the trailing edge

◆ computeSkinPoints()

void tigl::CControlSurfaceBorderBuilder::computeSkinPoints ( double xsiUpper,
double xsiLower )
private

◆ computeSkinPointsImpl()

void tigl::CControlSurfaceBorderBuilder::computeSkinPointsImpl ( double xsi,
gp_Pnt2d & pntUp,
gp_Vec2d & tangentUp,
gp_Pnt2d & pntLo,
gp_Vec2d & tanLo )
private

◆ lowerPoint()

gp_Pnt2d tigl::CControlSurfaceBorderBuilder::lowerPoint ( )

◆ lowerTangent()

gp_Vec2d tigl::CControlSurfaceBorderBuilder::lowerTangent ( )

◆ upperPoint()

gp_Pnt2d tigl::CControlSurfaceBorderBuilder::upperPoint ( )

◆ upperTangent()

gp_Vec2d tigl::CControlSurfaceBorderBuilder::upperTangent ( )

◆ wholeWingBorder()

TopoDS_Wire tigl::CControlSurfaceBorderBuilder::wholeWingBorder ( )

Computes a border that spans the whole wing, i.e. for canard style flaps.

Returns

Field Documentation

◆ _coords

const CTiglControlSurfaceBorderCoordinateSystem& tigl::CControlSurfaceBorderBuilder::_coords
private

◆ _loTan2d

gp_Vec2d tigl::CControlSurfaceBorderBuilder::_loTan2d
private

◆ _lp2d

gp_Pnt2d tigl::CControlSurfaceBorderBuilder::_lp2d
private

◆ _up2d

gp_Pnt2d tigl::CControlSurfaceBorderBuilder::_up2d
private

◆ _upTan2d

gp_Vec2d tigl::CControlSurfaceBorderBuilder::_upTan2d
private

◆ _wingShape

TopoDS_Shape tigl::CControlSurfaceBorderBuilder::_wingShape
private

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