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

#include <CTiglNACA4Calculator.h>

Public Member Functions

TIGL_EXPORT double camberline (double x) const
 Evaluate the camberline at parameter x, where x is between 0 and 1.
TIGL_EXPORT CTiglNACA4Calculator (const ::std::string &naca_code, const double te_thickness)
TIGL_EXPORT CTiglNACA4Calculator (double max_camber, double max_camber_position, double max_profile_thickness, double trailing_edge_thickness=0)
 Construct a new CTiglNACA4Calculator object.
TIGL_EXPORT double get_trailing_edge_thickness () const
 getter for the trailing edge thickness
TIGL_EXPORT Handle (Geom_BSplineCurve) lower_bspline() const
TIGL_EXPORT Handle (Geom_BSplineCurve) upper_bspline() const
TIGL_EXPORT gp_Vec2d lower_curve (double x) const
 Evaluate the upper curve given a parameter x between 0 and 1.
TIGL_EXPORT double profile_thickness (double x) const
 Calculate the local thickness of the profile given a parameter x with values between 0 and 1.
TIGL_EXPORT gp_Vec2d upper_curve (double x) const
 Evaluate the upper curve given a parameter x between 0 and 1.

Private Member Functions

double camberline_derivative (double x) const
 Calculate the derivative of the camberline.
gp_Vec2d normal (double x) const
 Evaluate the camberline normal at parameter x, where x can take values between 0 and 1.

Private Attributes

double max_camber
double max_camber_position
double max_profile_thickness
double trailing_edge_thickness_half

Constructor & Destructor Documentation

◆ CTiglNACA4Calculator() [1/2]

TIGL_EXPORT tigl::CTiglNACA4Calculator::CTiglNACA4Calculator ( double max_camber,
double max_camber_position,
double max_profile_thickness,
double trailing_edge_thickness = 0 )

Construct a new CTiglNACA4Calculator object.

Parameters
max_camber
max_camber_position
max_profile_thickness

◆ CTiglNACA4Calculator() [2/2]

TIGL_EXPORT tigl::CTiglNACA4Calculator::CTiglNACA4Calculator ( const ::std::string & naca_code,
const double te_thickness )
explicit

Member Function Documentation

◆ camberline()

TIGL_EXPORT double tigl::CTiglNACA4Calculator::camberline ( double x) const

Evaluate the camberline at parameter x, where x is between 0 and 1.

Parameters
x
Returns
double

◆ camberline_derivative()

double tigl::CTiglNACA4Calculator::camberline_derivative ( double x) const
private

Calculate the derivative of the camberline.

Parameters
x
Returns
double

◆ get_trailing_edge_thickness()

TIGL_EXPORT double tigl::CTiglNACA4Calculator::get_trailing_edge_thickness ( ) const

getter for the trailing edge thickness

Returns
double

◆ Handle() [1/2]

TIGL_EXPORT tigl::CTiglNACA4Calculator::Handle ( Geom_BSplineCurve ) const

◆ Handle() [2/2]

TIGL_EXPORT tigl::CTiglNACA4Calculator::Handle ( Geom_BSplineCurve ) const

◆ lower_curve()

TIGL_EXPORT gp_Vec2d tigl::CTiglNACA4Calculator::lower_curve ( double x) const

Evaluate the upper curve given a parameter x between 0 and 1.

Parameters
x
Returns
gp_Vec2d

◆ normal()

gp_Vec2d tigl::CTiglNACA4Calculator::normal ( double x) const
private

Evaluate the camberline normal at parameter x, where x can take values between 0 and 1.

Parameters
x
Returns
gp_Vec2d

◆ profile_thickness()

TIGL_EXPORT double tigl::CTiglNACA4Calculator::profile_thickness ( double x) const

Calculate the local thickness of the profile given a parameter x with values between 0 and 1.

Parameters
x
Returns
double

◆ upper_curve()

TIGL_EXPORT gp_Vec2d tigl::CTiglNACA4Calculator::upper_curve ( double x) const

Evaluate the upper curve given a parameter x between 0 and 1.

Parameters
x
Returns
gp_Vec2d

Field Documentation

◆ max_camber

double tigl::CTiglNACA4Calculator::max_camber
private

◆ max_camber_position

double tigl::CTiglNACA4Calculator::max_camber_position
private

◆ max_profile_thickness

double tigl::CTiglNACA4Calculator::max_profile_thickness
private

◆ trailing_edge_thickness_half

double tigl::CTiglNACA4Calculator::trailing_edge_thickness_half
private

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