Conversation
|
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/270/ |
|
Jenkins: OGS-6/Win-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Win-PRs/200/ |
cf9e1a2 to
1e66f6b
Compare
|
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/272/ |
There was a problem hiding this comment.
Without repeating the algorithm an AABB could be used here.
There was a problem hiding this comment.
I do not see how the AABB can help at this place. Here a special AABB is computed - a cube. The input points ll and ur needs not to describe a cube.
There was a problem hiding this comment.
I missed the cube part. Thanks.
|
Jenkins: OGS-6/Win-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Win-PRs/202/ |
There was a problem hiding this comment.
The return type could be a boost::optional if not too difficult to change.
The input could be a reference to a point.
1e66f6b to
4b2564a
Compare
|
Summary before weekend:
|
|
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/274/ |
|
Jenkins: OGS-6/Win-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Win-PRs/204/ |
There was a problem hiding this comment.
why static? should we share the same epsilon for all Octree objects?
There was a problem hiding this comment.
Good point. On the one hand I want only one epsilon (stored once) for one OctTree. On the other hand different OctTrees can and should have different epsilon. I am thinking of a good solution. Do you (or somebody else) have any suggestions how to solve this issue?
There was a problem hiding this comment.
Changed from class variable to class member variable. I also changed the handling of the number of maximal points per OctTree node from a static variable to a template parameter. So it is possible to have for each OctTree it is own value.
|
@endJunction wrote:
The @endJunction wrote:
If the @endJunction Please let me know if the answers are okay for you. |
4b2564a to
b3c733e
Compare
|
Jenkins: OGS-6/Linux-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Linux-PRs/277/ |
|
Jenkins: OGS-6/Win-PRs failed: https://svn.ufz.de:8443/job/OGS-6/job/Win-PRs/207/ |
b3c733e to
427d9a2
Compare
|
Thanks Tom for clarifying the open questions. |
427d9a2 to
0b968ab
Compare
|
👍 |
0b968ab to
d2a423b
Compare
|
Rebased and added changelog entry. There are not any further source code changes. |
This PR contains a rework of class
OctTree, which will be used in another PR fixing some issues inGeoLib::GEOObjectthat is already in preparation (see branch GeoLibReworkMergingGeometries). Also in this PR a tests forOctTreeare added.Maybe the
OctTreecan also be useful for other things like mesh node search?