You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Hello all,
I am not sure, if I like this changes:
Assume we have the following multiplicity vector (for an open-knotvector): (4 1 3 1 4). Then using the new degreeDecrease(1) gives us (3 1 2 1 3) right?
Anyway, I would expect from using degreeDecrease that it returns (3 1 3 1 3), even when the knotvector is "discontinuous".
But I am open what you think.
Greetings
Pascal
The reason will be displayed to describe this comment to others. Learn more.
Hi Pascal, the problem was when decreasing from (4 1 3 1 4), using degreeDecrease(2), then one was getting (2 1 3 1 2) which is actually an invalid knot vector.
One possibility is to also have the old way by adding a boolean flag, eg.degreeDecrease(int i, bool updateInterior), so that we can get both results.
But I would still keep the default value to "true", to avoid invalid knotvectors. What do you think ?
e60d9e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello all,
I am not sure, if I like this changes:
Assume we have the following multiplicity vector (for an open-knotvector): (4 1 3 1 4). Then using the new degreeDecrease(1) gives us (3 1 2 1 3) right?
Anyway, I would expect from using degreeDecrease that it returns (3 1 3 1 3), even when the knotvector is "discontinuous".
But I am open what you think.
Greetings
Pascal
e60d9e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Pascal, the problem was when decreasing from (4 1 3 1 4), using degreeDecrease(2), then one was getting (2 1 3 1 2) which is actually an invalid knot vector.
One possibility is to also have the old way by adding a boolean flag, eg.degreeDecrease(int i, bool updateInterior), so that we can get both results.
But I would still keep the default value to "true", to avoid invalid knotvectors. What do you think ?