bladex.profilebase.ProfileBase.compute_chord_line

ProfileBase.compute_chord_line(n_interpolated_points=None)[source]

Compute the 2D coordinates of the chord line. Also updates the chord_line class member.

The chord line is the straight line that joins between the leading edge and the trailing edge. It is simply computed from the equation of a line passing through two points, the LE and TE.

Parameters:n_interpolated_points (int) – number of points to be used for the equally-spaced sample computations. If None then there is no interpolation, unless the arrays x_up != x_down elementwise which implies that the corresponding y_up and y_down can not be comparable, hence a uniform interpolation is required. Default value is None