Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve: Enable to use more than 3 wing guide curves #748

Merged
merged 36 commits into from Oct 15, 2020

Conversation

rainman110
Copy link
Collaborator

@rainman110 rainman110 commented Oct 9, 2020

This PR enables to use more than 3 guide curves with TiGL.

Description

Several issues had been addressed:

  • Correctly detect upper and lower wing surfaces
  • Added algorithm to concate surfaces
  • Concat all upper / lower surfaces of a wing segment, that is used for the get point methods and others as well.

How Has This Been Tested?

TODO: We still need a test example.xml file, that demonstrates the functionality. We might use the FFD or another aircraft.

Screenshots, that help to understand the changes(if applicable):

GetPointMultipleGuideCurves

Checklist:

  • A test for the new functionality was added.
  • All tests run without failure.
  • The new code complies with the TiGL style guide.
  • New classes have been added to the Python interface.
  • API changes were documented properly in tigl.h.

@codecov-io
Copy link

codecov-io commented Oct 9, 2020

Codecov Report

Merging #748 into master will increase coverage by 0.41%.
The diff coverage is 96.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #748      +/-   ##
==========================================
+ Coverage   69.00%   69.42%   +0.41%     
==========================================
  Files         423      425       +2     
  Lines       23177    23339     +162     
==========================================
+ Hits        15994    16202     +208     
+ Misses       7183     7137      -46     
Impacted Files Coverage Δ
src/geometry/CTiglBSplineAlgorithms.h 100.00% <ø> (ø)
src/wing/CTiglWingBuilder.cpp 90.90% <89.18%> (+23.74%) ⬆️
src/geometry/CTiglConcatSurfaces.cpp 92.85% <92.85%> (ø)
src/wing/CCPACSWing.cpp 80.43% <95.00%> (+0.51%) ⬆️
src/wing/CCPACSWingSegment.cpp 81.13% <97.05%> (+0.51%) ⬆️
src/common/tiglcommonfunctions.h 100.00% <100.00%> (ø)
src/geometry/CTiglBSplineAlgorithms.cpp 96.49% <100.00%> (+0.99%) ⬆️
src/geometry/CTiglConcatSurfaces.h 100.00% <100.00%> (ø)
src/geometry/CTiglGordonSurfaceBuilder.cpp 94.00% <100.00%> (ø)
src/geometry/CTiglTransformation.cpp 79.04% <100.00%> (+0.63%) ⬆️
... and 11 more

@rainman110 rainman110 marked this pull request as ready for review October 12, 2020 20:49
@rainman110
Copy link
Collaborator Author

@joergbrech I know this PR is plenty of code, but could you have a look to it?

@joergbrech joergbrech self-requested a review October 13, 2020 15:09
Copy link
Contributor

@joergbrech joergbrech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I still have a few small comments. What exactly is the purpose of approximating the input surfaces for the concatenation?

src/geometry/CTiglBSplineAlgorithms.cpp Outdated Show resolved Hide resolved
src/geometry/CTiglBSplineAlgorithms.cpp Show resolved Hide resolved
src/geometry/CTiglBSplineAlgorithms.h Outdated Show resolved Hide resolved
src/geometry/CTiglConcatSurfaces.h Outdated Show resolved Hide resolved
src/geometry/CTiglTransformation.h Outdated Show resolved Hide resolved
src/wing/CTiglWingBuilder.cpp Outdated Show resolved Hide resolved
src/wing/CTiglWingBuilder.cpp Outdated Show resolved Hide resolved
src/wing/CTiglWingBuilder.cpp Outdated Show resolved Hide resolved
src/wing/CTiglWingBuilder.cpp Outdated Show resolved Hide resolved
src/wing/CTiglWingBuilder.cpp Show resolved Hide resolved
@rainman110
Copy link
Collaborator Author

@joergbrech All actions should be addressed now.

I rebased finally onto master to be able to merge.

@joergbrech
Copy link
Contributor

Awesome! LGTM

@joergbrech joergbrech merged commit b0ca5e6 into master Oct 15, 2020
@rainman110 rainman110 deleted the 687_fix_wing_guide_curves branch October 15, 2020 14:23
@rainman110 rainman110 added this to In progress in TiGL 3.2 via automation Oct 19, 2020
@rainman110 rainman110 moved this from In progress to Done in TiGL 3.2 Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
TiGL 3.2
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants