-
Notifications
You must be signed in to change notification settings - Fork 39
ArborX::intersects
Damien L-G edited this page May 9, 2020
·
1 revision
template <typename Geometry>
KOKKOS_FUNCTION unspecified intersects(Geometry const& geometry) noexcept;
Generate a spatial predicate to perform a search with ArborX::BVH<MemorySpace>::query()
.
Geometry
: The geometry type, e.g. ArborX::Point
, ArborX::Box
, or ArborX::Sphere
.
geometry
: The geometry object.
auto intersects_with_unit_sphere_pred = ArborX::intersects(ArborX::Sphere{{{0, 0, 0}}, 1});