-
Notifications
You must be signed in to change notification settings - Fork 14
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
Geometry_Engine: Singular Value Decomposition implemented and applied to FitLine #3280
Conversation
@BHoMBot check required |
@pawelbaran to confirm, the following actions are now queued:
|
@BHoMBot check compliance |
@pawelbaran to confirm, the following actions are now queued:
|
FAO: @FraserGreenroyd The check they wish to have dispensation on is code-compliance. If you are providing dispensation on this occasion, please reply with:
|
1 similar comment
FAO: @FraserGreenroyd The check they wish to have dispensation on is code-compliance. If you are providing dispensation on this occasion, please reply with:
|
@BHoMBot check compliance |
@pawelbaran to confirm, the following actions are now queued:
|
FAO: @FraserGreenroyd The check they wish to have dispensation on is documentation-compliance. If you are providing dispensation on this occasion, please reply with:
|
@FraserGreenroyd I requested dispensation against document compliance because it seems to be a bug on the side of the bot. |
@BHoMBot check required |
@pawelbaran to confirm, the following actions are now queued:
There are 9 requests in the queue ahead of you. |
The check |
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.
I have run through the test scripts provided and scanned through the code and despite being overly maths heavy, not a lot seems out of place so happy to merge this to unblock #3283 and other work for this sprint.
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 21690575707 |
@FraserGreenroyd I have now provided a passing check on reference |
@BHoMBot check ready-to-merge |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: unit-tests |
@FraserGreenroyd I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results. |
FAO: @FraserGreenroyd The check they wish to have dispensation on is documentation-compliance. If you are providing dispensation on this occasion, please reply with:
|
@BHoMBot this is a DevOps instruction. I am authorising dispensation to be granted on check ref. 21691286837 |
@FraserGreenroyd I have now provided a passing check on reference |
Issues addressed by this PR
Closes #3278
Test files
General tests are available here
Edge cases covered here
Changelog
Additional comments
Issue originally raised by @peterjamesnugent, but he is still on leave, so adding @FraserGreenroyd and @albinber - please let it hang and leave it to the originator if not enough head space, no rush on this one 👍
EDIT: running into more and more issues with line fitting, I started gathering edge cases. I spent lots of effort trying to get them all covered using the existing analytical solution, but failed, which led me to rewrite
FitLine
method entirely by switching to numerical solution and adding an implementation of Singular Value Decomposition, inspired by this and that. Now the method is much more robust, which can be seen in the test files.A follow-up feature would be #3287.
tolerance
input to be removed fromFitLine
in a separate PR, see #3288.