Closed kennyweiss closed 2 years ago
@kennyweiss, since we do not get have access to the "custom high order mesh", it would be cleaner if they just use our spatial acceleration data-structures to prune their search, which takes the supplied bounding boxes, which they will be computing.
As I mentioned earlier, I am planning to do this for the BVH, which is also needed for the probe package.
Thanks @gzagaris -- that is exactly what I had in mind.
I think the BVH will be a great fit for their needs.
So, are you claiming this ticket?
@rhornung67 -- the bulk of this issue was resolved in #177 (~March 2020).
Based on the comments there, we kept this issue open in case we needed a Fortran interface for the Ray-BBox intersection query. Since this hasn't been requested since then, I'm closing this issue. We can create a new issue if needed.
A user has requested a new spatial query to find a set of candidate elements from a mesh whose
BoundingBox
es intersect a givenRay
.Request Details
Available functionality
spin
component provides several spatial indices that can be built over a collection of axis-aligned bounding boxes. E.g. BVH tree, ImplicitGrid, ...primal
already has an algorithm to determine if aRay
intersects an axis-alignedBoundingBox
https://github.com/LLNL/axom/blob/975fc516e6b4dfd4bb82f9c8495db90a7150f8fc/src/axom/primal/operators/intersect.hpp#L77-L88Missing functionality
Ray
. This will have to be implemented to satisfy this request.quest_inout
andquest_signed_distance
API