-
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
Environment_Engine: Refactor of IsContaining and ElementsInSpace methods to Geometry and Analytical namespaces as appropriate #3203
Environment_Engine: Refactor of IsContaining and ElementsInSpace methods to Geometry and Analytical namespaces as appropriate #3203
Conversation
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.
Minor comments. Somehow I think this will escape needing versioning though which would be cool if so - but let's maybe run the check to be sure.
@BHoMBot check compliance |
@FraserGreenroyd to confirm, the following actions are now queued:
|
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.
Let's fix compliance before checking versioning though 😉
Otherwise from code review this all looks good and in line with what we discussed @enarhi so should be quick enough to settle out.
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 had a read through the code and raised a few questions as in the comments - hopefully they make sense, please shout if you prefer to grab a call instead of typing @enarhi 👍
@BHoMBot check compliance |
@enarhi to confirm, the following actions are now queued:
|
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.
Please don't hate me @enarhi, getting me to review geometry never ends up without comments 😃
@enarhi to confirm, the following actions are now queued:
|
@BHoMBot check versioning |
@enarhi to confirm, the following actions are now queued:
There are 16 requests in the queue ahead of you. |
@BHoMBot check compliance |
@enarhi to confirm, the following actions are now queued:
|
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.
Nice addition to the engine, glad we ironed out the potential bugs ahead of merging - thanks @enarhi!
@FraserGreenroyd is your change request still valid or can we proceed with merging? |
@BHoMBot check required |
@enarhi to confirm, the following actions are now queued:
|
The check |
The check |
The check |
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.
@FraserGreenroyd asked me to go through the test procedures for the IES and XML toolkits, including the new automated test procedures. None of the changes in this PR break any of the existing functionality and all of these tests pass, so I am happy to approve for this case.
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've reviewed the code and run a couple of test scripts. @Tom-Kingstone has run larger test procedures against dependent toolkits which required the IsContaining
method originally to ensure that functionality isn't broken which he's reporting is the case, so happy to approve for merge.
@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. |
@BHoMBot check ready-to-merge |
@FraserGreenroyd to confirm, the following actions are now queued:
There are 1 requests in the queue ahead of you. |
@BHoMBot check ready-to-merge |
@FraserGreenroyd to confirm, the following actions are now queued:
|
Issues addressed by this PR
Closes #3198 and #3199
Methods for IsContaining were added to Geometry_Engine, and the ElementsInSpace method was moved to analytical. Both now work off polylines and regions respectively to allow for wider usage outside of the Environment_Engine.
Test files
Test Script