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

Removed Curve and Surface into ExtendedMethods. #338

Merged
merged 2 commits into from Sep 7, 2021

Conversation

sonomirco
Copy link
Collaborator

@sonomirco sonomirco commented Sep 7, 2021

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🔖 Release
  • 🚩 Other

Description

This PR removed the Curve and Surface classes into ExtendedMethods.

Related Tickets & Documents

This PR closes #329
This PR closes #330

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📓 docs
  • 🙅 no documentation needed

@sonomirco sonomirco added the refactor 🧰 Pull requests that perform maintenance on the project but add no features or bug fixes. label Sep 7, 2021
@sonomirco sonomirco self-assigned this Sep 7, 2021
@sonomirco sonomirco added this to In progress in Curve via automation Sep 7, 2021
/// <summary>
/// The curves are brought to a common degree and knots.
/// </summary>
internal static IList<NurbsCurve> HomogenizedCurves(IList<NurbsCurve> copyCurves)
Copy link
Collaborator

@d3ssy d3ssy Sep 7, 2021

Choose a reason for hiding this comment

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

  • HomogenizeCurves()
  • why "copyCurves"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it not be useful to have this split into NormaliseDegree(curves) and NormaliseKnots(curves)?

{

/// <summary>
/// The curves are brought to a common degree and knots.
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • Elevates degree of all curves to highest degree among all curves.
  • Normalises knot vectors of all curves to the same domain.

@sonomirco sonomirco merged commit 7801b0a into develop Sep 7, 2021
Curve automation moved this from In progress to Done Sep 7, 2021
@sonomirco sonomirco deleted the dev/mibi/remove-extended-methods branch September 9, 2021 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor 🧰 Pull requests that perform maintenance on the project but add no features or bug fixes.
Projects
Curve
Done
Development

Successfully merging this pull request may close these issues.

Remove Surface ExtendedMethod Remove Curve ExtendedMethod.
3 participants