Closed merakulix closed 1 month ago
Attention: Patch coverage is 97.54601%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 70.19%. Comparing base (
a334bd3
) to head (571a2ef
). Report is 73 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/fuselage/CCPACSFuselageProfile.cpp | 94.73% | 4 Missing :warning: |
I updated the code to generate the profiles using the CFunctionToBSpline function. On my local machine unit-and integration tests ran successful.
Description
Implementing the rectangle profile type as an element of the CPACS standard profile type covers one part of issue #909 on parametric profile types. This approach is based on point lists (std::vector) for approximation of curves, since the lofting algorithms don't support rational B-Splines yet.
Changes in tiglcommonfunctions.* :
Added new global functions:
Changes in CCPACSFuselageProfile.* :
Added new member function
Changed member function:
How Has This Been Tested?
Added Unit Tests:
a circle profile with kinks and a rectangle profile with and without corner radius, as shown in the image below
circle profile, rectangle profile with and without corner radius given, and guide curves, as shown in the images below
Checklist: