Skip to content

ArborX::intersects

Damien L-G edited this page May 9, 2020 · 1 revision

ArborX / Predicates

ArborX::intersects

template <typename Geometry>
KOKKOS_FUNCTION unspecified intersects(Geometry const& geometry) noexcept;

Generate a spatial predicate to perform a search with ArborX::BVH<MemorySpace>::query().

Template parameter(s)

Geometry : The geometry type, e.g. ArborX::Point, ArborX::Box, or ArborX::Sphere.

Parameter(s)

geometry : The geometry object.

Example

auto intersects_with_unit_sphere_pred = ArborX::intersects(ArborX::Sphere{{{0, 0, 0}}, 1});