Evaluation of linear segment length and local curvature radius along airfoil leading and trailing edges